:root {
  --navy-950: #071827;
  --navy-900: #0b2439;
  --blue-800: #123d63;
  --blue-700: #185487;
  --blue-600: #246aa3;
  --blue-100: #e8f1f8;
  --cream: #f4efe5;
  --gold: #d8a84e;
  --gold-light: #f4deaa;
  --ink: #132333;
  --muted: #5f6c78;
  --line: #dce3e8;
  --paper: #ffffff;
  --off-white: #f7f9fa;
  --green: #1eaa66;
  --shadow-sm: 0 10px 30px rgba(8, 35, 56, 0.08);
  --shadow-lg: 0 30px 80px rgba(5, 29, 48, 0.17);
  --radius: 20px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 10px 16px;
  color: white;
  background: var(--blue-800);
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

.demo-bar {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 20px;
  color: #dbe9f3;
  background: var(--navy-950);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-align: center;
  text-transform: uppercase;
}

.demo-bar__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(216, 168, 78, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(18, 61, 99, 0.08);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(7, 24, 39, 0.08);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand__mark {
  width: 41px;
  height: 41px;
  color: var(--blue-800);
  fill: currentColor;
}

.brand__mark path:nth-child(3) {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

.brand__name {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  line-height: 1;
}

.brand__academic {
  color: #53606b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  letter-spacing: -0.055em;
}

.brand__com {
  color: var(--blue-700);
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.09em;
}

.brand__tagline {
  grid-column: 1 / -1;
  margin-top: 5px;
  color: #77828b;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: right;
  text-transform: uppercase;
}

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

.main-nav > a:not(.button) {
  position: relative;
  color: #33485a;
  font-size: 0.91rem;
  font-weight: 650;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 50%;
  bottom: -9px;
  left: 50%;
  height: 2px;
  content: "";
  background: var(--gold);
  transition: right 180ms ease, left 180ms ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a:not(.button):focus-visible::after {
  right: 0;
  left: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-800);
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.91rem;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--small {
  min-height: 42px;
  padding: 10px 17px;
  color: white !important;
  background: var(--blue-800);
  box-shadow: 0 8px 24px rgba(18, 61, 99, 0.17);
}

.button--primary {
  color: white;
  background: var(--blue-700);
  box-shadow: 0 12px 30px rgba(24, 84, 135, 0.22);
}

.button--primary:hover {
  background: var(--blue-800);
  box-shadow: 0 16px 36px rgba(24, 84, 135, 0.29);
}

.button--outline {
  color: var(--blue-800);
  background: white;
  border-color: rgba(18, 61, 99, 0.22);
}

.button--outline:hover {
  border-color: var(--blue-700);
}

.button--light {
  color: var(--navy-950);
  background: white;
  box-shadow: 0 12px 30px rgba(2, 15, 26, 0.2);
}

.button--light-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
}

.button--light-outline:hover {
  background: white;
  color: var(--navy-950);
}

.button--full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(247, 249, 250, 0.96) 0%, rgba(247, 249, 250, 0.95) 54%, rgba(235, 242, 247, 0.8) 100%),
    repeating-linear-gradient(90deg, transparent 0 71px, rgba(18, 61, 99, 0.04) 72px);
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -170px;
  width: 650px;
  height: 390px;
  content: "";
  border: 1px solid rgba(18, 61, 99, 0.08);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero__glow--one {
  top: -180px;
  right: 5%;
  width: 430px;
  height: 430px;
  background: rgba(36, 106, 163, 0.08);
}

.hero__glow--two {
  bottom: -250px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: rgba(216, 168, 78, 0.07);
}

.hero__grid {
  position: relative;
  z-index: 1;
  min-height: 660px;
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  align-items: center;
  gap: 72px;
  padding-block: 72px 82px;
}

.eyebrow,
.section-kicker {
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}

.eyebrow__line {
  width: 38px;
  height: 2px;
  background: var(--gold);
}

.hero h1,
.section-heading h2,
.process h2,
.story h2,
.integrity h2,
.contact h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3rem, 4.2vw, 4.45rem);
}

.hero h1 em {
  position: relative;
  color: var(--blue-700);
  font-weight: inherit;
}

.hero h1 em::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 8px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8c110-8 234 4 494-5' fill='none' stroke='%23d8a84e' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero__lead {
  max-width: 615px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: 1.09rem;
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-800);
  font-size: 0.91rem;
  font-weight: 750;
}

