:root {
  --ink: #111111;
  --muted: #5d6461;
  --line: #dfe5e2;
  --paper: #ffffff;
  --soft: #f4f7f5;
  --soft-green: #e6f4ee;
  --green: #0d8b58;
  --green-dark: #075b3b;
  --teal: #00897d;
  --red: #c8423a;
  --shadow: 0 22px 55px rgba(17, 17, 17, 0.12);
  --radius: 8px;
  --header-height: 84px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.clynico-site {
  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: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.clynico-site img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.clynico-site a {
  color: inherit;
  text-decoration: none;
}

body.clynico-site p {
  margin: 0 0 1rem;
}

body.clynico-site h1,
body.clynico-site h2,
body.clynico-site h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body.clynico-site h1 {
  font-size: 64px;
  max-width: 920px;
}

body.clynico-site h2 {
  font-size: 42px;
}

body.clynico-site h3 {
  font-size: 23px;
  line-height: 1.18;
}

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

.narrow {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 192px;
  min-height: 48px;
}

.brand img {
  max-height: 48px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 680;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 6px;
  color: #242927;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--soft-green);
  color: var(--green-dark);
}

.site-nav .header-cta {
  margin-left: 6px;
  background: var(--green);
  color: var(--paper);
}

.site-nav .header-cta:hover,
.site-nav .header-cta.active {
  background: var(--green-dark);
  color: var(--paper);
}

.clynico-site a:focus-visible,
.clynico-site button:focus-visible,
.clynico-site input:focus-visible,
.clynico-site textarea:focus-visible {
  outline: 3px solid rgba(13, 139, 88, 0.35);
  outline-offset: 3px;
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 720;
  cursor: pointer;
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 78vh;
  color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.18)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero-home {
  min-height: calc(78vh - var(--header-height));
}

.hero h1,
.hero p,
.page-hero h1,
.page-hero p {
  color: var(--paper);
}

.hero-inner,
.page-hero .container {
  padding: 92px 0;
}

.hero-copy,
.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 24px;
  font-size: 22px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.compact-hero {
  min-height: 430px;
}

.leadership-hero {
  min-height: 560px;
  background: var(--soft);
  color: var(--ink);
}

.leadership-hero h1,
.leadership-hero p {
  color: var(--ink);
}

.leadership-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 360px;
  align-items: center;
  gap: 56px;
  padding: 86px 0;
}

.leader-photo {
  margin: 0;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.leader-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #77e0b0;
}

.leadership-hero .eyebrow {
  color: var(--green);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button-row.centered {
  justify-content: center;
}

.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 760;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.contact-form button:hover {
  transform: translateY(-1px);
}

.button-primary,
.contact-form button {
  background: var(--green);
  color: var(--paper);
}

.button-primary:hover,
.contact-form button:hover {
  background: var(--green-dark);
  color: var(--paper);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--paper);
}

.button-secondary:hover {
  background: var(--paper);
  color: var(--ink);
}

.button-tertiary {
  border-color: var(--green);
  color: var(--green-dark);
  background: var(--paper);
}

.button-tertiary:hover {
  background: var(--soft-green);
}

.section {
  padding: 94px 0;
}

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

.section-soft {
  background: var(--soft);
}

.split-grid,
.media-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.prose-large {
  font-size: 22px;
  line-height: 1.55;
}

.section-image-band {
  background: var(--soft);
}

.media-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
}

.image-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

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

.process-step,
.company-card,
.value-grid article,
.pathway-grid article,
.qualification-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.process-step {
  padding: 22px;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--red);
  font-weight: 820;
}

.process-step h3 {
  margin-bottom: 10px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 20px;
  color: var(--muted);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.company-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 24px;
}

.route-card {
  gap: 0;
}

.company-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  margin-bottom: 18px;
}

.company-logo {
  width: min(150px, 70%);
  max-height: 50px;
  object-fit: contain;
  object-position: left center;
}

.company-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--soft-green);
  color: var(--green-dark);
  font-weight: 820;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.company-card h3 {
  margin-bottom: 14px;
}

.company-card p:not(.company-category) {
  color: var(--muted);
}

.company-card a {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 820;
}

.company-card a:hover {
  color: var(--red);
}

.company-category {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.section-contrast {
  background: var(--ink);
  color: var(--paper);
}

.section-contrast h2,
.section-contrast h3,
.section-contrast p,
.section-contrast li {
  color: var(--paper);
}

.section-contrast .eyebrow {
  color: #77e0b0;
}

.check-list,
.plain-list,
.statement-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.section-contrast .check-list li::before {
  background: #77e0b0;
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--red);
}

