/* ===== DESIGN TOKENS ===== */
:root{
  --navy:#101F33;
  --navy-2:#1B2F49;
  --ivory:#F7F4EC;
  --paper:#FCFBF7;
  --sage:#8FA189;
  --sage-line:#D8D2C0;
  --red:#C0392B;
  --red-dark:#96291D;
  --text:#1B2229;
  --text-soft:#5B6470;
  --line:#DCD6C4;
  --radius:3px;
  --shadow:0 1px 2px rgba(16,31,51,.06);
  --container:1240px;
  --fast:.18s ease;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--text);
  font-family:'IBM Plex Sans', sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-align:justify;
}
p, li, blockquote{ text-align:justify; text-align-last:left; }
h1,h2,h3,h4{
  font-family:'Fraunces', serif;
  font-weight:500;
  color:var(--navy);
  margin:0;
  letter-spacing:-.01em;
  text-align:left;
}
a{color:inherit;}
img{max-width:100%; display:block;}
.wrap{max-width:var(--container); margin:0 auto; padding:0 32px;}
.rule{border:none; border-top:1px solid var(--line); margin:0;}
:focus-visible{ outline:2.5px solid var(--red); outline-offset:2px; }

/* ===== UTILITY BAR ===== */
.utility-bar{
  background:var(--navy); color:#C9D2DD; font-size:13.5px;
}
.utility-inner{
  max-width:var(--container); margin:0 auto; padding:9px 32px;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
}
.utility-left{ display:flex; gap:26px; flex-wrap:wrap; }
.utility-left span{ display:inline-flex; align-items:center; gap:7px; }
.utility-left a{ text-decoration:none; color:inherit; }
.utility-left a:hover{ color:#fff; }
.utility-right a{ text-decoration:none; color:inherit; display:inline-flex; align-items:center; gap:6px; }
.utility-right a:hover{ color:#fff; }
.icon{ width:14px; height:14px; flex-shrink:0; opacity:.85; }
@media(max-width:760px){ .utility-left span:nth-child(3){ display:none; } }
@media(max-width:560px){ .utility-inner{ font-size:12.5px; } .utility-left span:nth-child(2){ display:none; } }

/* ===== HEADER ===== */
header{
  position:sticky; top:0; z-index:60;
  background:var(--paper);
  border-bottom:1px solid var(--line);
}
.header-inner{
  max-width:var(--container); margin:0 auto; padding:16px 32px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  position:relative;
}
.logo{ display:flex; align-items:center; gap:11px; text-decoration:none; }
.logo img{ height:52px; width:auto; display:block; }
.logo.logo-dark{ height:auto; }
.logo .mark{ width:38px; height:38px; flex-shrink:0; }
.logo .word{ display:flex; flex-direction:column; line-height:1.1; }
.logo .word b{ font-family:'Fraunces',serif; font-size:19px; font-weight:600; color:var(--navy); letter-spacing:.01em; }
.logo .word b em{ color:var(--red); font-style:normal; }
.logo .word small{ font-size:9.5px; letter-spacing:.09em; color:var(--text-soft); text-transform:uppercase; margin-top:1px; }

nav.main-nav > ul{ list-style:none; display:flex; gap:30px; margin:0; padding:0; font-size:14.5px; align-items:center; }
nav.main-nav a{ text-decoration:none; color:var(--navy); position:relative; padding:6px 0; }
nav.main-nav a:hover{ color:var(--red); }
nav.main-nav a[aria-current="page"]{ color:var(--red); }
nav.main-nav a[aria-current="page"]::after{
  content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px; background:var(--red);
}
.has-drop{ position:relative; }
.drop{
  list-style:none; margin:0; padding:8px; position:absolute; top:100%; left:-14px;
  background:var(--paper); border:1px solid var(--line); box-shadow:0 8px 24px rgba(16,31,51,.1);
  min-width:190px; opacity:0; visibility:hidden; transform:translateY(4px);
  transition:opacity var(--fast), transform var(--fast), visibility var(--fast);
}
.drop.drop-wide{
  display:grid; grid-template-columns:repeat(2, minmax(180px, 1fr)); min-width:380px; gap:0 4px;
}
.has-drop:hover .drop, .has-drop:focus-within .drop{ opacity:1; visibility:visible; transform:translateY(0); }
.drop li a{ display:block; padding:9px 12px; font-size:14px; border-radius:2px; }
.drop li a:hover{ background:var(--ivory); }

.header-actions{ display:flex; align-items:center; gap:18px; }
.menu-btn{
  display:none; position:relative; width:42px; height:42px; flex-shrink:0;
  background:var(--navy); border:none; border-radius:2px; cursor:pointer;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.menu-btn .bar{ width:20px; height:2px; background:#fff; border-radius:1px; transition:transform .2s ease, opacity .2s ease; }
.menu-btn.open .bar:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-btn.open .bar:nth-child(2){ opacity:0; }
.menu-btn.open .bar:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
@media(max-width:920px){
  nav.main-nav{ display:none; }
  nav.main-nav.open{
    display:block; position:absolute; left:0; right:0; top:100%;
    background:var(--paper); border-bottom:1px solid var(--line); max-height:80vh; overflow:auto;
  }
  nav.main-nav.open ul{ flex-direction:column; gap:0; padding:6px 32px 18px; align-items:stretch; }
  nav.main-nav.open li{ border-bottom:1px solid var(--line); }
  nav.main-nav.open a{ display:block; padding:13px 0; }
  nav.main-nav.open .drop{ position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; padding:0 0 6px 12px; }
  nav.main-nav.open .drop.drop-wide{ display:block; min-width:0; }
  .menu-btn{ display:flex; }
  .header-actions{ display:none; }
  .header-inner{ padding:14px 20px; }
  .logo img{ height:40px; }
}
@media(max-width:420px){
  .utility-inner{ padding:8px 16px; }
}

.btn{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--red); color:#fff; padding:12px 20px; border-radius:var(--radius);
  text-decoration:none; font-size:14.5px; font-weight:500; border:1px solid var(--red);
  transition:background var(--fast), border-color var(--fast), transform var(--fast);
  white-space:nowrap;
}
.btn:hover{ background:var(--red-dark); border-color:var(--red-dark); }
.btn-ghost{ background:transparent; color:var(--navy); border:1px solid var(--navy); }
.btn-ghost:hover{ background:var(--navy); color:#fff; }
.btn-on-dark{ background:transparent; color:#fff; border:1px solid rgba(255,255,255,.5); }
.btn-on-dark:hover{ background:#fff; color:var(--navy); border-color:#fff; }
.arrow{ transition:transform var(--fast); }
.btn:hover .arrow{ transform:translateX(3px); }

/* ===== PAGE HERO (non-home) ===== */
.page-hero{ background:var(--ivory); border-bottom:1px solid var(--line); padding:44px 0 42px; }
.crumb{ font-size:13.5px; color:var(--text-soft); margin-bottom:16px; }
.crumb a{ text-decoration:none; color:var(--text-soft); }
.crumb a:hover{ color:var(--red); }
.page-hero h1{ font-size:clamp(30px,4vw,44px); max-width:20ch; }
.page-hero p.lede{ margin-top:14px; color:var(--text-soft); font-size:17px; max-width:58ch; }

/* ===== HOME HERO — full-bleed asymmetric layout ===== */
.hero{ background:var(--ivory); }
.hero-full{
  display:grid; grid-template-columns:1fr;
}
@media(min-width:960px){
  .hero-full{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:stretch; min-height:600px; }
}
.hero-text-col{ display:flex; align-items:center; padding:36px 32px 0; }
@media(min-width:960px){ .hero-text-col{ padding:64px 0; } }
.hero-text-inner{ max-width:560px; }
@media(min-width:960px){
  .hero-text-inner{ margin-left:max(32px, calc((100vw - var(--container)) / 2 + 32px)); padding-right:48px; }
}
.eyebrow{ font-size:13px; letter-spacing:.09em; text-transform:uppercase; color:var(--red); font-weight:600; margin-bottom:16px; }
.hero h1{ font-size:clamp(34px,5vw,52px); line-height:1.12; }
.hero h1 .accent{ color:var(--red); font-style:italic; font-weight:500; }
.hero p.lede{ margin-top:20px; font-size:17.5px; color:var(--text-soft); max-width:48ch; }
.hero-actions{ margin-top:30px; display:flex; gap:14px; flex-wrap:wrap; }
.hero-media-col{ position:relative; min-height:260px; order:-1; overflow:hidden; }
@media(min-width:960px){
  .hero-media-col{ min-height:0; order:0; }
  .hero-media-col::before{
    content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
    background:linear-gradient(to right, var(--ivory) 0%, rgba(247,244,236,.9) 12%, rgba(247,244,236,.55) 26%, rgba(247,244,236,0) 48%);
  }
}
.hero-media-col video{ width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
@media(min-width:960px){ .hero-media-col video{ position:absolute; inset:0; width:100%; height:100%; } }


/* trust strip */
.trust-strip{
  background:var(--navy); margin-top:56px;
}
.trust-inner{
  max-width:var(--container); margin:0 auto; padding:26px 32px;
  display:grid; grid-template-columns:repeat(2,1fr); gap:22px 28px;
}
@media(min-width:860px){ .trust-inner{ grid-template-columns:repeat(4,1fr); } }
.trust-item{ display:flex; align-items:center; gap:14px; color:#fff; }
.trust-item .ico{
  width:38px; height:38px; flex-shrink:0; border:1px solid rgba(255,255,255,.25);
  border-radius:2px; display:flex; align-items:center; justify-content:center; color:var(--red);
}
.trust-item .ico svg{ width:19px; height:19px; }
.trust-item b{ display:block; font-size:14.5px; font-weight:600; }
.trust-item span{ display:block; font-size:12.5px; color:#B9C3D0; margin-top:2px; }

/* ===== SECTIONS ===== */
.pad{ padding:72px 0; }
.section-head{ text-align:left; max-width:64ch; margin-bottom:40px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center h2{ text-align:center; }
.section-head h2{ font-size:clamp(26px,3.2vw,36px); margin-top:10px; }
.section-head p{ margin-top:12px; color:var(--text-soft); font-size:16px; }

/* service cards */
.grid-6{ display:grid; grid-template-columns:1fr; gap:1px; background:var(--line); border:1px solid var(--line); }
@media(min-width:640px){ .grid-6{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1000px){ .grid-6{ grid-template-columns:repeat(3,1fr); } }
.service-card{
  background:var(--paper); display:flex; flex-direction:column;
  text-decoration:none; color:inherit; transition:background var(--fast), box-shadow var(--fast);
}
.service-card:hover{ background:var(--ivory); box-shadow:0 12px 26px rgba(16,31,51,.08); position:relative; z-index:1; }
.service-card-body{ padding:32px 26px; display:flex; flex-direction:column; gap:12px; flex:1; }
.ico-badge{
  width:54px; height:54px; border-radius:50%; background:var(--ivory);
  display:flex; align-items:center; justify-content:center; margin-bottom:6px;
  transition:background var(--fast), transform var(--fast);
}
.service-card:hover .ico-badge{ background:var(--red); transform:scale(1.05); }
.ico-badge .ico{ width:24px; height:24px; color:var(--red); transition:color var(--fast); }
.service-card:hover .ico-badge .ico{ color:#fff; }
.service-card h3{ font-size:19px; }
.service-card p{ color:var(--text-soft); font-size:14.5px; margin:0; flex:1; }
.service-card .link{ text-decoration:none; color:var(--navy); font-size:14px; font-weight:500; display:inline-flex; align-items:center; gap:6px; }
.service-card:hover .link{ color:var(--red); }
.simple-card{ background:var(--paper); padding:26px 24px; }
.simple-card h3{ font-size:17px; }
.simple-card p{ color:var(--text-soft); font-size:14px; margin:10px 0 0; }

/* video news card — video fills the whole card (same height as adjacent card), text sits on individual colour chips */
.video-news-card{
  position:relative; display:block; overflow:hidden; cursor:pointer;
  background:var(--navy); border:none; padding:0; text-align:left;
  transition:box-shadow var(--fast);
}
.video-news-card:hover{ box-shadow:0 14px 30px rgba(16,31,51,.25); }
.video-news-card video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.video-news-overlay{
  position:relative; z-index:1; height:100%; min-height:100%;
  display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-end; gap:7px;
  padding:20px 22px;
}
.vn-chip{
  display:inline-block; background:var(--navy); color:#fff;
  padding:5px 11px; border-radius:2px; max-width:100%;
}
.vn-eyebrow.vn-chip{
  display:inline-flex; align-items:center; gap:7px;
  font-size:11px; letter-spacing:.05em; text-transform:uppercase; font-weight:600; padding:6px 11px;
}
.vn-dot{ width:7px; height:7px; border-radius:50%; background:var(--red); animation:vnPulse 1.6s ease-in-out infinite; flex-shrink:0; }
@keyframes vnPulse{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.4; transform:scale(1.3); } }
@media (prefers-reduced-motion: reduce){ .vn-dot{ animation:none; } }
.vn-title.vn-chip{ font-family:'Fraunces',serif; font-size:20px; font-weight:500; line-height:1.2; }
.vn-desc.vn-chip{ font-size:13.5px; color:#D8DEE8; line-height:1.4; }
.vn-cta.vn-chip{ display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:500; margin-top:2px; }
.video-news-card:hover .vn-cta.vn-chip{ color:var(--red); }

/* why abacus (dark) */
.dark-section{ background:var(--navy); color:#EDEFF2; }
.dark-section .section-head h2, .dark-section h2{ color:#fff; }
.dark-section .section-head p{ color:#B9C3D0; }
.dark-grid{ display:grid; grid-template-columns:1fr; gap:0; margin-top:8px; }
@media(min-width:760px){ .dark-grid{ grid-template-columns:repeat(4,1fr); } }
.dark-item{ padding:22px 22px 22px 0; border-top:1px solid rgba(255,255,255,.14); }
@media(min-width:760px){ .dark-item{ border-top:none; border-right:1px solid rgba(255,255,255,.14); padding:0 22px; } .dark-item:last-child{ border-right:none; } .dark-item:first-child{ padding-left:0; } }
.dark-item .ico{ width:26px; height:26px; color:var(--red); margin-bottom:14px; }
.dark-item h3{ color:#fff; font-size:17px; }
.dark-item p{ color:#B9C3D0; font-size:14px; margin-top:8px; }

/* founder */
.founder{ display:grid; grid-template-columns:1fr; gap:44px; }
@media(min-width:880px){ .founder{ grid-template-columns:280px 1fr; } }
.founder-photo{
  width:100%; aspect-ratio:4/5; background:var(--ivory); border:1px solid var(--line);
  display:flex; align-items:flex-end; padding:16px; font-size:13px; color:var(--text-soft);
  overflow:hidden; position:relative;
}
.founder-photo img{ width:100%; height:100%; object-fit:cover; object-position:top center; }
.team-grid{ display:grid; grid-template-columns:1fr; gap:32px; }
@media(min-width:700px){ .team-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:980px){ .team-grid{ grid-template-columns:repeat(3,1fr); } }
.team-card{ border:1px solid var(--line); background:var(--paper); }
.team-card .photo{ aspect-ratio:1/1; overflow:hidden; background:var(--ivory); }
.team-card .photo img{ width:100%; height:100%; object-fit:cover; }
.team-card .body{ padding:20px; }
.team-card h3{ font-size:18px; }
.team-card .role{ color:var(--red); font-size:13px; font-weight:500; margin-top:4px; }
.team-card p{ font-size:14px; color:var(--text-soft); margin-top:10px; }
.founder-body h2{ font-size:26px; }
.founder-body .role{ color:var(--red); font-size:14px; font-weight:500; margin-top:6px; }
.founder-body p{ margin:16px 0 0; max-width:64ch; color:var(--text); }
.placeholder-tag{
  display:inline-block; margin-top:16px; font-size:12px; letter-spacing:.03em; color:var(--red);
  border:1px dashed var(--red); padding:5px 10px; border-radius:2px; background:rgba(192,57,43,.05);
}
.credential-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.credential-row span{
  font-size:12.5px; border:1px solid var(--line); padding:6px 10px; border-radius:2px; color:var(--text-soft);
}

/* industries */
.industry-grid{ display:grid; grid-template-columns:1fr; gap:24px; }
@media(min-width:760px){ .industry-grid{ grid-template-columns:1fr 1fr; } }
@media(min-width:1040px){ .industry-grid{ grid-template-columns:repeat(3,1fr); } }
.industry-card{
  background:var(--ivory); border:1px solid var(--line);
  display:flex; flex-direction:column; text-decoration:none; color:inherit;
  transition:box-shadow var(--fast);
}
.industry-card:hover{ box-shadow:0 12px 26px rgba(16,31,51,.08); }
.industry-thumb{ position:relative; aspect-ratio:700/262; overflow:hidden; border-bottom:1px solid var(--line); background:#fff; }
.industry-thumb::after{
  content:""; position:absolute; top:0; left:-60%; width:45%; height:100%;
  background:linear-gradient(75deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.85) 50%, rgba(255,255,255,0) 100%);
  transform:skewX(-20deg);
  animation:industryShine 4.5s ease-in-out infinite;
  pointer-events:none;
}
@keyframes industryShine{
  0%{ left:-60%; }
  16%{ left:130%; }
  100%{ left:130%; }
}
@media (prefers-reduced-motion: reduce){ .industry-thumb::after{ animation:none; display:none; } }
.industry-thumb img{ width:100%; height:100%; object-fit:contain; display:block; }
.industry-card-body{ padding:26px 28px 30px; display:flex; flex-direction:column; gap:12px; flex:1; }
.industry-card h3{ font-size:22px; }
.industry-card p{ color:var(--text-soft); font-size:15px; margin:0; flex:1; }
.industry-card .link{ text-decoration:none; color:var(--navy); font-size:14px; font-weight:500; display:inline-flex; align-items:center; gap:6px; }
.industry-card:hover .link{ color:var(--red); }

/* testimonials */
.testimonial-card{
  background:var(--paper); border:1px solid var(--line); padding:44px 60px; display:flex; flex-direction:column; gap:18px;
  box-sizing:border-box; min-width:100%;
}
.testimonial-card blockquote{ margin:0; font-family:'Fraunces',serif; font-style:italic; font-weight:400; font-size:19px; line-height:1.6; color:var(--navy); max-width:74ch; }
.testimonial-card cite{ font-style:normal; font-size:13.5px; color:var(--text-soft); }
.testimonial-person{ display:flex; align-items:center; gap:14px; }
.testimonial-person img{ width:56px; height:56px; border-radius:50%; object-fit:cover; object-position:center; flex-shrink:0; border:1px solid var(--line); }
.testimonial-avatar-fallback{ width:56px; height:56px; border-radius:50%; flex-shrink:0; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:600; font-size:20px; text-transform:uppercase; }
.testimonial-person .name{ font-weight:600; color:var(--navy); font-size:15.5px; }
.testimonial-person .role{ font-size:12.5px; color:var(--text-soft); margin-top:2px; }

/* full-width testimonial slider */
.testi-slider{ position:relative; max-width:100%; }
.testi-track{
  display:flex; transition:transform .55s cubic-bezier(.4,0,.2,1);
}
.testi-track .testimonial-card{ flex:0 0 100%; }
.testi-dots{ display:flex; justify-content:center; gap:8px; margin-top:22px; }
.testi-dots button{
  width:9px; height:9px; border-radius:50%; border:none; background:var(--sage-line);
  cursor:pointer; padding:0; transition:background var(--fast), transform var(--fast);
}
.testi-dots button.active{ background:var(--red); transform:scale(1.2); }
.testi-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:42px; height:42px; border-radius:50%; border:1px solid var(--line); background:var(--paper);
  color:var(--navy); font-size:20px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background var(--fast), color var(--fast), border-color var(--fast);
}
.testi-arrow:hover{ background:var(--navy); color:#fff; border-color:var(--navy); }
.testi-prev{ left:-8px; }
.testi-next{ right:-8px; }
@media(min-width:860px){ .testi-prev{ left:-52px; } .testi-next{ right:-52px; } }

/* industry news (ACCA) */
/* industry news (ACCA) */
.news-modal-backdrop{
  position:fixed; inset:0; z-index:90; background:rgba(16,31,51,.55);
  display:flex; align-items:flex-start; justify-content:center;
  padding:5vh 20px; overflow-y:auto;
  opacity:0; visibility:hidden; transition:opacity .3s ease, visibility .3s ease;
  backdrop-filter:blur(2px);
}
.news-modal-backdrop.open{ opacity:1; visibility:visible; }
.news-modal{
  background:var(--paper); width:100%; max-width:920px; padding:34px;
  border-top:4px solid var(--red);
  transform:translateY(-24px) scale(.97); opacity:0;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
}
.news-modal-backdrop.open .news-modal{ transform:translateY(0) scale(1); opacity:1; }
.news-modal-head{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:20px; }
.news-modal-head button{ background:var(--ivory); border:1px solid var(--line); border-radius:50%; width:34px; height:34px; display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--text-soft); flex-shrink:0; }
.news-modal-head button svg{ width:16px; height:16px; }
.news-modal-head button:hover{ color:var(--red); border-color:var(--red); }
.news-grid-modal{ max-height:52vh; overflow-y:auto; padding-right:4px; }
@media(max-width:600px){ .news-modal{ padding:22px; } }

.news-source-strip{
  display:flex; align-items:center; gap:14px; background:var(--ivory); border:1px solid var(--line);
  padding:16px 20px; margin-bottom:34px;
}
.news-source-strip .ico{ width:30px; height:30px; color:var(--red); flex-shrink:0; }
.news-source-strip b{ display:block; color:var(--navy); font-size:14.5px; }
.news-source-strip span{ display:block; font-size:13px; color:var(--text-soft); margin-top:2px; }
.news-grid{ display:grid; grid-template-columns:1fr; gap:20px; }
@media(min-width:760px){ .news-grid{ grid-template-columns:repeat(2,1fr); } }
.news-card{
  display:block; text-decoration:none; background:var(--paper); border:1px solid var(--line);
  padding:26px; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.news-card:hover{ transform:translateY(-3px); box-shadow:0 12px 26px rgba(16,31,51,.09); border-color:var(--red); }
.news-date{ font-size:12px; letter-spacing:.05em; text-transform:uppercase; color:var(--red); font-weight:600; }
.news-card h3{ font-size:17.5px; margin-top:10px; line-height:1.35; }
.news-card p{ font-size:14px; color:var(--text-soft); margin-top:10px; }
.news-link{ display:inline-flex; align-items:center; gap:6px; margin-top:14px; font-size:13.5px; font-weight:500; color:var(--navy); }
.news-card:hover .news-link{ color:var(--red); }

/* insights */
.insight-grid{ display:grid; grid-template-columns:1fr; gap:24px; }
@media(min-width:700px){ .insight-grid{ grid-template-columns:repeat(3,1fr); } }
.insight-card{
  border:1px solid var(--line); background:var(--paper);
  transition:transform .22s ease, box-shadow .22s ease, opacity .25s ease, filter .25s ease;
}
.insight-card:hover{ transform:translateY(-4px); box-shadow:0 14px 28px rgba(16,31,51,.1); }
.insight-card.is-hidden{ display:none; }
.insight-card.is-filtering-out{ opacity:0; transform:translateY(6px) scale(.98); }

/* filter bar */
.insight-filter-bar{
  display:flex; flex-wrap:wrap; gap:10px; margin-bottom:34px;
}
.filter-chip{
  font-family:'IBM Plex Sans'; font-size:13.5px; font-weight:500; color:var(--navy);
  background:var(--paper); border:1px solid var(--line); border-radius:100px;
  padding:8px 16px; cursor:pointer; transition:background var(--fast), color var(--fast), border-color var(--fast);
}
.filter-chip:hover{ border-color:var(--red); color:var(--red); }
.filter-chip.active{ background:var(--navy); border-color:var(--navy); color:#fff; }
.insight-search{
  display:flex; align-items:center; gap:10px; margin-bottom:22px; max-width:360px;
  border:1px solid var(--sage-line); background:var(--paper); padding:9px 14px; border-radius:2px;
}
.insight-search svg{ width:16px; height:16px; color:var(--text-soft); flex-shrink:0; }
.insight-search input{
  border:none; outline:none; font-family:'IBM Plex Sans'; font-size:14.5px; width:100%; background:transparent; color:var(--text);
}
.insight-empty{ display:none; padding:40px 0; text-align:center; color:var(--text-soft); font-size:15px; }
.insight-card .thumb{ aspect-ratio:16/10; background:var(--ivory); display:flex; align-items:center; justify-content:center; color:var(--text-soft); font-size:12.5px; border-bottom:1px solid var(--line); overflow:hidden; }
.thumb-icon{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:var(--ivory); }
.thumb-icon .ico{ width:44px; height:44px; color:var(--red); opacity:.85; }
.insight-card .thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.insight-card .body{ padding:20px; }
.insight-card .cat{ font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--red); font-weight:600; }
.insight-card h3{ font-size:17px; margin-top:8px; }
.insight-card p{ color:var(--text-soft); font-size:14px; margin-top:8px; }

/* final CTA */
.final-cta{ background:var(--navy); color:#fff; padding:70px 0; text-align:center; }
.final-cta h2{ text-align:center; }
.final-cta h2{ color:#fff; font-size:clamp(26px,3.6vw,38px); max-width:22ch; margin:0 auto; }
.final-cta .actions{ margin-top:28px; display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }

/* steps (how we work) */
.steps{ display:grid; grid-template-columns:1fr; gap:0; }
@media(min-width:760px){ .steps{ grid-template-columns:repeat(3,1fr); } }
.step{ padding:22px 0; border-top:1px solid var(--line); }
@media(min-width:760px){ .step{ border-top:none; border-right:1px solid var(--line); padding:0 24px; } .step:last-child{ border-right:none; } .step:first-child{ padding-left:0; } }
.step .num{ font-family:'Fraunces',serif; color:var(--red); font-size:14px; }
.step h3{ font-size:17px; margin-top:10px; }
.step p{ color:var(--text-soft); font-size:14px; margin-top:8px; }

/* FAQ */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item summary{
  cursor:pointer; padding:18px 0; font-family:'Fraunces',serif; font-size:17px; color:var(--navy);
  display:flex; justify-content:space-between; align-items:center; list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-size:20px; color:var(--red); transition:transform var(--fast); }
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item p{ padding:0 0 18px; color:var(--text-soft); max-width:64ch; }

/* generic body content */
.prose p{ margin:0 0 16px; max-width:66ch; color:var(--text); }
.prose ul{ margin:0 0 20px; padding-left:20px; max-width:62ch; }
.prose li{ margin-bottom:8px; }
.prose h2{ font-size:24px; margin:36px 0 14px; }
.prose h2:first-child{ margin-top:0; }

/* service detail layout */
.service-layout{ display:grid; grid-template-columns:1fr; gap:44px; }
@media(min-width:920px){ .service-layout{ grid-template-columns:1fr 300px; } }
.side-card{ background:var(--ivory); border:1px solid var(--line); padding:24px; height:fit-content; }
.side-card h3{ font-size:16.5px; margin-bottom:12px; }
.side-list{ list-style:none; margin:0 0 18px; padding:0; }
.side-list li{ border-bottom:1px solid var(--line); }
.side-list li a{ display:block; padding:10px 0; text-decoration:none; color:var(--text-soft); font-size:14.5px; }
.side-list li a:hover{ color:var(--red); }
.side-list li a[aria-current="page"]{ color:var(--red); font-weight:500; }
.side-card p{ font-size:14px; color:var(--text-soft); margin:0 0 16px; }

/* contact page */
.contact-grid{ display:grid; grid-template-columns:1fr; gap:44px; }
@media(min-width:900px){ .contact-grid{ grid-template-columns:1fr 1.1fr; } }
.info-line{ display:flex; gap:16px; padding:15px 0; border-bottom:1px solid var(--line); font-size:15px; }
.info-line .ico{ width:18px; height:18px; color:var(--red); flex-shrink:0; margin-top:2px; }
.info-line b{ display:block; font-size:12.5px; color:var(--text-soft); font-weight:500; text-transform:uppercase; letter-spacing:.04em; }
form{ display:flex; flex-direction:column; gap:16px; }
.form-row{ display:grid; grid-template-columns:1fr; gap:16px; }
@media(min-width:560px){ .form-row.two{ grid-template-columns:1fr 1fr; } }
label{ font-size:13.5px; color:var(--text-soft); display:block; margin-bottom:6px; }
input, textarea, select{
  width:100%; border:1px solid var(--sage-line); background:var(--paper);
  padding:11px 12px; font-family:'IBM Plex Sans'; font-size:15px; color:var(--text); border-radius:2px;
}
input:focus, textarea:focus, select:focus{ outline:2px solid var(--red); outline-offset:1px; }
textarea{ min-height:120px; resize:vertical; }
.form-note{ font-size:12.5px; color:var(--text-soft); }

/* map placeholder */
.map-box{
  aspect-ratio:16/9; background:var(--ivory); border:1px solid var(--line);
  margin-top:24px; overflow:hidden;
}
.map-box iframe{ width:100%; height:100%; border:0; display:block; }

/* 404 */
.error-page{ text-align:center; padding:120px 0; }
.error-page h1{ text-align:center; }
.error-page .code{ font-family:'Fraunces',serif; font-size:96px; color:var(--red); line-height:1; }
.error-page h1{ margin-top:12px; }
.error-page p{ color:var(--text-soft); margin-top:12px; }

/* cookie banner */
.cookie-banner{
  position:fixed; left:20px; right:20px; bottom:20px; z-index:80; max-width:520px;
  background:var(--navy); color:#fff; padding:20px 22px; border-radius:3px;
  box-shadow:0 12px 32px rgba(0,0,0,.25);
  display:none; gap:14px; flex-direction:column;
}
.cookie-banner.show{ display:flex; }
.cookie-banner p{ margin:0; font-size:13.5px; color:#C9D2DD; }
.cookie-banner .actions{ display:flex; gap:10px; }
.cookie-banner .btn-small{
  font-size:13px; padding:8px 14px; border-radius:2px; text-decoration:none; cursor:pointer; border:1px solid transparent;
}

/* footer */
footer{ background:var(--navy); color:#B9C3D0; padding:60px 0 24px; margin-top:0; }
.footer-grid{ display:grid; grid-template-columns:1fr; gap:32px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.12); }
@media(min-width:760px){ .footer-grid{ grid-template-columns:1.3fr 1fr 1fr; } }
@media(min-width:1040px){ .footer-grid{ grid-template-columns:1.6fr 1fr 1fr 1fr; } }
.footer-brand .logo .word b{ color:#fff; }
.footer-brand .logo .word small{ color:#8B96A5; }
.footer-brand p{ font-size:14px; margin-top:14px; max-width:34ch; color:#B9C3D0; }
footer h4{ color:#fff; font-family:'IBM Plex Sans'; font-size:13px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; font-weight:600; }
footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
footer a{ text-decoration:none; color:#B9C3D0; font-size:14.5px; }
footer a:hover{ color:#fff; }
.footer-bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; padding-top:22px; font-size:13px; color:#8B96A5; }
.footer-bottom a{ color:#8B96A5; }
.footer-bottom a:hover{ color:#fff; }
.legal-links{ display:flex; flex-direction:row; align-items:center; gap:14px; flex-wrap:nowrap; white-space:nowrap; list-style:none; margin:0; padding:0; }
.legal-links li.divider{ width:1px; height:14px; background:rgba(255,255,255,.2); }
.legal-links a{ display:inline-flex; align-items:center; gap:7px; }
.legal-links .ico{ width:14px; height:14px; flex-shrink:0; }
@media(max-width:560px){ .legal-links{ gap:10px; font-size:12px; } .legal-links li.divider{ height:12px; } }

/* footer secondary row: newsletter + social, given their own breathing room */
.footer-secondary{
  display:grid; grid-template-columns:1fr; gap:28px;
  padding:32px 0; margin-top:8px; border-bottom:1px solid rgba(255,255,255,.12);
}
@media(min-width:760px){ .footer-secondary{ grid-template-columns:1.3fr 1fr; align-items:start; } }
.footer-secondary h4{ margin-bottom:10px; }
.footer-newsletter-block p{ font-size:13.5px; color:#B9C3D0; margin:0 0 14px; max-width:38ch; }
.footer-newsletter{ display:flex; gap:10px; max-width:380px; }
.footer-newsletter input{
  flex:1; min-width:0; border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.06); color:#fff;
  padding:11px 14px; border-radius:2px; font-family:'IBM Plex Sans'; font-size:14px;
}
.footer-newsletter input::placeholder{ color:#8B96A5; }
.footer-newsletter input:focus{ outline:2px solid var(--red); outline-offset:1px; }

/* footer social + ACCA badge */
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.25);
  display:flex; align-items:center; justify-content:center; color:#B9C3D0;
  transition:background var(--fast), color var(--fast), border-color var(--fast);
}
.footer-social a svg{ width:16px; height:16px; }
.footer-social a:hover{ background:var(--red); border-color:var(--red); color:#fff; }
.footer-acca-badge{ display:flex; align-items:center; gap:12px; margin-top:20px; }
.badge-box{
  width:46px; height:46px; background:#fff; color:var(--navy); font-weight:700; font-size:11px;
  display:flex; align-items:center; justify-content:center; letter-spacing:.02em; flex-shrink:0;
}
.footer-acca-badge span{ font-size:12.5px; color:#B9C3D0; max-width:14ch; line-height:1.3; }

/* floating chat widget */
.chat-widget{ position:fixed; right:20px; bottom:20px; z-index:70; display:flex; flex-direction:column; align-items:flex-end; gap:14px; }
.chat-fab{
  width:56px; height:56px; border-radius:50%; background:var(--red); border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center; color:#fff;
  box-shadow:0 10px 24px rgba(192,57,43,.35); transition:transform var(--fast), background var(--fast);
}
.chat-fab:hover{ background:var(--red-dark); transform:scale(1.06); }
.chat-fab svg{ width:24px; height:24px; }
.chat-panel{
  position:absolute; right:0; bottom:70px; width:280px;
  background:var(--paper); border:1px solid var(--line); box-shadow:0 16px 40px rgba(16,31,51,.18);
  padding:18px; opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity var(--fast), transform var(--fast), visibility var(--fast);
}
.chat-panel.open{ opacity:1; visibility:visible; transform:translateY(0); }
.chat-panel-head{ display:flex; justify-content:space-between; align-items:center; font-family:'Fraunces',serif; font-size:16px; color:var(--navy); margin-bottom:8px; }
.chat-panel-head button{ background:none; border:none; cursor:pointer; color:var(--text-soft); padding:2px; }
.chat-panel-head button svg{ width:16px; height:16px; }
.chat-panel p{ font-size:13px; color:var(--text-soft); margin:0 0 14px; }
.chat-option{
  display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--navy);
  font-size:14px; padding:10px 0; border-top:1px solid var(--line);
}
.chat-option:first-of-type{ border-top:none; }
.chat-option svg{ width:17px; height:17px; color:var(--red); flex-shrink:0; }
.chat-option:hover{ color:var(--red); }
@media(max-width:480px){ .chat-panel{ width:calc(100vw - 40px); right:-4px; } }

/* animation: single orchestrated hero reveal, entrance for trust strip */
.reveal{ opacity:0; transform:translateY(10px); }
.reveal.in{ opacity:1; transform:translateY(0); transition:opacity .6s ease, transform .6s ease; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; }
  .hero-visual img{ animation:none; opacity:1; }
}
