/* =========================================================
   COPES COLOR SYSTEM
   These are the palette variable names requested for COPES.
   ========================================================= */
:root {
  --purple: #1f666b;
  --purple-2: #3f8583;
  --gold: #8eb5af;
  --soft-purple: #c3e7df;
  --soft-gold: #8cb0a1;

  /* Semantic aliases used throughout the site */
  --ink: #153f43;
  --ink-deep: #0d3033;
  --accent: var(--purple);
  --accent-2: var(--purple-2);
  --accent-soft: var(--soft-purple);
  --paper: #f7fbfa;
  --white: #ffffff;
  --muted: #5d7474;
  --line: rgba(31, 102, 107, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  --shadow: 0 22px 60px rgba(21, 63, 67, 0.12);
  --shadow-soft: 0 12px 32px rgba(21, 63, 67, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100% - 40px));
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img,
video,
svg {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.narrow {
  width: min(820px, 100%);
}

.narrow-left {
  width: min(900px, 100%);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink-deep);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  color: var(--white);
  transition: height .2s ease, background .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
}

.site-header.is-scrolled {
  height: 70px;
  background: rgba(21, 63, 67, .93);
  box-shadow: 0 12px 35px rgba(13, 48, 51, .18);
  backdrop-filter: blur(18px);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: .19em;
  line-height: 1;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 999px;
  color: inherit;
  font-size: .94rem;
  font-weight: 750;
  text-decoration: none;
  opacity: .82;
  transition: opacity .18s ease, background .18s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 1;
  background: rgba(255, 255, 255, .1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle i {
  font-size: 1.08rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 720px;
  height: max(760px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-deep);
  color: var(--white);
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 48, 51, .94) 0%, rgba(31, 102, 107, .86) 42%, rgba(31, 102, 107, .38) 72%, rgba(13, 48, 51, .56) 100%),
    linear-gradient(180deg, rgba(13, 48, 51, .16) 0%, rgba(13, 48, 51, .24) 60%, rgba(13, 48, 51, .72) 100%);
}

.hero-content {
  padding-top: 70px;
}

.hero-content h1 {
  max-width: 930px;
  margin: 16px 0 24px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 780;
  text-wrap: balance;
}

.hero-copy {
  max-width: 730px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--purple-2);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow,
.eyebrow-light {
  color: var(--soft-purple);
}

.eyebrow-dark {
  color: var(--ink-deep);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--soft-purple);
  color: var(--ink-deep);
  box-shadow: 0 10px 30px rgba(13, 48, 51, .14);
}

.button-primary:hover {
  background: #d6f0ea;
  box-shadow: 0 14px 34px rgba(13, 48, 51, .18);
}

.button-ghost {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, .14);
}

.button-dark {
  background: var(--ink-deep);
  color: var(--white);
}

.button-outline-dark {
  border-color: rgba(13, 48, 51, .32);
  color: var(--ink-deep);
}

.button-block {
  width: 100%;
}

/* ---------- Generic sections ---------- */
.section {
  padding: clamp(76px, 9vw, 116px) 0;
}

.section-light {
  background: var(--paper);
}

.section-soft {
  background: linear-gradient(180deg, #eef8f5 0%, var(--soft-purple) 100%);
}

.section-dark {
  background: var(--ink-deep);
  color: var(--white);
}

.section-accent {
  background: var(--gold);
  color: var(--ink-deep);
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(42px, 6vw, 64px);
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.split h2,
.cta-row h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.85rem);
  font-weight: 760;
  letter-spacing: -.047em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-heading > p:last-child,
.page-hero p,
.split-copy > p {
  max-width: 730px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.section-heading.centered > p:last-child {
  margin-inline: auto;
}

.section-dark .split-copy > p {
  color: rgba(255, 255, 255, .72);
}

/* ---------- Platform canvas ---------- */
.platform-canvas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr) minmax(0, 1fr);
  grid-template-areas:
    "a core b"
    "c core d";
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(rgba(31, 102, 107, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 102, 107, .055) 1px, transparent 1px),
    #eef8f5;
  background-size: 30px 30px;
  box-shadow: var(--shadow-soft);
}

.capability-card {
  min-width: 0;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  border: 1px solid rgba(31, 102, 107, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(21, 63, 67, .06);
}

.capability-card-a { grid-area: a; }
.capability-card-b { grid-area: b; }
.capability-card-c { grid-area: c; }
.capability-card-d { grid-area: d; }

.platform-core {
  grid-area: core;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 20px;
  border-radius: 24px;
  background: linear-gradient(155deg, var(--purple), var(--purple-2));
  color: var(--white);
  text-align: center;
  box-shadow: 0 18px 42px rgba(31, 102, 107, .22);
}

.platform-core span {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1;
}

.platform-core small {
  max-width: 150px;
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  line-height: 1.45;
}

.icon-tile {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--soft-purple);
  color: var(--purple);
}

