:root {
  --color-ink: #13283a;
  --color-muted: #5f7282;
  --color-soft: #8797a4;
  --color-line: #d9e4ec;
  --color-blue: #1f6fa9;
  --color-blue-deep: #184d78;
  --color-blue-soft: #e7f2fb;
  --color-surface: #ffffff;
  --color-surface-muted: #f5f8fb;
  --shadow-soft: 0 22px 70px rgba(18, 48, 75, 0.12);
  --shadow-card: 0 18px 42px rgba(20, 54, 83, 0.08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 48px));
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background:
    radial-gradient(circle at top left, rgba(207, 229, 245, 0.72), transparent 34rem),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 38%, #f4f8fb 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(31, 111, 169, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 111, 169, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 18px auto 0;
  padding: 14px 16px 14px 18px;
  border: 1px solid rgba(217, 228, 236, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 38px rgba(25, 61, 92, 0.08);
  transition: box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.site-header[data-elevated="true"] {
  border-color: rgba(199, 216, 228, 0.94);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 46px rgba(25, 61, 92, 0.13);
}

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

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(31, 111, 169, 0.2);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(231, 242, 251, 0.8)),
    radial-gradient(circle, rgba(31, 111, 169, 0.18), transparent 64%);
  box-shadow: inset 0 0 0 7px rgba(31, 111, 169, 0.08);
}

.brand-mark::after {
  position: absolute;
  inset: 9px;
  content: "";
  border-radius: 50%;
  background: var(--color-blue);
}

.primary-nav {
  display: flex;
  gap: 26px;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.primary-nav a,
.site-footer a {
  transition: color 180ms ease;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-blue-deep);
  box-shadow: 0 10px 24px rgba(24, 77, 120, 0.18);
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover {
  background: var(--color-blue);
  box-shadow: 0 14px 30px rgba(31, 111, 169, 0.22);
  transform: translateY(-1px);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 118px 0;
}

.hero {
  min-height: calc(100vh - 78px);
  padding-top: 86px;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 96px;
  align-items: center;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--color-blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 520px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 4.7vw, 5rem);
  line-height: 1.06;
  overflow-wrap: normal;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 4.5vw, 4.65rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.hero-subtitle,
.section-heading p,
.split-copy p,
.cta-panel p {
  color: var(--color-muted);
  font-size: 1.08rem;
}

.hero-subtitle {
  max-width: 490px;
  margin-bottom: 34px;
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 750;
  transition: transform 190ms ease, box-shadow 190ms ease, background 190ms ease, border-color 190ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-blue-deep), var(--color-blue));
  box-shadow: 0 18px 34px rgba(31, 111, 169, 0.24);
}

.button-primary:hover {
  box-shadow: 0 22px 42px rgba(31, 111, 169, 0.32);
}

.button-secondary {
  border: 1px solid var(--color-line);
  color: var(--color-blue-deep);
  background: rgba(255, 255, 255, 0.78);
}

.button-secondary:hover {
  border-color: rgba(31, 111, 169, 0.32);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 520px;
  margin: 0;
}

.trust-metrics div {
  padding: 18px;
  border: 1px solid rgba(217, 228, 236, 0.72);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px);
}

.trust-metrics dt {
  margin-bottom: 4px;
  color: var(--color-blue-deep);
  font-weight: 800;
}

