:root {
  --bg: #f6f9ff;
  --bg-2: #edf3ff;
  --surface: #ffffff;
  --ink: #10233b;
  --ink-soft: #4b617d;
  --line: #d8e2f2;
  --brand: #1f4f93;
  --brand-2: #2f78d8;
  --brand-3: #89b6f7;
  --danger: #a42626;
  --success: #0f7a46;
  --radius: 18px;
  --shadow: 0 16px 36px rgba(16, 35, 59, 0.14);
  --shadow-soft: 0 8px 18px rgba(16, 35, 59, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 580px at -10% -10%, #eaf1ff 0%, transparent 62%),
    radial-gradient(900px 520px at 110% 0%, #dce9ff 0%, transparent 58%),
    linear-gradient(165deg, var(--bg) 0%, var(--bg-2) 100%);
}

body {
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "DM Serif Display", serif;
  line-height: 1.12;
  margin: 0 0 0.55em;
  color: #1b4268;
}

h1 {
  font-size: clamp(1.95rem, 3.1vw, 3.15rem);
  color: #173a61;
}

h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  color: #1d466f;
}

h3 {
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
  color: #265580;
}

p,
li,
td,
th,
label,
input,
textarea,
select,
small {
  line-height: 1.65;
}

a {
  color: #0f6c78;
  text-underline-offset: 3px;
}

a:hover {
  color: #0a515a;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(31, 79, 147, 0.1);
  background: rgba(248, 251, 255, 0.92);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #1a4d92 0%, #2f78d8 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 16px rgba(31, 79, 147, 0.16);
  flex: 0 0 auto;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  color: #16365d;
}

.brand-sub {
  font-size: 0.7rem;
  color: #537090;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(31, 79, 147, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 20px rgba(16, 35, 59, 0.06);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #193a66;
  font-weight: 700;
  padding: 9px 11px;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.site-nav a i,
.footer-nav a i,
.footer-contact i {
  font-size: 0.95rem;
}

.site-nav a.active {
  background: linear-gradient(120deg, #1f4f93, #2f78d8);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.site-nav a:hover {
  background: #eef4ff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(31, 79, 147, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #173b67;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(16, 35, 59, 0.06);
}

body.site-nav-open {
  overflow: hidden;
}

.hero {
  padding: 72px 0 28px;
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 28px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 800;
  color: #1d4f96;
  background: #e9f1ff;
  border-radius: 999px;
  padding: 6px 12px;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 66ch;
}

.hero-photo {
  position: relative;
}

.media-card {
  position: relative;
  padding: 0;
  display: block;
}

.media-card img {
  width: 100%;
  height: auto;
  object-position: center;
  display: block;
}

.media-caption {
  margin: 0;
}

.home-page {
  position: relative;
}

.hero-home {
  padding: 62px 0 42px;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 340px at 100% 12%, rgba(137, 182, 247, 0.15), transparent 72%),
    radial-gradient(720px 360px at 0% 0%, rgba(31, 79, 147, 0.08), transparent 74%);
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 360px);
  gap: 42px;
  align-items: start;
}

.home-hero-copy {
  padding-top: 8px;
}

.home-lead {
  max-width: 58ch;
  font-size: 1.18rem;
  line-height: 1.72;
}

.home-hero-actions {
  margin-top: 18px;
}

.home-presence-inline {
  max-width: 640px;
  margin-top: 22px;
  padding: 18px 20px 16px;
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 246, 255, 0.9) 100%);
}

.home-presence-inline p:last-child {
  margin-bottom: 0;
}

.home-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.home-signal-card {
  border: 1px solid rgba(31, 79, 147, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(16, 35, 59, 0.06);
}

.home-signal-label {
  display: block;
  margin-bottom: 6px;
  color: #597190;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-signal-value {
  display: block;
  color: #173d69;
  font-size: 1rem;
  line-height: 1.45;
}

.home-portrait-shell {
  display: grid;
  gap: 0;
}

.home-portrait-card {
  margin: 0;
  padding: 12px;
  border-radius: 28px;
  border: 1px solid rgba(31, 79, 147, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 245, 255, 0.94));
  box-shadow: 0 20px 44px rgba(16, 35, 59, 0.12);
}