.qualification-grid,
.pathway-grid,
.value-grid,
.two-column {
  display: grid;
  gap: 18px;
}

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

.qualification-grid article {
  padding: 34px;
}

.panel-muted {
  background: var(--soft);
}

.two-column {
  grid-template-columns: 1fr 1fr;
}

.two-column article {
  padding-right: 40px;
}

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

.value-grid article,
.pathway-grid article {
  padding: 28px;
}

.value-grid h3,
.pathway-grid h2 {
  margin-bottom: 12px;
}

.value-grid p,
.pathway-grid p {
  color: var(--muted);
}

.company-section {
  padding: 70px 0;
}

.company-section:nth-of-type(even) {
  background: var(--soft);
}

.company-list {
  display: grid;
  gap: 14px;
}

.company-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.company-row-main {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.company-row-logo {
  width: 90px;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.company-row-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--soft-green);
  color: var(--green-dark);
  font-weight: 820;
}

.company-row:last-child {
  border-bottom: 1px solid var(--line);
}

.company-row p {
  max-width: 720px;
  color: var(--muted);
}

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

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

.statement-list {
  margin: 0;
}

.statement-list li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 24px;
  line-height: 1.25;
}

.final-cta {
  background: var(--soft-green);
  text-align: center;
}

.final-cta h1,
.final-cta h2 {
  margin: 0 auto 22px;
  max-width: 880px;
}

.final-cta p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: #323936;
  font-size: 20px;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
}

.contact-grid > div p:not(.eyebrow) {
  color: var(--muted);
  font-size: 20px;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-form label {
  margin-top: 6px;
  font-weight: 760;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cfd7d2;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form select {
  appearance: auto;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(13, 139, 88, 0.16);
}

.form-alert {
  padding: 14px 16px;
  border-radius: 6px;
  font-weight: 700;
}

.form-alert.success {
  background: var(--soft-green);
  color: var(--green-dark);
}

.form-alert.error {
  background: #fbe7e4;
  color: #8f221b;
}

.site-footer {
  background: #141414;
  color: rgba(255, 255, 255, 0.94);
  padding: 60px 0 28px;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--paper);
  font-size: 18px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr 0.85fr;
  gap: 40px;
}

.footer-logo {
  width: 190px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: grid;
  gap: 10px;
}

.footer-nav a:hover,
.footer-contact:hover {
  color: #77e0b0;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

.default-content h1 {
  margin-bottom: 28px;
}

@media (max-width: 1040px) {
  body.clynico-site h1 {
    font-size: 52px;
  }

  body.clynico-site h2 {
    font-size: 36px;
  }

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

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

  .pathway-grid-wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand {
    width: 158px;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    justify-content: space-between;
  }

  .site-nav .header-cta {
    margin-left: 0;
    justify-content: center;
  }

  .hero,
  .page-hero {
    min-height: 66vh;
  }

  .compact-hero {
    min-height: 360px;
  }

  .hero-inner,
  .page-hero .container,
  .leadership-hero-grid {
    padding: 66px 0;
  }

  body.clynico-site h1 {
    font-size: 40px;
  }

  body.clynico-site h2 {
    font-size: 31px;
  }

  .hero-copy,
  .page-hero p:not(.eyebrow),
  .prose-large {
    font-size: 19px;
  }

  .section {
    padding: 68px 0;
  }

  .split-grid,
  .media-grid,
  .contact-grid,
  .leadership-hero-grid,
  .qualification-grid,
  .two-column {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .media-grid {
    align-items: start;
  }

  .image-frame img {
    aspect-ratio: 16 / 11;
  }

  .leadership-hero {
    min-height: auto;
  }

  .leader-photo {
    max-width: 320px;
  }

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

  .company-card {
    min-height: 0;
  }

  .company-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .company-row-main {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .company-row-logo {
    width: 72px;
  }

  .contact-form {
    padding: 22px;
  }

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

@media (max-width: 520px) {
  body.clynico-site {
    font-size: 16px;
  }

  body.clynico-site h1 {
    font-size: 34px;
  }

  body.clynico-site h2 {
    font-size: 28px;
  }

  body.clynico-site h3 {
    font-size: 21px;
  }

  .hero,
  .page-hero {
    background-position: center;
  }

  .button-row,
  .button,
  .contact-form button {
    width: 100%;
  }

  .button {
    padding: 0 16px;
  }

  .qualification-grid article,
  .value-grid article,
  .pathway-grid article,
  .contact-form {
    padding: 22px;
  }

  .statement-list li {
    font-size: 20px;
  }
}