.text-link span {
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 39px;
}

.hero__trust p {
  margin: 0;
  color: #71808c;
  font-size: 0.82rem;
  line-height: 1.45;
}

.hero__trust strong {
  color: #344858;
  font-size: 0.87rem;
}

.avatar-seal {
  width: 47px;
  height: 47px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue-800);
  background: var(--cream);
  border: 1px solid rgba(216, 168, 78, 0.45);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero__visual {
  position: relative;
  max-width: 590px;
  margin-left: auto;
  padding: 22px 0 15px 33px;
}

.paper-card {
  position: relative;
  z-index: 2;
  padding: 31px 32px 27px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 61, 99, 0.1);
  border-radius: 4px 4px 24px 4px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.15deg);
}

.paper-card::before,
.paper-card::after {
  position: absolute;
  content: "";
  z-index: -1;
  background: white;
  border: 1px solid rgba(18, 61, 99, 0.1);
  box-shadow: var(--shadow-sm);
}

.paper-card::before {
  inset: 13px -13px -13px 13px;
  border-radius: 3px 3px 25px 3px;
}

.paper-card::after {
  inset: 25px -25px -25px 25px;
  z-index: -2;
  background: #eef3f6;
  border-radius: 3px 3px 26px 3px;
}

.paper-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.paper-card__label {
  color: var(--blue-700);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.paper-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #66727d;
  font-size: 0.68rem;
  font-weight: 650;
}

.paper-card__status i {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(30, 170, 102, 0.1);
}

.paper-card__title-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 27px 0 20px;
}

.paper-card__title-row span {
  color: #8a959e;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paper-card__title-row h2 {
  max-width: 330px;
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.paper-card__cap {
  width: 52px;
  height: 52px;
  padding: 11px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 14px;
  fill: currentColor;
}

.paper-card__cap path:last-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
}

.project-steps {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-step {
  display: grid;
  grid-template-columns: 38px 1fr 26px;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  background: #f7f9fa;
  border: 1px solid #edf1f3;
  border-radius: 11px;
}

.project-step__number {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 800;
}

.project-step > span:nth-child(2) {
  display: grid;
}

.project-step strong {
  color: #293b4a;
  font-size: 0.79rem;
}

.project-step small {
  color: #818b94;
  font-size: 0.68rem;
}

.project-step svg {
  width: 24px;
  height: 24px;
  padding: 5px;
  color: var(--green);
  background: rgba(30, 170, 102, 0.1);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.paper-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.specialist {
  display: flex;
  align-items: center;
  gap: 10px;
}

.specialist__avatar {
  width: 39px;
  height: 39px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--blue-600), var(--blue-800));
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.specialist > div:last-child {
  display: grid;
}

.specialist strong {
  font-size: 0.73rem;
}

.specialist span {
  color: #87919a;
  font-size: 0.65rem;
}

.paper-card__seal {
  min-width: 59px;
  padding: 8px 9px;
  color: var(--blue-800);
  background: var(--cream);
  border: 1px solid rgba(216, 168, 78, 0.4);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.55rem;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-6deg);
}

.paper-card__seal strong {
  font-size: 0.87rem;
}

.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  color: #405363;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 61, 99, 0.1);
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
  font-size: 0.68rem;
  font-weight: 750;
}

.floating-note--top {
  top: 1px;
  right: -18px;
  transform: rotate(-3deg);
}