.home-portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 16%;
  background: linear-gradient(180deg, #edf4ff 0%, #e3edff 100%);
}

.home-portrait-card figcaption {
  margin-top: 12px;
  padding: 0 4px;
  color: #5c728d;
  font-size: 0.76rem;
  line-height: 1.55;
}

.home-presence-card {
  border: 1px solid rgba(31, 79, 147, 0.12);
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 24px rgba(16, 35, 59, 0.05);
}

.home-section-kicker {
  margin: 0 0 10px;
  color: #1d4f93;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-section-kicker-light {
  color: rgba(222, 236, 255, 0.88);
}

.home-overview-grid,
.home-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.home-overview-card,
.home-method-card,
.home-focus-card {
  padding: 30px 28px 26px;
}

.home-overview-card p,
.home-method-card p,
.home-focus-card p {
  max-width: none;
}

.home-method-list {
  display: grid;
  gap: 14px;
}

.home-method-item {
  padding-top: 14px;
  border-top: 1px solid rgba(31, 79, 147, 0.12);
}

.home-method-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.home-method-item strong {
  display: block;
  margin-bottom: 4px;
  color: #123863;
  font-size: 0.98rem;
}

.home-method-item p {
  margin: 0;
}

.home-section-head {
  max-width: 720px;
  margin-bottom: 22px;
}

.home-section-head p:last-child {
  margin-bottom: 0;
}

.home-role-grid,
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-role-card {
  padding: 28px 24px 24px;
}

.home-role-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #edf4ff, #dceaff);
  color: #1f4f93;
  font-size: 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-stats {
  padding: 8px 0 28px;
}

.home-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-stat-card {
  position: relative;
  border: 1px solid rgba(30, 80, 150, 0.14);
  border-radius: 20px;
  padding: 24px 18px 20px;
  background: linear-gradient(155deg, #ffffff 0%, #eef5ff 100%);
  box-shadow: 0 10px 26px rgba(16, 35, 59, 0.08);
  overflow: hidden;
}

.home-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1f4f93, #2f78d8, #89b6f7);
}

.home-stat-card strong {
  display: block;
  margin-bottom: 6px;
  color: #0e2f5c;
  font-size: 1.95rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.home-stat-card span {
  display: block;
  color: #516b89;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
}

.home-contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(30, 80, 150, 0.13);
  border-radius: 24px;
  padding: 26px 28px;
  background: linear-gradient(150deg, #ffffff 0%, #f2f8ff 100%);
  box-shadow: 0 14px 34px rgba(16, 35, 59, 0.08);
}

.home-contact-band h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.16rem;
  line-height: 1.5;
  margin: 0;
  color: #173c68;
}

.home-contact-links {
  display: grid;
  gap: 12px;
}

.home-contact-links a,
.home-contact-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #214d7a;
  text-decoration: none;
  font-weight: 700;
}

.home-contact-links a:hover {
  color: #0f6c78;
}

.home-contact-links i,
.home-contact-location i {
  width: 18px;
  color: #1f4f93;
}

.section {
  padding: 34px 0;
}

