:root {
  --ink: #17264f;
  --ink-soft: #435172;
  --blue: #1c3d91;
  --blue-bright: #007ec2;
  --blue-pale: #e8f5fb;
  --orange: #d95421;
  --orange-bright: #ef6a2c;
  --orange-pale: #fff0e8;
  --paper: #fbfcfe;
  --line: #dbe3f0;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(20, 44, 100, 0.11);
  --shell: min(1160px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

img { display: block; max-width: 100%; }

h1, h2, h3, p { margin: 0; }

h1, h2, h3 { letter-spacing: -0.045em; line-height: 1.02; }

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 16px;
  transform: translateY(-120%);
  padding: 10px 14px;
  border-radius: 0 0 8px 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid rgba(219, 227, 240, 0.86);
  background: rgba(251, 252, 254, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand { display: block; width: 180px; }

.brand img { width: 100%; height: auto; }

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

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue); }

.site-nav .nav-contact {
  padding: 10px 15px;
  border: 1px solid var(--blue);
  border-radius: 99px;
  color: var(--blue);
}

.site-nav .nav-contact:hover, .site-nav .nav-contact:focus-visible { background: var(--blue); color: var(--white); }

.hero { position: relative; overflow: hidden; background: var(--white); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.94fr);
  gap: 78px;
  min-height: 628px;
  align-items: center;
  padding: 104px 0 88px;
}

.hero-shape { position: absolute; border-radius: 999px; pointer-events: none; }

.shape-one {
  width: min(46vw, 650px);
  height: min(46vw, 650px);
  right: -21vw;
  top: -37vw;
  border: 42px solid rgba(0, 126, 194, 0.08);
  border-radius: 42px;
  transform: rotate(15deg);
}

.shape-two {
  width: 190px;
  height: 190px;
  right: 9vw;
  bottom: -104px;
  background: rgba(239, 106, 44, 0.1);
  border-radius: 25px;
  transform: rotate(-14deg);
}

.hero-copy, .hero-paths { position: relative; z-index: 1; }