.floating-note--top svg {
  width: 20px;
  height: 20px;
  padding: 4px;
  color: var(--green);
  background: rgba(30, 170, 102, 0.1);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

.floating-note--bottom {
  bottom: -13px;
  left: 0;
  transform: rotate(2deg);
}

.floating-note--bottom span {
  padding: 3px 6px;
  color: white;
  background: var(--blue-700);
  border-radius: 4px;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.trust-strip {
  color: white;
  background: var(--blue-800);
}

.trust-strip__grid {
  min-height: 98px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.trust-strip__grid > div {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.trust-strip__grid > div:last-child {
  border-right: 0;
}

.trust-strip svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: var(--gold-light);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip span {
  display: grid;
}

.trust-strip strong {
  font-size: 0.84rem;
}

.trust-strip small {
  color: #b9cfde;
  font-size: 0.7rem;
}

.section {
  padding-block: 118px;
}

.services {
  background: white;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 100px;
  margin-bottom: 56px;
}

.section-heading h2,
.story h2,
.contact h2 {
  margin-top: 13px;
  font-size: clamp(2.4rem, 4vw, 3.55rem);
}

.section-heading p {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.75;
}

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

.service-card {
  position: relative;
  min-height: 438px;
  display: flex;
  flex-direction: column;
  padding: 32px 29px 28px;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid #e7ecef;
  border-radius: var(--radius);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(24, 84, 135, 0.22);
  box-shadow: var(--shadow-sm);
}

.service-card--featured {
  color: white;
  background: var(--blue-800);
  border-color: transparent;
}

.service-card--featured::after {
  position: absolute;
  right: -85px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  content: "";
  border: 45px solid rgba(255, 255, 255, 0.025);
  border-radius: 50%;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: white;
  border: 1px solid #e1e7eb;
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(10, 38, 60, 0.06);
}

.service-card__icon svg,
.senior-callout__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card--featured .service-card__icon {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.service-card__tag {
  position: absolute;
  top: 32px;
  right: 28px;
  padding: 5px 9px;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3,
.senior-callout h3 {
  margin: 27px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.48rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.service-card > p {
  min-height: 76px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.service-card--featured > p {
  color: #c4d5e2;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 21px 0 24px;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 20px;
  color: #445766;
  font-size: 0.79rem;
}

.service-card li::before {
  position: absolute;
  top: 0.48em;
  left: 2px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.service-card--featured li {
  color: #d6e2ea;
}

.service-card > a {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: auto;
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 800;
}

.service-card > a span {
  margin-left: 5px;
  color: var(--gold);
  font-size: 1rem;
}

.service-card--featured > a {
  color: white;
}

.service-card--wide {
  min-height: auto;
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 27px;
  background: var(--cream);
  border-color: rgba(216, 168, 78, 0.2);
}

.service-card__wide-copy {
  display: flex;
  align-items: center;
  gap: 20px;
}

.service-card__wide-copy h3 {
  margin: 0;
}

.service-card__wide-copy p {
  margin: 3px 0 0;
  color: #6f6a60;
  font-size: 0.8rem;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.service-pills span {
  padding: 7px 11px;
  color: #59636b;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 61, 99, 0.09);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.senior-callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
  margin-top: 20px;
  padding: 29px 34px;
  background: white;
  border: 1px solid #dfe7ec;
  border-radius: var(--radius);
  box-shadow: 0 15px 45px rgba(9, 36, 56, 0.06);
}

.senior-callout__icon {
  width: 59px;
  height: 59px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 16px;
}

.senior-callout span {
  color: var(--blue-700);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.senior-callout h3 {
  margin: 3px 0 2px;
  font-size: 1.22rem;
}

.senior-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.process {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--navy-950);
}

.process::before {
  position: absolute;
  top: -280px;
  left: -180px;
  width: 620px;
  height: 620px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.012), 0 0 0 140px rgba(255, 255, 255, 0.01);
}

.process__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 120px;
}

.section-kicker--light {
  color: var(--gold-light);
}

.process h2 {
  margin-top: 14px;
  color: white;
  font-size: clamp(2.45rem, 4vw, 3.65rem);
}

.process__intro p {
  max-width: 460px;
  margin: 25px 0 33px;
  color: #a9becd;
  line-height: 1.75;
}

.process__steps {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process__steps::before {
  position: absolute;
  top: 35px;
  bottom: 35px;
  left: 34px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--gold), rgba(216, 168, 78, 0.05));
}

.process__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 25px;
  padding: 25px 26px 25px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
}

.process__steps li > span {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-left: 12px;
  color: var(--gold-light);
  background: var(--navy-950);
  border: 1px solid rgba(216, 168, 78, 0.42);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.79rem;
}

.process__steps h3 {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14rem;
  font-weight: 500;
}

.process__steps p {
  margin: 0;
  color: #9bb0bf;
  font-size: 0.8rem;
}

.story {
  background: white;
}

.story__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 100px;
}

.story__visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(145deg, rgba(18, 61, 99, 0.97), rgba(7, 24, 39, 0.98)),
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(255, 255, 255, 0.03) 36px);
  border-radius: 3px 3px 70px 3px;
  box-shadow: var(--shadow-lg);
}

.story__visual::before {
  position: absolute;
  top: -55px;
  right: -65px;
  width: 250px;
  height: 250px;
  content: "";
  border: 55px solid rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.story__year {
  position: absolute;
  top: 42px;
  left: 44px;
  display: grid;
}

.story__year span {
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.story__year strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.story__quote {
  position: absolute;
  right: 42px;
  bottom: 45px;
  left: 44px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.63rem;
  line-height: 1.25;
}

.story__quote svg {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--gold);
  fill: currentColor;
}

.story__lines {
  position: absolute;
  top: 175px;
  right: 45px;
  left: 45px;
  height: 90px;
  opacity: 0.15;
  background: repeating-linear-gradient(0deg, white 0 1px, transparent 1px 22px);
  transform: rotate(-2deg);
}

.story__lead {
  margin: 26px 0 17px;
  color: #3d5262;
  font-size: 1.06rem;
  line-height: 1.75;
}

.story__copy > p:not(.story__lead) {
  color: var(--muted);
  line-height: 1.75;
}

.story__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 31px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.story__values div {
  display: grid;
}

.story__values strong {
  color: var(--blue-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
}

.story__values span {
  color: #8a949d;
  font-size: 0.67rem;
}

.integrity {
  padding-block: 62px;
  background: var(--cream);
  border-block: 1px solid rgba(216, 168, 78, 0.18);
}

.integrity__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
}

.integrity__icon {
  width: 79px;
  height: 79px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 61, 99, 0.12);
  border-radius: 50%;
}

.integrity__icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.integrity span {
  color: var(--blue-700);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.integrity h2 {
  margin-top: 6px;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.integrity p {
  margin: 9px 0 0;
  color: #6b6c68;
  font-size: 0.86rem;
}

.contact {
  background: var(--off-white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.contact__copy > p {
  max-width: 510px;
  margin: 24px 0 34px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-list {
  display: grid;
  gap: 13px;
  font-style: normal;
}

.contact-list > a,
.contact-list > div {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 11px 0;
  color: #5f6e79;
  font-size: 0.8rem;
  line-height: 1.55;
}

.contact-list > a:hover strong {
  color: var(--blue-600);
}

.contact-list svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--blue-700);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list span {
  display: grid;
}

.contact-list strong {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.78rem;
  transition: color 150ms ease;
}

.contact-form {
  padding: 37px 38px 30px;
  background: white;
  border: 1px solid #e2e8ec;
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(8, 35, 56, 0.09);
}

.contact-form__head {
  margin-bottom: 25px;
}

.contact-form__head span {
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.contact-form__head p {
  margin: 3px 0 0;
  color: #87929b;
  font-size: 0.75rem;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: #415464;
  font-size: 0.74rem;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  background: #f8fafb;
  border: 1px solid #dfe6ea;
  border-radius: 9px;
  outline: none;
  font-size: 0.84rem;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.contact-form input,
.contact-form select {
  height: 49px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 105px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: white;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(36, 106, 163, 0.09);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9da6ad;
}

.contact-form > small {
  display: block;
  margin-top: 10px;
  color: #929ba3;
  font-size: 0.65rem;
  text-align: center;
}

.site-footer {
  color: white;
  background: var(--navy-950);
}

.site-footer__top {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 50px;
  padding-block: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.brand--footer .brand__mark,
.brand--footer .brand__com {
  color: var(--gold-light);
}

.brand--footer .brand__academic {
  color: white;
}

.brand--footer .brand__tagline {
  color: #8fa6b6;
}

.site-footer__top > p {
  max-width: 380px;
  margin: 0;
  color: #9eb1bf;
  font-size: 0.81rem;
}

.site-footer__bottom {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #768e9f;
  font-size: 0.65rem;
}

.site-footer__demo {
  color: #bdc8cf;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: white;
  background: #1fbf68;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(10, 75, 41, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 36px rgba(10, 75, 41, 0.34);
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal--delay-short {
  transition-delay: 90ms;
}

.reveal--delay,
.reveal--delay-long {
  transition-delay: 180ms;
}

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

:focus-visible {
  outline: 3px solid rgba(216, 168, 78, 0.75);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 19px;
  }

  .hero__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 35px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 5.3vw, 3.8rem);
  }

  .paper-card {
    padding-inline: 25px;
  }

  .process__grid,
  .story__grid,
  .contact__grid {
    gap: 65px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    z-index: 102;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    width: min(84vw, 390px);
    height: calc(100dvh - 72px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 38px 36px 50px;
    overflow-y: auto;
    background: white;
    box-shadow: -20px 0 60px rgba(7, 24, 39, 0.16);
    transform: translateX(110%);
    transition: transform 230ms ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav > a:not(.button) {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 500;
  }

  .main-nav > a:not(.button)::after {
    display: none;
  }

  .main-nav .button {
    margin-top: 25px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-block: 75px 95px;
  }

  .hero__copy {
    max-width: 670px;
  }

  .hero__visual {
    width: 90%;
    max-width: 610px;
    margin: 0 auto;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr;
    padding-block: 14px;
  }

  .trust-strip__grid > div {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .trust-strip__grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 90px;
  }

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

  .service-card:last-of-type:not(.service-card--wide) {
    grid-column: auto;
  }

  .service-card--wide {
    grid-column: 1 / -1;
  }

  .service-card:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 390px;
  }

  .process__grid,
  .story__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .process__grid {
    gap: 60px;
  }

  .process__intro {
    max-width: 620px;
  }

  .story__visual {
    min-height: 400px;
  }

  .contact__copy {
    max-width: 650px;
  }

  .site-footer__top {
    grid-template-columns: 1fr auto;
  }

  .site-footer__top > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .demo-bar {
    font-size: 0.61rem;
    letter-spacing: 0.035em;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__academic {
    font-size: 1.27rem;
  }

  .brand__com {
    font-size: 1.4rem;
  }

  .brand__tagline {
    font-size: 0.52rem;
  }

  .hero__grid {
    min-height: auto;
    padding-block: 60px 77px;
  }

  .eyebrow {
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.35rem);
  }

  .hero__lead {
    margin-top: 25px;
    font-size: 1rem;
  }

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

  .hero__actions .button {
    width: 100%;
  }

  .hero__actions .text-link {
    justify-content: center;
  }

  .hero__visual {
    width: 100%;
    padding-left: 0;
  }

  .paper-card {
    padding: 23px 18px 22px;
  }

  .paper-card::before {
    inset: 9px -7px -9px 7px;
  }

  .paper-card::after {
    inset: 17px -13px -17px 13px;
  }

  .paper-card__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .paper-card__title-row h2 {
    font-size: 1.35rem;
  }

  .paper-card__cap {
    width: 45px;
    height: 45px;
  }

  .project-step {
    grid-template-columns: 34px 1fr 23px;
    gap: 9px;
    padding-inline: 10px;
  }

  .project-step__number {
    width: 31px;
    height: 31px;
  }

  .project-step strong {
    font-size: 0.72rem;
  }

  .project-step small {
    font-size: 0.61rem;
  }

  .paper-card__footer {
    align-items: flex-start;
  }

  .specialist strong {
    font-size: 0.67rem;
  }

  .floating-note--top {
    right: -3px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 23px;
    margin-bottom: 38px;
  }

  .section-heading h2,
  .story h2,
  .contact h2 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

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

  .service-card,
  .service-card:nth-child(3) {
    min-height: 410px;
    grid-column: auto;
  }

  .service-card--wide {
    align-items: stretch;
    flex-direction: column;
    grid-column: auto;
  }

  .service-pills {
    justify-content: flex-start;
  }

  .senior-callout {
    grid-template-columns: auto 1fr;
    padding: 25px 22px;
  }

  .senior-callout .button {
    grid-column: 1 / -1;
  }

  .process__steps li {
    grid-template-columns: 55px 1fr;
    gap: 15px;
  }

  .process__steps::before {
    left: 28px;
  }

  .process__steps li > span {
    width: 37px;
    height: 37px;
    margin-left: 9px;
  }

  .story__grid {
    gap: 58px;
  }

  .story__visual {
    min-height: 350px;
  }

  .story__year {
    top: 32px;
    left: 30px;
  }

  .story__year strong {
    font-size: 3.9rem;
  }

  .story__quote {
    right: 30px;
    bottom: 34px;
    left: 30px;
    font-size: 1.35rem;
  }

  .story__values {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .integrity__icon {
    width: 64px;
    height: 64px;
  }

  .contact__grid {
    gap: 55px;
  }

  .contact-form {
    padding: 29px 21px 24px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 45px;
  }

  .site-footer__top > p {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer__top .button {
    justify-self: start;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 22px;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 53px;
    height: 53px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