.cards-3,
.cards-2,
.split,
.split-sidebar {
  display: grid;
  gap: 18px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2,
.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-sidebar {
  grid-template-columns: 2fr 1fr;
}

.card {
  position: relative;
  border: 1px solid rgba(30, 80, 150, 0.13);
  background:
    linear-gradient(160deg, #ffffff 0%, #f8fbff 55%, #edf4ff 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 2px rgba(31, 79, 147, 0.05),
    0 8px 24px rgba(16, 35, 59, 0.09),
    0 28px 56px rgba(16, 35, 59, 0.05);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1f4f93 0%, #2f78d8 55%, #89b6f7 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}

.card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(137, 182, 247, 0.2) 0%, rgba(137, 182, 247, 0) 72%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 79, 147, 0.34);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 3px rgba(31, 79, 147, 0.08),
    0 18px 40px rgba(16, 35, 59, 0.15),
    0 44px 80px rgba(16, 35, 59, 0.07);
}

.card > h3,
.card h3:first-child {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.06rem;
  font-weight: 800;
  color: #0d2e58;
  letter-spacing: -0.01em;
  margin: 0 0 0.65rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(30, 80, 150, 0.12);
}

.card > p,
.card > p:not(.lead) {
  color: #3a5878;
  font-size: 0.97rem;
  line-height: 1.72;
  margin-bottom: 0.85rem;
}

.card > a:not(.btn) {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1f4f93;
  text-decoration: none;
  letter-spacing: 0.01em;
  border-bottom: 2px solid rgba(47, 120, 216, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.card > a:not(.btn):hover {
  color: #2f78d8;
  border-bottom-color: #2f78d8;
}

.card-feature {
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
}

.card-feature > p {
  flex: 1;
}

.card.accent {
  background: linear-gradient(135deg, #0e3570 0%, #1a5ab8 48%, #2f78d8 100%);
  border-color: transparent;
  box-shadow:
    0 8px 32px rgba(14, 53, 112, 0.46),
    0 28px 64px rgba(14, 53, 112, 0.26);
}

.card.accent::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.45), rgba(137, 182, 247, 0.4), rgba(255, 255, 255, 0.08));
}

.card.accent::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
}