.trust-metrics dd {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.83rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before,
.documentation-visual::before,
.cta-panel::before {
  position: absolute;
  content: "";
  border-radius: 999px;
  background: rgba(31, 111, 169, 0.12);
  filter: blur(48px);
}

.hero-visual::before {
  right: 9%;
  bottom: 6%;
  width: 280px;
  height: 280px;
}

.lab-panel {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(213, 225, 235, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.image-panel {
  margin: 0;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo {
  aspect-ratio: 1.12;
}

.hero-photo img {
  border-radius: 24px;
}

.hero-photo::after,
.process-photo::after,
.client-photo::after {
  position: absolute;
  inset: 12px;
  content: "";
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(9, 31, 51, 0.04), rgba(9, 31, 51, 0.18));
  pointer-events: none;
}

.hero-photo figcaption,
.client-photo figcaption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 18px;
  color: #ffffff;
  background: rgba(15, 48, 76, 0.52);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 34px rgba(10, 34, 55, 0.2);
}

.hero-photo figcaption span,
.client-photo figcaption span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-photo figcaption strong,
.client-photo figcaption strong {
  display: block;
  max-width: 460px;
  font-size: 0.98rem;
  line-height: 1.35;
}

.lab-toolbar {
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 2;
  display: flex;
  gap: 7px;
}

.lab-toolbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b7c7d4;
}

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

.section-heading p {
  max-width: 720px;
}

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

.service-card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid rgba(217, 228, 236, 0.8);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 253, 0.78)),
    radial-gradient(circle at top right, rgba(31, 111, 169, 0.08), transparent 42%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  border-color: rgba(31, 111, 169, 0.24);
  box-shadow: var(--shadow-card);
  transform: translateY(-5px);
}

.service-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.icon {
  display: inline-grid;
  position: relative;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 42px;
  border-radius: 16px;
  background: var(--color-blue-soft);
}

.icon::before,
.icon::after {
  position: absolute;
  content: "";
}

.icon-shield::before {
  width: 19px;
  height: 24px;
  border: 2px solid var(--color-blue);
  border-radius: 12px 12px 9px 9px;
  transform: rotate(45deg);
}

.icon-dossier::before {
  width: 22px;
  height: 27px;
  border: 2px solid var(--color-blue);
  border-radius: 5px;
}

.icon-dossier::after {
  width: 12px;
  height: 2px;
  background: var(--color-blue);
  box-shadow: 0 7px 0 var(--color-blue);
}

.icon-scale::before {
  width: 24px;
  height: 2px;
  background: var(--color-blue);
  box-shadow: 0 16px 0 var(--color-blue);
}

.icon-scale::after {
  width: 2px;
  height: 28px;
  background: var(--color-blue);
}

.icon-network::before {
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-blue);
  border-radius: 50%;
}

.icon-network::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-blue);
  box-shadow: -12px 8px 0 var(--color-blue), 12px 8px 0 var(--color-blue);
}

.icon-search::before {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-blue);
  border-radius: 50%;
}

.icon-search::after {
  right: 13px;
  bottom: 13px;
  width: 12px;
  height: 2px;
  background: var(--color-blue);
  transform: rotate(45deg);
}

.icon-system::before {
  width: 26px;
  height: 18px;
  border: 2px solid var(--color-blue);
  border-radius: 7px;
}

.icon-system::after {
  width: 16px;
  height: 2px;
  background: var(--color-blue);
  box-shadow: 0 -7px 0 var(--color-blue), 0 7px 0 var(--color-blue);
}

.process {
  padding-top: 80px;
}

.workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow::before {
  position: absolute;
  top: 33px;
  left: 8%;
  right: 8%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(31, 111, 169, 0.42), transparent);
}

.workflow li {
  position: relative;
  min-height: 156px;
  padding: 22px 18px;
  border: 1px solid rgba(217, 228, 236, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(20, 54, 83, 0.06);
}

.workflow span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-blue-deep);
  font-size: 0.72rem;
  font-weight: 800;
}

.workflow strong {
  display: block;
  font-size: 0.93rem;
  line-height: 1.35;
}

.process-photo {
  position: relative;
  overflow: hidden;
  height: clamp(230px, 31vw, 360px);
  margin-top: 24px;
  border: 1px solid rgba(217, 228, 236, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.process-photo img {
  object-position: top center;
}

.about,
.documentation {
  grid-template-columns: 1fr 1fr;
}

.statement {
  color: var(--color-ink) !important;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem) !important;
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.science-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: 20px;
  border: 1px solid rgba(217, 228, 236, 0.82);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 42% 35%, rgba(31, 111, 169, 0.15), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(238, 246, 252, 0.72));
  box-shadow: var(--shadow-soft);
}

