:root {
  --muted-navy: #2F3E4E; /* Accent colour for Accounting */
  --taupe: #857A7A;
  --offwhite: #F5F3ED;
  --warm: #E9DCD6;
  --coral: #E76F51;

  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 22px 50px rgba(47,62,78,.16);
  --shadow-soft: 0 14px 34px rgba(47,62,78,.12);
  --border: 1px solid rgba(133,122,122,.26);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--offwhite);
  color: var(--taupe);
  line-height: 1.55;
}
.container { width: min(1140px, calc(100% - 44px)); margin: 0 auto; }

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(245,243,237,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(133,122,122,.18); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; user-select: none; }
.brand__mark { width: 10px; height: 10px; border-radius: 999px; background: var(--muted-navy); box-shadow: 0 0 0 4px rgba(47,62,78,.16); }
.brand__name { font-weight: 650; letter-spacing: .2px; color: var(--muted-navy); }
.nav { display: flex; gap: 14px; align-items: center; }
.nav a { text-decoration: none; color: rgba(133,122,122,.95); font-weight: 520; font-size: 14px; padding: 8px 10px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(233,220,214,.7); color: var(--muted-navy); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 12px 16px; font-weight: 700; letter-spacing: .2px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--small { padding: 10px 14px; font-size: 13px; }
.btn--full { width: 100%; }
.btn--primary { background: var(--muted-navy); color: var(--offwhite); box-shadow: var(--shadow); }
.btn--primary:hover { box-shadow: 0 18px 40px rgba(47,62,78,.28); }
.btn--accent { background: var(--muted-navy); color: #fff; }
.btn--secondary { background: transparent; border-color: rgba(47,62,78,.55); color: var(--muted-navy); }
.btn--secondary:hover { background: rgba(47,62,78,.10); border-color: rgba(47,62,78,.75); }

/* Hero */
.hero { position: relative; padding: 54px 0 18px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: start; }
@media(max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }
.kicker { display: inline-flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 999px; background: rgba(233,220,214,.62); border: 1px solid rgba(133,122,122,.18); color: rgba(133,122,122,.95); font-size: 13px; font-weight: 560; }
.kicker__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--muted-navy); box-shadow: 0 0 0 4px rgba(47,62,78,.16); }
.hero__context { margin: 14px 0 6px; max-width: 72ch; color: rgba(133,122,122,.98); font-size: 15px; font-weight: 500; }
.hero__context strong { color: var(--muted-navy); font-weight: 700; }
.hero__title { margin: 10px 0 10px; color: var(--muted-navy); font-weight: 800; letter-spacing: -0.6px; line-height: 1.06; font-size: clamp(36px, 5vw, 56px); }
.hero__slides { margin-top: 10px; min-height: 72px; position: relative; }
.hero__slide { margin: 0; color: rgba(133,122,122,.98); font-size: 16px; max-width: 60ch; opacity: 0; transform: translateY(8px); transition: opacity .55s ease, transform .55s ease; position: absolute; inset: 0; }
.hero__slide.is-active { opacity: 1; transform: translateY(0); position: relative; }
.hero__stats { display: flex; gap: 12px; margin-top: 24px; }
.stat { flex: 1; background: var(--offwhite); border-radius: var(--radius); padding: 12px 18px; box-shadow: var(--shadow-soft); text-align: center; }
.stat__value { font-weight: 700; color: var(--muted-navy); font-size: 16px; margin-bottom: 4px; }
.stat__label { font-weight: 500; color: var(--taupe); font-size: 13px; }/* Cards */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media(max-width: 980px) { .cards--3, .cards--2 { grid-template-columns: 1fr; } }

.card, .case-card {
  background: var(--offwhite);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover, .case-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(47,62,78,.22); }

.card__tag, .case-card__tag { display: inline-block; font-weight: 600; font-size: 12px; color: var(--muted-navy); margin-bottom: 6px; }
.card__title, .case-card h3 { font-weight: 700; color: var(--muted-navy); margin: 6px 0; }
.card__sub, .case-card__sub { color: var(--taupe); font-size: 14px; margin-bottom: 8px; }
.case-card__outcome { font-weight: 600; font-size: 13px; color: var(--muted-navy); margin-top: 10px; }

/* Roles and Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 13px; background: var(--warm); border: 1px solid rgba(133,122,122,.18); cursor: pointer; transition: all .2s ease; }
.chip.is-active { background: var(--muted-navy); color: var(--offwhite); border-color: var(--muted-navy); }
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; }
.role-card { background: var(--offwhite); padding: 14px; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); transition: transform .15s ease; }
.role-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(47,62,78,.22); }
.role-card__title { font-weight: 700; color: var(--muted-navy); margin-bottom: 4px; }
.role-card__meta { font-size: 13px; color: var(--taupe); }

/* Timeline / Process */
.timeline { display: grid; gap: 16px; margin-top: 20px; }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step__num { font-weight: 800; font-size: 18px; color: var(--offwhite); background: var(--muted-navy); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 999px; flex-shrink: 0; }
.step__title { font-weight: 700; color: var(--muted-navy); font-size: 15px; }
.step__text { font-size: 14px; color: var(--taupe); }

/* Footer */
.footer { background: var(--muted-navy); color: var(--offwhite); padding: 24px 0; }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__links a { color: var(--offwhite); text-decoration: none; margin-right: 12px; font-size: 13px; }
.footer__links a:hover { text-decoration: underline; }

/* Panels */
.panel { border-radius: var(--radius); padding: 18px; background: var(--offwhite); box-shadow: var(--shadow-soft); margin-top: 18px; }
.panel--glass { background: rgba(245,243,237,.92); backdrop-filter: blur(6px); border: 1px solid rgba(133,122,122,.18); }

/* Responsive */
@media(max-width: 600px){
  .hero__grid { grid-template-columns: 1fr; }
  .cards--3, .cards--2 { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
}