.card.accent h3,
.card.accent h3:first-child {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.card.accent p {
  color: rgba(214, 232, 255, 0.92);
}

.card.accent a:not(.btn) {
  color: #a8d0ff;
  border-bottom-color: rgba(168, 208, 255, 0.4);
}

.card.accent a:not(.btn):hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ── Step cards (process list) ─────────────────────────── */
.steps-grid {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.card-step {
  counter-increment: step;
  padding: 18px 20px 16px 72px;
  min-height: 80px;
}

.card-step::after {
  content: counter(step);
  position: absolute;
  top: 18px;
  left: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f4f93, #2f78d8);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(31, 79, 147, 0.38);
}

.card-step strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0d2e58;
  margin-bottom: 4px;
}

.card-step p {
  margin: 0;
  color: #3a5878;
  font-size: 0.94rem;
  line-height: 1.6;
}

.card ul {
  margin: 0;
  padding-left: 1.05rem;
}

.card li {
  color: #3a5878;
  line-height: 1.65;
  margin-bottom: 0.35rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.meta-grid div {
  border: 1px solid #d5e4f8;
  border-radius: 12px;
  padding: 10px;
  background: #f8fbff;
}

.meta-grid strong {
  display: block;
  color: #143765;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.meta-grid span {
  color: #335477;
  font-size: 0.92rem;
  font-weight: 600;
}

.section-intro {
  margin-bottom: 18px;
}

.consultancy-page .lead {
  max-width: 72ch;
}

.consultancy-page {
  display: grid;
  gap: 24px;
}

.consultancy-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  margin-bottom: 2px;
  align-items: stretch;
}

.consultancy-hero-copy {
  padding: 30px 30px 26px;
}

.consultancy-hero-copy h1 {
  margin-bottom: 0.42em;
}

.consultancy-keypoints {
  margin: 0 0 1.2rem;
  padding-left: 1.1rem;
}

.consultancy-keypoints li {
  margin-bottom: 0.45rem;
}

.consultancy-hero-media {
  padding: 12px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.consultancy-hero-media::after {
  display: none;
}

.consultancy-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 12px;
  border: 1px solid #d3e2f5;
  background: #eaf2ff;
}

.consultancy-portrait-note {
  margin: 0;
  color: #153e6a;
  background: #edf5ff;
  border: 1px solid #d2e2f6;
  border-radius: 10px;
  padding: 7px 9px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-align: center;
}

.consultancy-band {
  border: 1px solid #d8e6f7;
  border-radius: 18px;
  padding: 24px 22px 20px;
  display: grid;
  gap: 16px;
}

.consultancy-heading {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
  color: #1e4f8f;
}

.tone-offer {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
}

.tone-audience {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
  border-color: #d8e6f7;
}

.tone-process {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
  border-color: #d8e6f7;
}

.tone-focus {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
}

.tone-offer .service-card:nth-child(1)::before {
  background: linear-gradient(90deg, #1f4f93, #2f78d8);
}

.tone-offer .service-card:nth-child(2)::before {
  background: linear-gradient(90deg, #1f4f93, #2f78d8);
}

.tone-offer .service-card:nth-child(3)::before {
  background: linear-gradient(90deg, #1f4f93, #2f78d8);
}

.service-card ul {
  margin-top: 0.2rem;
}

.service-card > p {
  flex: 0 0 auto;
  margin-bottom: 0.45rem;
}

.service-summary {
  border: 1px solid #cfe0f6;
  background: linear-gradient(140deg, #f6faff 0%, #edf4ff 100%);
  border-radius: 12px;
  padding: 10px 12px;
  color: #214f80;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.service-card li {
  margin-bottom: 0.28rem;
  line-height: 1.55;
}

.consultancy-steps {
  margin-bottom: 0.2rem;
  gap: 14px;
}

.trust-card {
  padding: 24px 24px 20px;
}

.consultancy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.consultancy-tags span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfe0f7;
  background: #f2f8ff;
  color: #214c78;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.consultancy-cta {
  margin-top: 2px;
}

.consultancy-cta .btn {
  margin-top: 6px;
}

.timeline-list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 10px;
}

.timeline-list li {
  border: 1px solid #d7e5f7;
  border-left: 4px solid #2f78d8;
  border-radius: 12px;
  padding: 11px 12px;
  background: #f8fbff;
  color: #2d4a6d;
  margin-bottom: 0;
}

.timeline-list strong {
  color: #0f305c;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  display: block;
  border: 1px solid #d2e1f6;
  background: #eef4ff;
  box-shadow: 0 10px 24px rgba(16, 35, 59, 0.12);
}

.gallery-item figcaption {
  margin-top: 8px;
  color: #3f607f;
  font-size: 0.86rem;
}

.profile-portrait {
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d2e1f6;
}

.profile-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #eef4ff;
}

.sticky {
  position: sticky;
  top: 96px;
  align-self: start;
}

.stats {
  padding: 16px 0 22px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stats-grid > div {
  position: relative;
  border: 1px solid rgba(30, 80, 150, 0.14);
  border-radius: 18px;
  padding: 22px 16px 18px;
  text-align: center;
  background: linear-gradient(155deg, #ffffff 0%, #eef5ff 100%);
  box-shadow:
    0 2px 1px rgba(31, 79, 147, 0.05),
    0 8px 24px rgba(16, 35, 59, 0.09);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.stats-grid > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1f4f93, #2f78d8, #89b6f7);
}

.stats-grid > div:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 3px rgba(31, 79, 147, 0.08),
    0 18px 40px rgba(16, 35, 59, 0.14);
}

.stats-grid strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: #0e2f5c;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stats-grid span {
  color: #4b6a8c;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn {
  display: inline-block;
  border-radius: 14px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #1f4f93, #2f78d8 100%);
  box-shadow: 0 10px 24px rgba(31, 79, 147, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(31, 79, 147, 0.34);
}

.btn-ghost {
  border-color: #1f4f93;
  color: #1f4f93;
  background: #f2f7ff;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

ul,
ol {
  padding-left: 1.15rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  overflow: hidden;
}

th,
td {
  border: 1px solid #d8e5f6;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #edf4ff;
  color: #1d466f;
}

.contact-form {
  display: grid;
  gap: 9px;
}

input,
textarea,
select {
  border: 1px solid #cddcf1;
  border-radius: 11px;
  padding: 11px;
  font-family: inherit;
  font-size: 1rem;
  background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(47, 120, 216, 0.2);
  border-color: #2f78d8;
}

.error {
  color: var(--danger);
  font-weight: 600;
}

.alert {
  padding: 10px;
  border-radius: 10px;
}

.alert.success {
  background: #dbfbe9;
  border: 1px solid #9ad6b4;
  color: var(--success);
}

.alert.error {
  background: #ffe4e4;
  border: 1px solid #e9b2b2;
  color: var(--danger);
}

.contact-page {
  padding-top: 28px;
}

.contact-shell {
  display: grid;
  gap: 24px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 20px;
  align-items: stretch;
}

.contact-hero-copy,
.contact-hero-panel,
.contact-form-panel,
.contact-info-card,
.contact-availability-card {
  position: relative;
}

.contact-hero-copy {
  padding: 4px 0;
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.contact-quick-card {
  padding: 18px 16px;
  border: 1px solid rgba(31, 79, 147, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 244, 255, 0.92));
  box-shadow: var(--shadow-soft);
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #e8f1ff;
  color: #1d4f96;
  font-size: 1.02rem;
}

.contact-card-icon.small {
  width: 32px;
  height: 32px;
  margin-bottom: 2px;
  border-radius: 10px;
  font-size: 0.92rem;
}

.contact-quick-label,
.contact-panel-kicker {
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #1d4f96;
}

.contact-quick-card strong,
.contact-channel strong,
.contact-detail-item strong {
  display: block;
  color: #12345b;
}

.contact-quick-card p,
.contact-hero-panel p,
.contact-panel-note,
.contact-form-tip,
.contact-detail-item span,
.contact-guidance-list,
.contact-availability-card p {
  color: #456380;
}

.contact-hero-panel {
  padding: 24px;
  border: 1px solid rgba(31, 79, 147, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(137, 182, 247, 0.24), transparent 42%),
    linear-gradient(160deg, #fdfefe 0%, #f0f6ff 100%);
  box-shadow: var(--shadow);
}

.contact-hero-panel h2 {
  margin-bottom: 10px;
}

.contact-channel-list,
.contact-sidebar-stack,
.contact-detail-list {
  display: grid;
  gap: 9px;
}

.contact-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1f4f93;
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-channel {
  display: grid;
  gap: 2px;
  padding: 11px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(31, 79, 147, 0.12);
  text-decoration: none;
}

.contact-channel strong {
  margin: 0;
  line-height: 1.35;
}

.contact-channel-label,
.contact-detail-item span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  align-items: start;
}

.contact-form-panel {
  padding: 28px;
}

.contact-request-panel {
  background:
    radial-gradient(circle at top right, rgba(137, 182, 247, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.contact-panel-head h2,
.contact-side-head h3 {
  margin-bottom: 0;
}

.contact-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.contact-panel-head h2 {
  margin-bottom: 0;
}

.contact-panel-note {
  max-width: 24ch;
  margin: 0;
  font-size: 0.92rem;
}

.contact-side-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.enhanced-contact-form {
  gap: 16px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field-wide {
  grid-column: span 2;
}

.enhanced-contact-form label {
  font-weight: 700;
  color: #183659;
}

.enhanced-contact-form input,
.enhanced-contact-form textarea,
.enhanced-contact-form select {
  border-radius: 15px;
  padding: 13px 14px;
  border-color: #ccdbef;
  background: linear-gradient(180deg, #ffffff, #fafdff);
}

.enhanced-contact-form textarea {
  min-height: 190px;
  resize: vertical;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-form-tip {
  margin: 0;
  max-width: 54ch;
  font-size: 0.95rem;
}

.contact-info-card,
.contact-guidance-card,
.contact-availability-card {
  padding: 24px;
}

.contact-detail-item {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(31, 79, 147, 0.12);
}

.contact-detail-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-guidance-list {
  margin: 0;
  padding-left: 1.1rem;
}

.contact-guidance-list li {
  margin-bottom: 0.55rem;
}

.contact-guidance-card.accent .contact-panel-kicker {
  color: rgba(225, 238, 255, 0.94);
}

.contact-guidance-card.accent .contact-guidance-list,
.contact-guidance-card.accent .contact-guidance-list li {
  color: rgba(236, 245, 255, 0.96);
}

.contact-guidance-card.accent .contact-guidance-list li::marker {
  color: rgba(170, 212, 255, 0.95);
}

.contact-strip {
  padding: 22px 0 42px;
}

.contact-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  border-top: 2px solid #d7e3f4;
  padding-top: 16px;
}

.center {
  text-align: center;
}

.footer {
  margin-top: 38px;
  border-top: 1px solid rgba(31, 79, 147, 0.2);
  background:
    radial-gradient(800px 380px at 0% 0%, rgba(137, 182, 247, 0.3), transparent 62%),
    radial-gradient(700px 350px at 100% 10%, rgba(31, 79, 147, 0.2), transparent 66%),
    linear-gradient(145deg, #f8fbff 0%, #eaf2ff 100%);
}

.footer-grid {
  padding: 34px 0 30px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.footer-panel {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(31, 79, 147, 0.14);
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 10px 24px rgba(16, 35, 59, 0.08);
}

.footer-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #164276;
  margin: 0 0 10px;
}

.footer-tagline {
  margin: 0 0 10px;
  color: #2f5277;
  line-height: 1.65;
}

.footer-meta {
  margin: 0;
  color: #46698d;
  font-size: 0.88rem;
}

.footer-contact p {
  margin: 0 0 8px;
  color: #2f5277;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1c4d8f;
  text-decoration: none;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 9px;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-nav a:hover {
  background: #e8f1ff;
  color: #0f3e78;
}

.footer-bottom {
  border-top: 1px solid rgba(31, 79, 147, 0.16);
  background: rgba(255, 255, 255, 0.42);
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0 18px;
  text-align: center;
  color: #315476;
  font-size: 0.9rem;
  font-weight: 600;
}

.copyright span:last-child {
  color: #5a7593;
}

.auth-wrap {
  display: flex;
  justify-content: center;
}

.auth-card {
  width: min(560px, 100%);
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.dashboard-top h1 {
  margin-bottom: 0.18em;
}

.admin-page .lead {
  font-size: 1.02rem;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.admin-metric {
  text-align: left;
  padding: 20px;
}

.admin-metric span {
  display: block;
  font-size: 0.82rem;
  color: #406388;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 6px;
}

.admin-metric strong {
  display: block;
  font-size: 1.85rem;
  color: #123b66;
  line-height: 1.1;
}

.admin-card-title {
  margin-bottom: 0.35em;
}

.admin-note {
  color: #4a6888;
  margin-bottom: 12px;
}

.admin-table td {
  color: #2f4f72;
  font-size: 0.93rem;
}

.admin-table .msg-date {
  white-space: nowrap;
  min-width: 140px;
}

.admin-table .msg-email a {
  word-break: break-word;
}

.admin-table .msg-body {
  min-width: 300px;
  max-width: 460px;
  white-space: pre-wrap;
}

.empty-state {
  color: #496988;
  margin: 0;
}

.editor-card {
  padding: 20px;
}

.editor-toolbar {
  margin-bottom: 12px;
}

.editor-toolbar label {
  display: block;
  font-weight: 700;
  color: #244c78;
  margin-bottom: 6px;
}

.editor-toolbar-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.editor-toolbar-row select {
  min-width: min(760px, 100%);
}

.editor-form {
  display: grid;
  gap: 10px;
}

.editor-file-label {
  margin: 0;
  color: #3d5f81;
}

.editor-textarea {
  width: 100%;
  min-height: 520px;
  resize: vertical;
  border-radius: 12px;
  border: 1px solid #c8d9ef;
  background: #f7fbff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #173c62;
  padding: 12px;
}

.editor-textarea:focus {
  outline: 3px solid rgba(47, 120, 216, 0.22);
  border-color: #2f78d8;
}

.editor-actions {
  display: flex;
  justify-content: flex-end;
}

.research-page .lead {
  max-width: 74ch;
}

.research-header {
  margin-bottom: 8px;
}

.research-meta {
  margin: 0 0 1.2rem;
  color: #3f5f81;
  font-size: 0.94rem;
}

.research-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 1.2rem;
}

.research-highlight-card {
  position: relative;
  margin: 0;
  border: 1px solid #d5e4f7;
  background: linear-gradient(160deg, #ffffff 0%, #f6faff 100%);
  border-radius: 18px;
  padding: 22px 20px 20px;
  box-shadow: 0 10px 24px rgba(16, 35, 59, 0.08);
}

.research-highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1f4f93, #2f78d8, #89b6f7);
}

.research-highlight-kicker {
  margin: 0 0 10px;
  color: #1d4f93;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-highlight-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 10px;
  color: #123963;
}

.research-highlight-card p:last-child {
  margin: 0;
  color: #466584;
  font-size: 0.95rem;
  line-height: 1.68;
}

.pub-list {
  display: grid;
  gap: 14px;
}

.pub-item {
  padding: 20px 22px 18px;
}

.pub-layout {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  align-items: start;
}

.pub-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #d0e0f5;
  box-shadow: 0 6px 16px rgba(16, 35, 59, 0.11);
  background: #f3f8ff;
}

.pub-item h3 {
  margin-bottom: 0.45rem;
}

.pub-meta {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d4f93;
  background: #e8f1ff;
  border-radius: 999px;
  padding: 4px 10px;
}

.pub-authors {
  color: #436485;
  font-size: 0.91rem;
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 980px) {
  .hero-grid,
  .home-hero-grid,
  .home-overview-grid,
  .home-focus-grid,
  .home-contact-band,
  .cards-3,
  .cards-2,
  .split,
  .split-sidebar,
  .contact-hero,
  .contact-main-grid,
  .contact-quick-grid,
  .consultancy-hero,
  .research-visual-grid,
  .gallery-grid,
  .stats-grid,
  .admin-metrics,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sticky {
    position: static;
  }

  .consultancy-hero-media {
    min-height: 0;
  }

  .consultancy-band {
    padding: 18px 16px 14px;
  }

  .editor-textarea {
    min-height: 420px;
  }

  .pub-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pub-thumb {
    max-height: 190px;
  }

  .contact-panel-head {
    flex-direction: column;
  }

  .contact-panel-note {
    max-width: none;
  }

  .contact-side-head {
    flex-direction: column;
  }

  .home-role-grid,
  .home-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-portrait-shell {
    max-width: 360px;
  }

  .home-contact-band {
    padding: 22px;
  }
}

@media (max-width: 760px) {
  .home-signal-grid,
  .home-role-grid,
  .home-stats-grid {
    grid-template-columns: 1fr;
  }

  .home-portrait-shell {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .copyright {
    flex-direction: column;
    align-items: center;
    padding: 14px 0 16px;
  }

  .hero {
    padding-top: 56px;
  }

  .menu-toggle {
    display: inline-flex;
    min-height: 44px;
    justify-content: center;
    position: relative;
    z-index: 41;
  }

  .brand {
    max-width: 100%;
    min-height: 44px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-sub {
    font-size: 0.68rem;
  }

  .nav-panel {
    margin-left: auto;
    width: auto;
    justify-content: flex-end;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: 74px;
    left: 12px;
    right: 12px;
    z-index: 40;
    margin-top: 0;
    padding: 10px;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    border: 1px solid rgba(31, 79, 147, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 30px rgba(16, 35, 59, 0.1);
  }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    animation: slideInMenu 0.18s ease;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
  }

  .nav-wrap {
    flex-wrap: nowrap;
    align-items: center;
  }

  .dashboard-top {
    flex-direction: column;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

  .media-card img {
    min-height: 0;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-field-wide {
    grid-column: span 1;
  }

  .contact-form-panel,
  .contact-info-card,
  .contact-guidance-card,
  .contact-availability-card,
  .contact-hero-panel {
    padding: 20px;
  }

  .contact-form-footer .btn {
    width: 100%;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .brand-sub {
    display: none;
  }

  .site-nav {
    top: 70px;
    left: 10px;
    right: 10px;
    max-height: calc(100dvh - 82px);
  }
}

@keyframes slideInMenu {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Prose – inner-page editorial text ─────────────────── */
.prose > h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(0.78rem, 1.1vw, 0.85rem);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #1d4f93;
  border-bottom: 2px solid #d5e7fb;
  padding-bottom: 0.45rem;
  margin: 1.8rem 0 0.85rem;
}

.prose > h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2a5aa0;
  margin: 1.2rem 0 0.45rem;
}

.prose > p {
  font-size: 1.02rem;
  color: #263f5a;
  margin-bottom: 0.9rem;
}

.prose > ul,
.prose > ol {
  margin: 0 0 1.1rem;
  padding-left: 1.4rem;
  color: #263f5a;
}

.prose li {
  margin-bottom: 0.45rem;
  line-height: 1.75;
  color: #263f5a;
}

.prose > p.lead {
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
}