:root{
  --bg:#ffffff;
  --paper:#f6f7f9;
  --text:#111111;
  --muted:#4a4a4a;
  --line:#e6e8eb;
  --accent:#0f5f8a;
  --accent2:#1a3a5f;
  --radius:18px;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --max: 1080px;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a{color:inherit}
a.link{color:var(--accent); text-decoration:none}
a.link:hover{text-decoration:underline}

.container{max-width: var(--max); margin: 0 auto; padding: 0 20px}
.narrow{max-width: 760px; margin: 0 auto}

.skip{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip:focus{left:20px; top:20px; width:auto; height:auto; padding:10px 12px; background:#fff; border:1px solid var(--line); border-radius:10px; z-index:9999}

header{
  position: sticky; top:0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.85);
  border-bottom: 1px solid var(--line);
}
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap: 14px;
}
.brand{
  display:flex; align-items:center; gap: 10px;
  text-decoration:none;
}
.mark{
  width:34px; height:34px; border-radius:10px;
  display:grid; place-items:center;
  background: var(--accent2);
  color:#fff; font-weight:800; letter-spacing:.5px;
  font-family: var(--serif);
}
.brand span{
  font-weight:700;
  letter-spacing:.2px;
}
.navlinks{
  display:flex; gap: 18px; align-items:center;
}
.navlinks a{
  text-decoration:none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.navlinks a:hover{color: var(--text)}
.cta{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  color: var(--text);
  background:#fff;
}
.cta.primary{
  background: var(--accent);
  border-color: var(--accent);
  color:#fff;
}
.cta:hover{transform: translateY(-1px)}
.cta:active{transform: translateY(0px)}

.hero{
  padding: 56px 0 26px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: stretch;
}
.badge{
  display:inline-flex; gap:8px; align-items:center;
  border:1px solid var(--line);
  border-radius:999px;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--muted);
  background:#fff;
}
h1,h2,h3{
  font-family: var(--serif);
  line-height:1.15;
  letter-spacing: .2px;
}
h1{font-size: clamp(34px, 4vw, 56px); margin: 14px 0 10px}
.lede{font-size: 18px; color: var(--muted); margin: 0 0 18px}
.hero-actions{display:flex; gap: 10px; flex-wrap:wrap; margin-top: 14px}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card{
  padding: 18px;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background:
    radial-gradient(1200px 400px at 20% 0%, rgba(15,95,138,.12), transparent 55%),
    radial-gradient(900px 300px at 100% 30%, rgba(26,58,95,.10), transparent 55%),
    #fff;
}
.hero-card .kpi{
  display:grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.kpi .box{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255,255,255,.7);
}
.kpi .num{
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 800;
}
.kpi .lbl{font-size: 13px; color: var(--muted)}

section{padding: 34px 0}
.section-title{
  display:flex; align-items:flex-end; justify-content:space-between; gap: 16px;
  margin-bottom: 16px;
}
.section-title p{margin:0;color:var(--muted)}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.service{
  padding: 16px;
}
.service .icon{
  width: 42px; height: 42px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(15,95,138,.12);
  border: 1px solid rgba(15,95,138,.18);
  color: var(--accent2);
  font-weight: 900;
}
.service h3{margin: 12px 0 6px; font-size: 22px}
.service p{margin: 0 0 12px; color: var(--muted)}
.service .meta{
  display:flex; gap: 10px; flex-wrap:wrap;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}
.pill{
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background:#fff;
}

.note{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--muted);
}

.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{margin: 6px 0}

.footer{
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
  font-size: 14px;
}
.footer .cols{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}
.footer a{color: var(--muted); text-decoration:none}
.footer a:hover{color: var(--text)}

.form{
  display:grid;
  gap: 10px;
}
input, textarea, select{
  width:100%;
  border:1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}
textarea{min-height: 140px}
button{
  cursor:pointer;
  border: 1px solid var(--accent);
  background: var(--accent);
  color:#fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 14px;
}
button.secondary{
  background:#fff;
  color: var(--text);
  border-color: var(--line);
}
small{color: var(--muted)}

.breadcrumb{color: var(--muted); font-size: 13px; margin-bottom: 10px}
.breadcrumb a{color: var(--muted); text-decoration:none}
.breadcrumb a:hover{color: var(--text)}


/* Responsive helpers */
img{max-width:100%; height:auto; display:block}
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Mobile menu */
.menu-btn{
  display:none;
  margin-left: 10px;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}
.menu-icon{
  display:block;
  width: 18px; height: 12px;
  margin: 0 auto;
  background:
    linear-gradient(var(--text), var(--text)) 0 0/100% 2px no-repeat,
    linear-gradient(var(--text), var(--text)) 0 50%/100% 2px no-repeat,
    linear-gradient(var(--text), var(--text)) 0 100%/100% 2px no-repeat;
}
.mobile-nav-wrap{
  position:fixed; inset:0;
  z-index: 60;
}
.mobile-nav-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.35);
}
.mobile-nav{
  position:absolute;
  right: 14px;
  top: 74px;
  width: min(320px, calc(100vw - 28px));
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.mobile-nav a{
  text-decoration:none;
  color: var(--text);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 12px;
}
.mobile-nav a:hover{background: var(--paper)}
.mobile-cta{margin-top: 6px}

@media (max-width: 860px){
  .hero-grid{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .navlinks{display:none}
  .menu-btn{display:inline-flex; align-items:center; justify-content:center}
  .header-row{gap: 10px}
  .cta.primary{display:none}
  h1{font-size: clamp(32px, 7vw, 44px)}
  h2{font-size: clamp(24px, 5vw, 32px)}
  .hero{padding-top: 36px}
  .container{padding-left: 16px; padding-right: 16px}
}

/* Hide Netlify honeypot field */
.hidden{display:none !important;}


/* ===== Scroll Reveal System ===== */
.section {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.22,1,0.36,1),
    transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}

.section.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.section.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.section.is-visible > *:nth-child(3) { transition-delay: 0.2s; }

/* ===== Section Colour Chapters ===== */
.section.hero { background: #ffffff; }
.section.sage { background: #eef4f1; }
.section.blue { background: #eef2f7; }
.section.sand { background: #f6f2eb; }
.section.lavender { background: #f1eef6; }

/* ===== Card Polish ===== */
.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* ===== Button Micro-interactions ===== */
button, .button {
  transition: background-color 0.2s ease, transform 0.1s ease;
}
button:active, .button:active {
  transform: scale(0.98);
}

/* ===== HERO LITE ===== */
.hero-lite {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-lite h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 38ch;
  margin-bottom: 1.5rem;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-chip {
  background: #f3f5f8;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  font-weight: 500;
  width: fit-content;
}

@media (max-width: 900px) {
  .hero-lite {
    grid-template-columns: 1fr;
  }
  .hero-right {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ===== SERVICES VISUAL ===== */
.services-visual h2 {
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.service-card .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