.eyebrow, .service-kicker {
  margin-bottom: 19px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 { max-width: 680px; font-size: clamp(3.9rem, 7.2vw, 6.7rem); }

.hero h1 span { color: var(--orange); }

.hero-intro {
  max-width: 585px;
  margin-top: 29px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.23rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  gap: 16px;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(26, 47, 94, 0.15); }

.button-primary { background: var(--blue); color: var(--white); }
.button-secondary { border-color: var(--orange); background: var(--orange); color: var(--white); }
.button-secondary:hover, .button-secondary:focus-visible { background: #ba4219; border-color: #ba4219; }

.hero-paths { display: grid; gap: 16px; }

.path-card {
  position: relative;
  display: grid;
  min-height: 202px;
  grid-template-columns: 52px 1fr;
  gap: 2px 14px;
  padding: 27px 30px 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 31px rgba(20, 44, 100, 0.06);
  overflow: hidden;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.path-card::after {
  position: absolute;
  width: 106px;
  height: 106px;
  right: -43px;
  bottom: -35px;
  border-radius: 26px;
  transform: rotate(-14deg);
  content: "";
}

.path-card:hover, .path-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }

.path-number { grid-row: span 3; color: #9eabc8; font-size: 0.77rem; font-weight: 800; letter-spacing: 0.08em; }
.path-label { color: var(--blue); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.055em; text-transform: uppercase; }
.path-card strong { max-width: 365px; font-size: 1.36rem; letter-spacing: -0.035em; line-height: 1.16; }
.path-link { margin-top: 11px; color: var(--blue); font-size: 0.9rem; font-weight: 800; }
.path-development::after { background: rgba(0, 126, 194, 0.12); }
.path-support::after { background: rgba(239, 106, 44, 0.14); }
.path-support .path-label, .path-support .path-link { color: #b3421b; }

.intro-band { background: var(--blue); color: var(--white); }

.intro-band-inner {
  display: flex;
  min-height: 102px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.intro-band p { max-width: 780px; font-size: clamp(1.16rem, 2.1vw, 1.5rem); font-weight: 650; letter-spacing: -0.025em; line-height: 1.35; }
.intro-band a { font-size: 0.9rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.intro-band a:hover, .intro-band a:focus-visible { text-decoration: underline; }

.service-section { padding: 126px 0; }
.development-section { background: var(--paper); }
.support-section { background: var(--orange-pale); }

.service-layout { display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(400px, 0.82fr); gap: 12vw; align-items: center; }
.service-kicker span { color: #6e7c9e; font-weight: 650; letter-spacing: 0; text-transform: none; }
.orange-kicker { color: #a33b19; }
.service-intro h2, .section-heading h2, .about-heading h2, .contact-card h2 { font-size: clamp(2.35rem, 4.6vw, 4.2rem); }
.service-lead { max-width: 610px; margin-top: 26px; color: var(--ink-soft); font-size: 1.1rem; line-height: 1.7; }

.text-link {
  display: inline-flex;
  gap: 11px;
  margin-top: 32px;
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.text-link:hover, .text-link:focus-visible { color: var(--blue-bright); }
.orange-link { color: #a33b19; }
.orange-link:hover, .orange-link:focus-visible { color: var(--orange); }

.service-detail {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.support-detail { border-color: #f1c8b5; }
.service-list { margin: 0; padding: 14px 30px; list-style: none; }
.service-list li { display: grid; grid-template-columns: 43px 1fr; gap: 4px; padding: 19px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; font-weight: 720; line-height: 1.35; }
.service-list li:last-child { border-bottom: 0; }
.service-list li span { color: var(--blue-bright); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.05em; }
.support-detail .service-list li { border-color: #f4d8ca; }
.support-detail .service-list li span { color: var(--orange); }

.profile-chip { display: flex; min-height: 98px; align-items: center; gap: 16px; padding: 12px 27px; background: var(--blue); color: var(--white); }
.support-detail .profile-chip { background: var(--orange); }
.profile-chip img { width: 65px; height: 76px; align-self: flex-end; object-fit: contain; object-position: bottom center; }
.profile-chip img.profile-photo-nick { align-self: center; border-radius: 7px; object-fit: cover; object-position: center 22%; }
.profile-chip img.profile-photo-jess { align-self: center; border-radius: 7px; object-fit: cover; object-position: center 22%; }
.profile-chip strong, .profile-chip span { display: block; }
.profile-chip strong { font-size: 0.99rem; letter-spacing: -0.02em; }
.profile-chip span { margin-top: 1px; font-size: 0.84rem; opacity: 0.86; }

.support-quote { margin-top: 97px; padding: 38px 0 0; border-top: 1px solid #efc7b4; }
.support-quote p { max-width: 910px; font-size: clamp(1.65rem, 3vw, 2.7rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1.18; }
.support-quote span { display: block; margin-top: 14px; color: #9d3a18; font-size: 0.83rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

.how-section { padding: 126px 0 119px; background: var(--white); }
.section-heading { display: grid; grid-template-columns: 210px minmax(0, 740px); gap: 30px; align-items: start; }
.section-heading .eyebrow { padding-top: 10px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-top: 74px; }
.step { padding: 25px 0 0; border-top: 2px solid var(--blue); }
.step:nth-child(2) { border-color: var(--blue-bright); }
.step:nth-child(3) { border-color: var(--orange); }
.step span { color: var(--blue); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; }
.step h3 { margin-top: 25px; font-size: 1.58rem; }
.step p { margin-top: 15px; color: var(--ink-soft); line-height: 1.65; }

.about-section { padding: 126px 0; background: #eef6fa; }
.about-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(550px, 1.15fr); gap: 77px; align-items: center; }
.about-heading > p:last-child { max-width: 470px; margin-top: 25px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.team-panel { overflow: hidden; border-radius: 18px; background: var(--white); box-shadow: 0 18px 34px rgba(20, 44, 100, 0.08); }
.team-photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--blue); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.team-contacts { display: grid; grid-template-columns: 1fr 1fr; }
.team-contacts article { padding: 21px 24px 24px; }
.team-contacts article + article { border-left: 1px solid var(--line); }
.team-contacts p { color: var(--blue); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.team-contacts article:nth-child(2) p { color: #ac3d17; }
.team-contacts h3 { margin-top: 7px; font-size: 1.45rem; }
.team-contacts a { display: inline-block; margin-top: 13px; color: var(--ink-soft); font-size: 0.9rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.team-contacts a:hover, .team-contacts a:focus-visible { color: var(--blue); }
.person { display: grid; min-height: 224px; grid-template-columns: minmax(125px, 0.82fr) minmax(0, 1.18fr); overflow: hidden; border-radius: 16px; background: var(--white); box-shadow: 0 18px 34px rgba(20, 44, 100, 0.08); }
.person-image-wrap { position: relative; min-height: 100%; overflow: hidden; background: var(--blue); }
.person-image-wrap::after { position: absolute; width: 178px; height: 178px; right: -58px; bottom: -70px; border: 18px solid rgba(255, 255, 255, 0.14); border-radius: 27px; content: ""; transform: rotate(-15deg); }
.person-jess .person-image-wrap { background: var(--orange); }
.person-image-wrap img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center 22%; }
.person-jess .person-image-wrap img { right: 11px; }
.person > div:last-child { padding: 23px 24px 25px; }
.person p { color: var(--blue); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.person-jess p { color: #ac3d17; }
.person h3 { margin-top: 7px; font-size: 1.45rem; }
.person a { display: inline-block; margin-top: 13px; color: var(--ink-soft); font-size: 0.9rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.person a:hover, .person a:focus-visible { color: var(--blue); }

.contact-section { padding: 112px 0; background: var(--blue); color: var(--white); }
.contact-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 0.8fr); gap: 65px; align-items: end; }
.contact-card .eyebrow { color: #adc8fb; }
.contact-card h2 { max-width: 650px; }
.contact-options { display: grid; gap: 12px; }
.contact-options a { display: flex; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); text-decoration: none; }
.contact-options span { color: #d6e3fd; font-size: 0.85rem; font-weight: 650; }
.contact-options strong { font-size: 1rem; }
.contact-options a:hover strong, .contact-options a:focus-visible strong { color: #ffc4a9; }

.site-footer { background: #101d3e; color: #dbe5fb; }
.footer-inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 24px; font-size: 0.84rem; }
.footer-brand { color: var(--white); font-size: 1.08rem; font-weight: 850; letter-spacing: -0.04em; text-decoration: none; }
.footer-brand span { color: #ff7a43; }
.footer-inner p { margin: 0; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 82px 0 76px; }
  .hero-paths { grid-template-columns: 1fr 1fr; }
  .path-card { min-height: 188px; padding: 24px; }
  .service-layout, .about-layout, .contact-card { grid-template-columns: 1fr; gap: 56px; }
  .service-detail { max-width: 650px; }
  .about-heading > p:last-child { max-width: 680px; }
  .contact-options { max-width: 650px; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 32px, 580px); }
  .header-inner { min-height: auto; flex-wrap: wrap; gap: 9px; padding: 13px 0; }
  .brand { width: 151px; }
  .site-nav { width: 100%; justify-content: space-between; gap: 10px; }
  .site-nav a { font-size: 0.78rem; }
  .site-nav .nav-contact { padding: 7px 10px; }
  .hero-grid { min-height: 0; padding: 67px 0 60px; }
  .hero h1 { font-size: clamp(3.5rem, 16.5vw, 4.9rem); }
  .hero-intro { margin-top: 24px; font-size: 1.04rem; }
  .hero-paths { grid-template-columns: 1fr; }
  .path-card { min-height: 172px; grid-template-columns: 38px 1fr; }
  .intro-band-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: 15px; padding: 28px 0; }
  .intro-band p { font-size: 1.13rem; }
  .service-section, .how-section, .about-section { padding: 82px 0; }
  .support-quote { margin-top: 58px; }
  .section-heading { display: block; }
  .section-heading .eyebrow { padding-top: 0; }
  .steps { grid-template-columns: 1fr; gap: 38px; margin-top: 53px; }
  .people-grid { grid-template-columns: 1fr; }
  .team-contacts { grid-template-columns: 1fr; }
  .team-contacts article + article { border-top: 1px solid var(--line); border-left: 0; }
  .person { min-height: 230px; grid-template-columns: 0.78fr 1.22fr; }
  .person-image-wrap { min-height: 245px; }
  .person-image-wrap img { max-height: 275px; }
  .person > div:last-child { align-self: end; padding: 22px 18px 24px; }
  .contact-section { padding: 78px 0; }
  .contact-card { gap: 43px; }
  .footer-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: 8px; padding: 27px 0; }
}

@media (max-width: 400px) {
  .site-nav { flex-wrap: wrap; justify-content: flex-start; gap: 8px 16px; }
  .service-list { padding: 10px 19px; }
  .profile-chip { padding: 10px 18px; }
  .person { grid-template-columns: 0.88fr 1.12fr; }
}