.science-photo {
  width: 100%;
  height: 285px;
  border-radius: 22px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 34px rgba(20, 54, 83, 0.12);
}

.orbital {
  position: absolute;
  top: 48px;
  right: 42px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(31, 111, 169, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(3px);
}

.orbital::before,
.orbital::after {
  position: absolute;
  inset: 40px;
  content: "";
  border: 1px solid rgba(31, 111, 169, 0.16);
  border-radius: 50%;
}

.orbital::after {
  inset: 82px;
}

.orbital span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-blue);
}

.orbital span:nth-child(1) {
  top: 16px;
  left: 96px;
}

.orbital span:nth-child(2) {
  right: 26px;
  bottom: 70px;
}

.orbital span:nth-child(3) {
  bottom: 28px;
  left: 58px;
}

.science-list {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  gap: 12px;
}

.science-list div {
  padding: 18px;
  border: 1px solid rgba(217, 228, 236, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
}

.science-list strong,
.science-list span {
  display: block;
}

.science-list span {
  color: var(--color-muted);
  font-size: 0.9rem;
}

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

.industry-grid span {
  min-height: 118px;
  padding: 24px;
  border: 1px solid rgba(217, 228, 236, 0.78);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-blue-deep);
  font-weight: 750;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.industry-grid span:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.client-photo {
  position: relative;
  overflow: hidden;
  height: clamp(300px, 46vw, 520px);
  margin-top: 18px;
  border: 1px solid rgba(217, 228, 236, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.client-photo img {
  object-position: center 42%;
}

.documentation-visual {
  position: relative;
  min-height: 520px;
}

.documentation-visual::before {
  top: 12%;
  left: 18%;
  width: 300px;
  height: 300px;
}

.documentation-visual::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  border: 1px solid rgba(217, 228, 236, 0.78);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(246, 250, 253, 0.94), rgba(246, 250, 253, 0.28)),
    url("/comphico-4-1200.webp");
  background-position: 88% 100%;
  background-size: 180%;
  box-shadow: var(--shadow-soft);
  opacity: 0.88;
}

.dossier-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  padding: 34px;
}

.dossier-stack article {
  position: relative;
  padding: 28px 30px;
  border: 1px solid rgba(217, 228, 236, 0.86);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.dossier-stack article:nth-child(2) {
  margin-left: 52px;
}

.dossier-stack article:nth-child(3) {
  margin-left: 104px;
}

.dossier-stack span {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--color-blue);
  background: var(--color-blue-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.dossier-stack p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--color-muted);
}

.check-list li::before {
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 18px;
  height: 18px;
  content: "";
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--color-blue-deep), var(--color-blue)),
    var(--color-blue);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.6);
}

.cta {
  padding-top: 64px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 82px);
  border: 1px solid rgba(217, 228, 236, 0.86);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(235, 245, 252, 0.72)),
    radial-gradient(circle at 80% 10%, rgba(31, 111, 169, 0.14), transparent 32%);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.cta-panel::before {
  top: -90px;
  right: 10%;
  width: 300px;
  height: 300px;
}

.cta-panel h2,
.cta-panel p,
.cta-panel .button {
  position: relative;
}

.cta-panel p {
  max-width: 620px;
  margin: 0 auto 30px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 0.8fr;
  gap: 42px;
  width: var(--container);
  margin: 0 auto;
  padding: 54px 0 64px;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
}

.site-footer > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

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

.site-footer p {
  max-width: 370px;
  margin: 10px 0 0;
}

.site-footer h2 {
  margin-bottom: 8px;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  font-size: 0.92rem;
}

.linkedin {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: 8px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-blue-deep);
  background: #ffffff;
}

.linkedin svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

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

