:root {
  --ink: #17283f;
  --ink-deep: #0e1b2c;
  --teal: #0b7d78;
  --teal-light: #dff3ee;
  --sand: #f2e8d6;
  --paper: #f8f6f1;
  --white: #ffffff;
  --muted: #5f6a72;
  --line: #d9ddd9;
  --gold: #e5a83c;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 80px rgba(14, 27, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink-deep);
  transform: translateY(-160%);
}

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

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: rgba(248, 246, 241, 0.9);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(23, 40, 63, 0.08);
  box-shadow: 0 8px 30px rgba(23, 40, 63, 0.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:not(.nav-cta) {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 10px 17px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--white);
  background: var(--ink);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 112px;
}

.hero::before {
  position: absolute;
  top: -300px;
  right: -260px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(11, 125, 120, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(11, 125, 120, 0.025), 0 0 0 180px rgba(11, 125, 120, 0.018);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6.8vw, 90px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.97;
}

.hero-lead {
  max-width: 690px;
  margin: 34px 0 0;
  color: #3f4b56;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(23, 40, 63, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal);
  box-shadow: 0 14px 34px rgba(11, 125, 120, 0.22);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(23, 40, 63, 0.35);
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms ease;
}

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

.scope-note {
  max-width: 650px;
  margin: 32px 0 0;
  padding-left: 17px;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.decision-map {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fbfaf7 0 19%, #e8f1ec 20% 43%, #d9ede7 44% 62%, #c6e3da 63% 100%);
  box-shadow: var(--shadow);
}

.decision-map::before,
.decision-map::after {
  position: absolute;
  inset: 50%;
  width: 42%;
  height: 1px;
  background: rgba(23, 40, 63, 0.18);
  content: "";
  transform-origin: left;
}

.decision-map::before {
  transform: rotate(28deg);
}

.decision-map::after {
  transform: rotate(152deg);
}

.orbit {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(23, 40, 63, 0.14);
  border-radius: 50%;
}

.orbit-two {
  inset: 32%;
}

.map-node {
  position: absolute;
  display: grid;
  min-width: 92px;
  min-height: 44px;
  place-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(23, 40, 63, 0.1);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(23, 40, 63, 0.09);
  font-size: 13px;
  font-weight: 700;
}

.node-centre {
  top: 50%;
  left: 50%;
  width: 116px;
  height: 116px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.node-clinic {
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
}

.node-economy {
  top: 45%;
  right: 3%;
}

.node-framework {
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
}

.node-people {
  top: 45%;
  left: 2%;
}

.visual-caption {
  max-width: 380px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.principles {
  padding: 108px 0;
  background: var(--white);
}

.section-title {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.section-title.narrow {
  max-width: 920px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 62px;
}

.principle-card {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.card-number,
.service-index {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.principle-card h3 {
  margin: 74px 0 10px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
}

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

.services {
  padding: 120px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 60px;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.service-list {
  margin-top: 70px;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-item h3 {
  margin: -4px 0 7px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.service-item p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
}

.service-tag {
  justify-self: end;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--teal-light);
  color: var(--teal) !important;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.process {
  padding: 116px 0;
  color: var(--white);
  background: var(--ink);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 10vw, 150px);
}

.process .section-kicker {
  color: #6dd1c5;
}

.process-copy p:last-child {
  max-width: 510px;
  margin: 28px 0 0;
  color: #bdc6cf;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.process-steps li:first-child {
  padding-top: 0;
}

.process-steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #6dd1c5;
  font-size: 13px;
  font-weight: 700;
}

.process-steps h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.process-steps p {
  margin: 0;
  color: #bdc6cf;
}

.pulse {
  padding: 120px 0;
}

.pulse-card {
  overflow: hidden;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, #075f5b 0%, #0a8179 55%, #0a6c75 100%);
  box-shadow: 0 34px 80px rgba(8, 101, 97, 0.2);
}

.pulse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.pulse-header p {
  margin: 0;
  color: #d5f6f0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pulse-mark {
  display: flex;
  height: 24px;
  align-items: center;
  gap: 4px;
}

.pulse-mark span {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: #b8f1e8;
}

.pulse-mark span:nth-child(1),
.pulse-mark span:nth-child(5) {
  height: 7px;
}

.pulse-mark span:nth-child(2),
.pulse-mark span:nth-child(4) {
  height: 16px;
}

.pulse-mark span:nth-child(3) {
  height: 23px;
}

.pulse-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  padding: clamp(44px, 7vw, 86px);
}

.section-kicker.light {
  color: #b8f1e8;
}

.pulse h2 {
  max-width: 620px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(43px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pulse-copy p {
  margin: 0 0 18px;
  color: #d7eeeb;
}

.light-link {
  margin-top: 18px;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.light-link:hover span,
.light-link:focus-visible span {
  transform: translateX(4px);
}

.about {
  padding: 20px 0 130px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(70px, 10vw, 160px);
}

.about-lead {
  margin: 0 0 45px;
  color: #3f4b56;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.4;
}

.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 36px;
}

.credentials > div {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.credentials h3 {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.credentials p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  padding: 0 0 56px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 80px;
  padding: clamp(42px, 7vw, 82px);
  border-radius: 12px;
  color: var(--white);
  background: var(--ink-deep);
}

.contact h2 {
  max-width: 590px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(43px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.contact-copy p {
  margin: 0 0 28px;
  color: #bec9d3;
}

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

.button-light:hover,
.button-light:focus-visible {
  background: #b8f1e8;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
  text-align: center;
}

.footer-inner p:last-child {
  text-align: right;
}

.footer-brand {
  color: var(--ink);
}

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

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    color: var(--ink);
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .menu-lines,
  .menu-lines::before,
  .menu-lines::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-lines {
    position: relative;
  }

  .menu-lines::before {
    position: absolute;
    top: -6px;
  }

  .menu-lines::after {
    position: absolute;
    top: 6px;
  }

  .menu-button[aria-expanded="true"] .menu-lines {
    background: transparent;
  }

  .menu-button[aria-expanded="true"] .menu-lines::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-lines::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 18px 24px 28px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 28px rgba(23, 40, 63, 0.08);
  }

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

  .site-nav a {
    padding: 12px 0;
  }

  .site-nav a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero-grid,
  .section-heading,
  .process-grid,
  .pulse-grid,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 76px;
  }

  .hero-visual {
    width: min(560px, 100%);
    margin-inline: auto;
  }

  .section-heading,
  .about-grid {
    gap: 34px;
  }

  .process-grid,
  .pulse-grid,
  .contact-card {
    gap: 52px;
  }

  .section-intro {
    max-width: 680px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }

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

  .hero {
    padding: 64px 0 82px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .decision-map {
    max-width: 500px;
    margin-inline: auto;
  }

  .map-node {
    min-width: 76px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .node-centre {
    width: 96px;
    height: 96px;
  }

  .principles,
  .services,
  .process,
  .pulse {
    padding: 82px 0;
  }

  .about {
    padding: 10px 0 90px;
  }

  .section-title {
    font-size: 42px;
  }

  .principle-grid,
  .credentials {
    grid-template-columns: 1fr;
  }

  .principle-grid {
    margin-top: 44px;
  }

  .principle-card {
    min-height: 240px;
  }

  .principle-card h3 {
    margin-top: 44px;
  }

  .service-list {
    margin-top: 45px;
  }

  .service-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .service-tag {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px !important;
  }

  .pulse-grid,
  .contact-card {
    padding: 38px 26px 46px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner p,
  .footer-inner p:last-child {
    text-align: left;
  }
}

@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;
  }
}