.icon-tile i {
  font-size: 1.15rem;
}

.card-kicker,
.contact-label {
  margin: 0 0 6px;
  color: var(--purple-2) !important;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.capability-card h3,
.process-step h3,
.value-card h3,
.contact-detail-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.capability-card p,
.process-step p,
.value-card p,
.contact-detail-card p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  position: relative;
  min-width: 0;
  min-height: 280px;
  padding: 26px;
  border: 1px solid rgba(31, 102, 107, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-soft);
}

.process-step > i {
  display: block;
  margin: 46px 0 30px;
  color: var(--purple);
  font-size: 1.65rem;
}

.process-number {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--purple-2);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
}

/* ---------- Why COPES ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(52px, 8vw, 90px);
  align-items: center;
}

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

.value-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  background: rgba(255, 255, 255, .055);
}

.value-card > i {
  margin-bottom: 28px;
  color: var(--soft-purple);
  font-size: 1.25rem;
}

.value-card p {
  color: rgba(255, 255, 255, .66);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--purple);
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link-light {
  color: var(--soft-purple);
}

/* ---------- CTA ---------- */
.cta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
}

.cta-row > div:first-child {
  max-width: 760px;
}

.cta-row .cta-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

/* ---------- Page heroes ---------- */
.page-hero,
.post-hero {
  position: relative;
  overflow: hidden;
  padding: 176px 0 96px;
  background:
    radial-gradient(circle at 82% 18%, rgba(195, 231, 223, .16), transparent 30%),
    linear-gradient(145deg, var(--ink-deep), var(--purple));
  color: var(--white);
}

.page-hero::after,
.post-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow:
    0 0 0 54px rgba(255, 255, 255, .025),
    0 0 0 108px rgba(255, 255, 255, .018);
}

.page-hero p:last-child {
  color: rgba(255, 255, 255, .74);
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  min-width: 0;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.post-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--soft-purple);
  color: var(--purple);
}

.post-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--purple-2);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.post-card-top span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-card h2 {
  margin: 28px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.post-card h2 a {
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--purple);
}

.post-card > p {
  margin: 0;
  color: var(--muted);
}

.post-card .text-link {
  margin-top: auto;
  padding-top: 24px;
}

.empty-state {
  padding: 50px 26px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.empty-state > i {
  color: var(--purple-2);
  font-size: 2rem;
}

/* ---------- Posts ---------- */
.post-hero h1 {
  margin: 12px 0 22px;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: .99;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: rgba(255, 255, 255, .64);
  font-size: .92rem;
  font-weight: 700;
}

.post-hero .lede {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1.02rem, 1.7vw, 1.17rem);
}

.prose {
  padding-top: 66px;
  padding-bottom: 26px;
  font-size: 1.07rem;
}

.prose h2 {
  margin-top: 2.1em;
  font-size: clamp(1.7rem, 3vw, 2rem);
  letter-spacing: -.03em;
}

.prose h3 {
  margin-top: 1.8em;
}

.prose p,
.prose li {
  color: #405b5b;
}

.prose a {
  color: var(--purple);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose img {
  height: auto;
  border-radius: 18px;
}

.prose code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #e5f1ee;
  overflow-wrap: anywhere;
}

.prose pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 18px;
  border-radius: 16px;
  background: var(--ink-deep);
  color: var(--white);
}

.prose pre code {
  padding: 0;
  background: transparent;
  overflow-wrap: normal;
}

.post-footer {
  padding-bottom: 86px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 7vw, 76px);
  align-items: start;
}

.contact-card {
  position: sticky;
  top: 98px;
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-avatar {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 17px;
  background: var(--soft-purple);
  color: var(--purple);
  font-size: 1.35rem;
}

.contact-card h2 {
  margin: 2px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  letter-spacing: -.035em;
}

.contact-card > p:not(.contact-label) {
  margin-bottom: 26px;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 16px;
}

.contact-detail-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}


/* ---------- Team ---------- */
.expert-list {
  display: grid;
  gap: 22px;
}

.expert-profile {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.expert-identity {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.team-icon,
.partner-icon,
.assignment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--soft-purple);
  color: var(--purple);
}

.team-icon {
  width: 68px;
  height: 68px;
  font-size: 1.45rem;
}