@media (max-width: 1080px) {
  .primary-nav {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

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

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

  .workflow::before {
    display: none;
  }

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

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 32px, 1180px);
  }

  .site-header {
    margin-top: 12px;
    padding: 12px;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    padding-top: 64px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

  h2 {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
  }

  .hero-actions,
  .trust-metrics,
  .card-grid,
  .workflow,
  .industry-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .service-card {
    min-height: auto;
  }

  .science-card {
    min-height: 540px;
  }

  .orbital {
    right: 50%;
    transform: translateX(50%);
  }

  .dossier-stack article:nth-child(2),
  .dossier-stack article:nth-child(3) {
    margin-left: 0;
  }
}

@media (max-width: 460px) {
  .lab-panel {
    border-radius: 24px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .science-card,
  .cta-panel {
    border-radius: 24px;
  }

  .trust-metrics div,
  .service-card,
  .dossier-stack article {
    padding: 22px;
  }
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.company-details {
  margin-top: 28px;
  color: var(--color-muted);
  font-style: normal;
  line-height: 1.75;
}

.compact-list {
  margin-top: 22px;
}

@media (max-width: 760px) {
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* ComPhiCo September 2026: accessible navigation, service pages and compact hero */
:root { --font-display: Georgia, 'Times New Roman', serif; --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; }
.reveal { opacity:1; transform:none; }
.section { padding:70px 0; }
.hero { min-height:0; padding:70px 0 58px; }
.hero-grid { grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); gap:56px; }
h1 { font-size:clamp(2.5rem,4vw,3.75rem); line-height:1.07; max-width:750px; }
h2 { font-size:clamp(2rem,3vw,2.9rem); line-height:1.12; }
h3 { font-size:1.15rem; line-height:1.4; }
.hero-subtitle { font-size:1.15rem; margin-bottom:24px; }
.hero-actions { margin-bottom:22px; }
.assessor-line { font-size:1rem; color:var(--color-muted); margin:0; }
.assessor-line a,.prose a,.scope-panel a:not(.button),.enquiry-form a,.notice a { text-decoration:underline; text-underline-offset:3px; }
.hero-visual img { border-radius:24px; width:100%; height:auto; aspect-ratio:1.45; object-fit:cover; box-shadow:var(--shadow-soft); }
.image-note { font-size:.875rem; margin-top:16px; color:var(--color-muted); }
.service-card { min-height:0; display:flex; flex-direction:column; gap:12px; }
.service-card p { margin-bottom:10px; }
.service-card h2 { font-family:var(--font-body); font-size:1.4rem; line-height:1.3; letter-spacing:-.025em; }
.service-card .text-link { margin-top:auto; }
.text-link { color:var(--color-blue-deep); font-weight:650; text-decoration:underline; text-underline-offset:4px; }
a:hover { text-decoration:underline; }
.button:hover,.brand:hover,.header-cta:hover { text-decoration:none; }
:focus-visible { outline:3px solid #247cb8; outline-offset:5px; }
[id] { scroll-margin-top:110px; }
.skip-link { position:fixed; left:16px; top:-100px; z-index:100; background:white; padding:12px; }
.skip-link:focus { top:12px; }
.mobile-menu { display:none; }
.steps { list-style:none; display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding:0; }
.steps li { border-top:2px solid var(--color-line); padding-top:22px; }
.steps span { font-size:.875rem; font-weight:700; color:var(--color-blue); }
.steps h3 { margin:14px 0 10px; }
.steps p { color:var(--color-muted); }
.scope-panel { border:1px solid var(--color-line); border-radius:22px; padding:30px; background:var(--color-blue-soft); }
.scope-panel h2 { font-family:var(--font-body); font-size:1.4rem; letter-spacing:-.025em; }
.scope-panel h3 { margin-top:26px; }
.scope-panel li { margin-bottom:12px; }
.scope-panel ul { padding-left:20px; }
.scope-panel a { overflow-wrap:anywhere; }
.faq { max-width:900px; }
.faq details { border-bottom:1px solid var(--color-line); padding:20px 0; }
.faq summary { font-weight:650; cursor:pointer; font-size:1.125rem; }
.faq details p { padding-top:16px; color:var(--color-muted); }
.page-intro { padding-bottom:20px; }
.page-intro h1 { max-width:850px; }
.lead { max-width:750px; font-size:1.25rem; color:var(--color-muted); }
.article-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:70px; align-items:start; padding-top:32px; }
.prose { max-width:780px; font-size:1.06rem; }
.prose h2 { font-family:var(--font-body); font-size:1.55rem; letter-spacing:-.025em; line-height:1.3; margin:0 0 16px; }
.prose section { margin-bottom:38px; }
.prose p { margin-bottom:24px; }
.guide { padding-top:24px; }
.byline,.source-note { color:var(--color-muted); }
.source-note { border-top:1px solid var(--color-line); padding-top:26px; margin-top:32px; font-size:.94rem; }
.source-note h2 { font-size:1.2rem; }
.source-note li { margin-bottom:12px; }
.related { padding-top:22px; font-weight:650; }
.enquiry-form { display:grid; gap:20px; }
.enquiry-form p { margin:0; color:var(--color-muted); }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.enquiry-form label { display:grid; gap:8px; font-weight:600; }
input,textarea,select { width:100%; min-width:0; padding:12px; border:1px solid #839aad; border-radius:8px; background:white; color:var(--color-ink); font:inherit; }
textarea { resize:vertical; }
button { cursor:pointer; font:inherit; border:0; }
.enquiry-form .button { justify-self:start; }
.trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.notice { padding:24px; border-radius:12px; margin-bottom:24px; }
.notice.error { border:1px solid #b13a36; background:#fff4f3; }
.notice.success { border:1px solid #368057; background:#f0faf4; }
.notice h2 { font-size:1.8rem; }
.site-footer { grid-template-columns:1.2fr 1fr .8fr 1fr; gap:30px; }
.site-footer a { overflow-wrap:anywhere; }
@media(max-width:1080px) {
.hero-grid { grid-template-columns:1fr 1fr; gap:32px; }
.mobile-menu { display:block; position:relative; margin-left:12px; }
.mobile-menu summary { list-style:none; cursor:pointer; padding:10px 14px; border:1px solid var(--color-line); border-radius:22px; font-weight:600; }
.mobile-menu summary::-webkit-details-marker { display:none; }
.mobile-menu nav { position:absolute; right:0; top:58px; width:230px; display:grid; padding:14px; border:1px solid var(--color-line); background:white; border-radius:14px; box-shadow:var(--shadow-card); }
.mobile-menu nav a { padding:12px; }
.header-cta { margin-left:auto; }
.steps { grid-template-columns:1fr 1fr; }
.article-layout { gap:36px; grid-template-columns:minmax(0,1fr) 280px; }
.site-footer { grid-template-columns:1fr 1fr; }
}
@media(max-width:760px) {
.site-header { justify-content:space-between; }
.header-cta { display:none; }
.hero-grid,.article-layout { grid-template-columns:1fr; }
.hero { padding-top:40px; }
.section { padding-top:46px; padding-bottom:46px; }
.hero h1 { font-size:clamp(2.25rem,9vw,3rem); }
h2 { font-size:2rem; }
.hero-actions { grid-template-columns:1fr 1fr; gap:10px; }
.hero-actions .button { padding:0 12px; font-size:.95rem; }
.hero-visual { margin-top:8px; }
.hero-visual img { aspect-ratio:1.7; }
.card-grid,.site-footer,.form-grid { grid-template-columns:1fr; }
.steps { gap:20px; }
.scope-panel { padding:24px; }
.article-layout { padding-top:10px; }
.page-intro { padding-bottom:16px; }
.page-intro h1 { font-size:2.5rem; }
.cta-panel { padding:32px 22px; }
.prose { font-size:1rem; }
}
@media(max-width:360px) { .hero-actions,.steps { grid-template-columns:1fr; } }