.expert-profile h3,
.partner-card h3 {
  margin: 2px 0 7px;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.expert-affiliation {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  font-weight: 650;
}

.expert-content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 34px;
  align-items: stretch;
  padding-top: 28px;
}

.expert-bio h4,
.expert-assignment h4 {
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--purple);
}

.expert-bio > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.expert-assignment {
  min-width: 0;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(195, 231, 223, .7), rgba(142, 181, 175, .22));
  border: 1px solid rgba(31, 102, 107, .12);
}

.assignment-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.7);
  font-size: 1.05rem;
}

.expert-assignment p {
  margin: 0;
  color: #405b5d;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: .9rem;
}

.button-outline {
  color: var(--purple);
  border: 1px solid rgba(31, 102, 107, .28);
  background: transparent;
}

.button-outline:hover {
  background: var(--soft-purple);
  border-color: var(--purple-2);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.partner-card {
  min-width: 0;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(31, 102, 107, .16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-soft);
}

.partner-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 48px;
  font-size: 1.3rem;
}

.partner-card p:not(.card-kicker) {
  margin: 0;
  color: var(--muted);
}

.partner-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 58px 0 34px;
  background: #0a2b2e;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px 60px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 15px;
}

.footer-about p {
  max-width: 510px;
  margin: 0;
  color: rgba(255, 255, 255, .6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-links a {
  color: rgba(255, 255, 255, .82);
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--soft-purple);
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, .5);
  font-size: .88rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .platform-canvas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "core core"
      "a b"
      "c d";
  }

  .platform-core {
    min-height: 165px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split-copy {
    max-width: 780px;
  }

  .cta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-row .cta-actions {
    margin-top: 0;
  }
}

@media (max-width: 1040px) {
  .expert-content {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: 24px;
  }
}

@media (max-width: 820px) {
  .expert-profile {
    padding: 26px;
  }

  .expert-content {
    grid-template-columns: 1fr;
  }

  :root {
    --header-height: 72px;
    --shell: min(100% - 30px, 1180px);
  }

  .site-header,
  .site-header.is-scrolled {
    height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 15px;
    left: 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: rgba(13, 48, 51, .98);
    box-shadow: 0 20px 48px rgba(13, 48, 51, .26);
    backdrop-filter: blur(18px);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
  }

  .hero {
    min-height: 680px;
    height: auto;
    padding: 150px 0 100px;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(13, 48, 51, .92), rgba(31, 102, 107, .72)),
      linear-gradient(180deg, rgba(13, 48, 51, .15), rgba(13, 48, 51, .7));
  }

  .value-grid,
  .blog-grid,
  .contact-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }


  .contact-card {
    position: static;
  }

  .page-hero,
  .post-hero {
    padding: 140px 0 78px;
  }
}

@media (max-width: 640px) {
  .expert-profile {
    padding: 22px;
  }

  .expert-identity {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .expert-content {
    gap: 22px;
    padding-top: 22px;
  }

  .expert-assignment {
    padding: 20px;
  }

  .profile-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-actions .button {
    width: 100%;
  }

  :root {
    --shell: min(100% - 26px, 1180px);
  }

  html {
    scroll-padding-top: 74px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: 650px;
    padding: 132px 0 80px;
  }

  .hero-content h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .platform-canvas {
    grid-template-columns: 1fr;
    grid-template-areas:
      "core"
      "a"
      "b"
      "c"
      "d";
    padding: 12px;
    border-radius: 24px;
  }

  .platform-core {
    min-height: 145px;
  }

  .capability-card {
    min-height: auto;
    padding: 23px;
  }

  .process-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: auto;
  }

  .process-step > i {
    margin-top: 34px;
  }

  .contact-detail-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }


  .partner-card {
    min-height: auto;
    padding: 24px;
  }

  .partner-icon {
    margin-bottom: 34px;
  }

  .page-hero::after,
  .post-hero::after {
    width: 260px;
    height: 260px;
    right: -100px;
    bottom: -100px;
  }

  .post-card {
    min-height: auto;
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-copy {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  :root {
    --shell: min(100% - 22px, 1180px);
  }

  .brand {
    font-size: .98rem;
  }

  .hero-content h1 {
    font-size: 2.65rem;
  }

  .button {
    min-height: 48px;
    padding-inline: 16px;
    font-size: .94rem;
  }

  .section-heading h2,
  .split h2,
  .cta-row h2,
  .page-hero h1 {
    font-size: 2.25rem;
  }

  .contact-card,
  .contact-detail-card,
  .post-card,
  .value-card,
  .expert-profile,
  .partner-card {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
