:root {
  --ink: #102326;
  --muted: #657477;
  --line: #dce8e6;
  --paper: #ffffff;
  --soft: #f4faf8;
  --deep: #0b4c45;
  --teal: #0f9f91;
  --navy: #152f4f;
  --lime: #a7d63c;
  --shadow: 0 18px 48px rgba(11, 76, 69, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 6vw;
  border-bottom: 1px solid rgba(220, 232, 230, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2d4245;
  font-size: 15px;
  font-weight: 700;
}

.nav-tab,
.tab-pill,
.sitemap-group button {
  border: 0;
  cursor: pointer;
  background: transparent;
  color: inherit;
}

.nav-tab {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 13px;
  color: #2d4245;
  font-weight: 800;
}

.nav-tab.is-active {
  color: var(--deep);
  background: #e8f6f2;
}

.search-nav {
  color: var(--navy);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  border: 0;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
}

.nav-cta,
.button.primary {
  color: white;
  background: var(--deep);
}

.button.secondary {
  color: var(--deep);
  border: 1px solid var(--line);
  background: white;
}

.nav-tab.nav-cta {
  color: white;
  background: var(--deep);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--deep);
}

.tab-strip,
.category-nav {
  position: sticky;
  top: 76px;
  z-index: 9;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 13px 6vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  overflow-x: auto;
}

.category-nav {
  gap: 42px;
  overflow: visible;
}

.category-menu {
  position: relative;
}

.category-trigger {
  min-height: 40px;
  border: 0;
  padding: 0 12px;
  color: #0046ad;
  background: transparent;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.category-menu:hover .category-trigger,
.category-menu:focus-within .category-trigger {
  color: var(--deep);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  display: grid;
  min-width: 220px;
  padding: 10px 0;
  border: 1px solid rgba(220, 232, 230, 0.9);
  border-radius: 6px;
  background: white;
  box-shadow: 0 18px 36px rgba(16, 35, 38, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.dropdown-panel.small {
  min-width: 170px;
}

.category-menu:hover .dropdown-panel,
.category-menu:focus-within .dropdown-panel,
.category-menu.is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel button {
  min-height: 38px;
  border: 0;
  padding: 0 20px;
  color: #0046ad;
  background: transparent;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.dropdown-panel button:hover,
.dropdown-panel button:focus {
  color: var(--deep);
  background: #f4faf8;
}

.tab-pill {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  color: #3f5558;
  font-size: 14px;
  font-weight: 800;
}

.tab-pill.is-active {
  border-color: #cde5df;
  color: var(--deep);
  background: #e8f6f2;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.home-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 130px);
  padding: 86px 6vw 70px;
  overflow: hidden;
  background: #123d5f;
}

.home-hero-photo,
.home-hero-overlay {
  position: absolute;
  inset: 0;
}

.home-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 55, 91, 0.92) 0%, rgba(14, 55, 91, 0.76) 38%, rgba(14, 55, 91, 0.28) 72%, rgba(14, 55, 91, 0.08) 100%),
    linear-gradient(180deg, rgba(11, 76, 69, 0.18), rgba(11, 76, 69, 0.34));
}

.home-hero .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
  color: white;
}

.home-hero .eyebrow {
  color: #c7f15d;
}

.home-hero h1 {
  max-width: 720px;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.18;
}

.home-hero .hero-lead {
  color: rgba(255, 255, 255, 0.88);
}

.home-hero .button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
}

.home-hero .hero-metrics .hero-metric-card {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
}

.home-hero .hero-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-hero .hero-metrics .metric-title,
.home-hero .hero-metrics .metric-text {
  color: white;
}

.home-hero .hero-metrics .metric-text {
  word-break: keep-all;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 72px 6vw 52px;
  background:
    linear-gradient(110deg, rgba(244, 250, 248, 0.96), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 80% 15%, rgba(15, 159, 145, 0.16), transparent 34%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: #405456;
  font-size: 20px;
}

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

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

.hero-metric-card {
  display: block;
  width: 100%;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  text-align: left;
}

button.hero-metric-card {
  appearance: none;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

button.hero-metric-card:hover,
button.hero-metric-card:focus-visible {
  border-color: rgba(199, 241, 93, 0.72);
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  outline: none;
}

.metric-title {
  display: block;
  color: var(--deep);
  font-size: 17px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.metric-text {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.section {
  padding: 92px 6vw;
}

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

.tab-panel .section:nth-child(even) {
  background: var(--soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  color: #405456;
  font-size: 18px;
}

.home-performance {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.performance-image {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow);
}

.performance-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
}

.performance-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.performance-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.performance-tags span {
  min-height: 52px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--deep);
  background: #e8f6f2;
  font-size: 14px;
  font-weight: 800;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

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

.news-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 35, 38, 0.06);
}

.news-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 8px;
  padding: 4px 9px;
  color: var(--deep);
  background: #e8f6f2;
  font-size: 12px;
  font-weight: 800;
}

.news-grid h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.news-grid p {
  margin: 0;
  color: var(--muted);
}

.home-service-band {
  padding: 82px 6vw;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, #0b3568, #092a54);
}

.home-service-band .eyebrow {
  color: #a7d63c;
}

.home-service-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
}

.home-service-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 34px auto 0;
}

.home-service-tabs button {
  min-height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  cursor: pointer;
}

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

.service-card,
.timeline article,
.strength-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.service-card {
  min-height: 272px;
  padding: 26px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--deep);
  background: #e3f3ef;
  font-weight: 800;
}

.service-card h3 {
  margin: 22px 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.service-card p,
.timeline p,
.strength-grid p {
  margin: 0;
  color: var(--muted);
}

.visual-panel,
.workflow-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-panel img,
.workflow-visual img {
  width: 100%;
}

.sitemap-section {
  min-height: calc(100vh - 146px);
  background: #f4f8fb;
}

.page-hero {
  display: grid;
  align-content: center;
  min-height: 276px;
  padding: 64px 6vw;
  color: white;
  background:
    linear-gradient(100deg, rgba(6, 69, 139, 0.96), rgba(35, 151, 211, 0.84)),
    linear-gradient(135deg, #0d4f9b, #31a8df);
  overflow: hidden;
}

.page-hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(38px, 5vw, 56px);
}

.page-hero p {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.content-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 6vw;
}

.page-heading {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.page-heading h2 {
  margin: 0 0 12px;
  color: #0046ad;
  font-size: clamp(30px, 4vw, 42px);
}

.page-heading strong {
  color: #0046ad;
}

.text-block {
  max-width: 1020px;
  margin-bottom: 48px;
  color: #2c4245;
  font-size: 18px;
}

.text-block h3,
.split-feature h3 {
  margin: 0 0 16px;
  font-size: 25px;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.split-feature.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
}

.split-feature.reverse img {
  order: 2;
}

.split-feature img,
.image-band img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

#research-overview .split-feature img {
  object-fit: contain;
  background: #fff;
}

#drug-discovery .split-feature img {
  object-fit: contain;
  background: #fff;
}

#biomarker-discovery .split-feature img {
  object-fit: contain;
  background: #fff;
}

.np-image-stack {
  display: grid;
  gap: 18px;
}

.np-image-stack img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #fff;
  object-fit: contain;
}

.diagram-feature img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #fff;
  object-fit: contain;
}

.method-validation-copy {
  max-width: 1120px;
  margin: 38px auto 0;
}

.method-validation-copy h2 {
  margin: 8px 0 18px;
  color: var(--navy);
  font-size: clamp(24px, 2.1vw, 34px);
}

.method-validation-copy p:not(.eyebrow),
.method-validation-copy li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.method-validation-copy ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.vertical-feature {
  display: grid;
  gap: 34px;
  max-width: 980px;
  margin: 0 auto;
}

.vertical-feature img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #fff;
  object-fit: contain;
}

.vertical-feature > div {
  max-width: 760px;
}

.vertical-feature p,
.vertical-feature li {
  color: var(--muted);
  font-size: 17px;
}

.vertical-feature ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

#research-overview .content-page {
  max-width: 1720px;
}

#research-overview .split-feature {
  grid-template-columns: minmax(680px, 1.85fr) minmax(360px, 0.85fr);
  gap: 56px;
}

#research-overview .split-feature h2 {
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.32;
}

.split-feature p,
.split-feature li {
  color: var(--muted);
  font-size: 17px;
}

.split-feature ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.mini-card-grid span {
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 14px 16px;
  background: #f4faf8;
  color: var(--deep);
  font-weight: 800;
}

.image-band {
  margin-bottom: 30px;
}

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

.card-grid.compact .service-card {
  min-height: 190px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
  background: white;
}

.faq-list summary {
  color: var(--deep);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-hero {
  min-height: 330px;
}

.contact-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 82px 6vw;
}

.contact-block {
  padding: 0 0 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.contact-block h2 {
  margin: 0 0 28px;
  color: #0046ad;
  font-size: 25px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  text-align: center;
}

.contact-methods article {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 136px;
  padding: 24px;
  border-radius: 8px;
  background: #f7fbfa;
}

.contact-methods span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #0046ad;
  font-size: 22px;
}

.contact-methods strong {
  color: #0046ad;
}

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

.address-box {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  color: #2c4245;
}

.address-box p {
  margin: 0;
}

.address-box strong {
  display: inline-block;
  min-width: 48px;
  color: #0046ad;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.location-grid img,
.map-card {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.location-grid img {
  object-fit: cover;
}

.map-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: white;
}

.map-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: #0046ad;
}

.map-card-head a {
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.route-notes {
  display: grid;
  gap: 8px;
  margin-top: 30px;
}

.route-notes h3 {
  margin: 18px 0 0;
  color: #0046ad;
  font-size: 17px;
}

.route-notes p {
  margin: 0;
  color: var(--muted);
}

.estimate-block {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 42px;
  align-items: start;
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.estimate-block > div > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.estimate-block .contact-form {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 54px;
}

.sitemap-group {
  min-height: 220px;
}

.sitemap-group.wide {
  grid-column: 1 / -1;
}

.sitemap-group h3 {
  margin: 0 0 28px;
  color: #0046ad;
  font-size: 24px;
  line-height: 1.2;
}

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

.sitemap-group h4 {
  margin: 0 0 18px;
  color: #14262a;
  font-size: 17px;
  line-height: 1.25;
}

.sitemap-group button {
  display: block;
  width: 100%;
  min-height: 25px;
  padding: 2px 0;
  color: #66777b;
  font-size: 14px;
  text-align: left;
}

.sitemap-group button:hover {
  color: var(--deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.workflow-visual {
  margin-bottom: 24px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  min-height: 230px;
  padding: 22px;
}

.timeline strong {
  color: var(--teal);
  font-size: 13px;
}

.timeline h3 {
  margin: 10px 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

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

.deliverable-list span {
  min-height: 64px;
  display: flex;
  align-items: center;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 16px 18px;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 35, 38, 0.06);
  font-weight: 700;
}

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

.strength-grid div {
  padding: 24px;
}

.strength-grid b {
  display: block;
  margin-bottom: 8px;
  color: var(--deep);
  font-size: 19px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 44px;
  padding: 92px 6vw;
  color: white;
  background: linear-gradient(135deg, #0b4c45, #152f4f);
}

.contact .eyebrow {
  color: var(--lime);
}

.contact-info {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-info p {
  margin: 0;
}

.contact-info strong {
  display: inline-block;
  min-width: 58px;
  color: white;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 26px;
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #f8fbfa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(15, 159, 145, 0.24);
  border-color: var(--teal);
}

.contact-form .full,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: -2px 0 0;
  color: var(--deep);
  font-size: 14px;
  font-weight: 700;
}

.form-message.is-error {
  color: #a33b2f;
}

.hidden {
  display: none;
}

.search-section {
  min-height: calc(100vh - 146px);
  background: var(--soft);
}

.site-search {
  max-width: 940px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.site-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--deep);
  font-weight: 800;
}

.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.search-box input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  font: inherit;
  background: #f8fbfa;
}

.search-box input:focus {
  outline: 2px solid rgba(15, 159, 145, 0.24);
  border-color: var(--teal);
}

.search-results {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.search-results button {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  text-align: left;
  background: white;
  cursor: pointer;
}

.search-results button.is-hidden {
  display: none;
}

.search-empty {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  background: #f8fbfa;
}

.search-results button:hover {
  border-color: var(--teal);
  background: #f5fbf9;
}

.search-results strong {
  color: var(--deep);
  font-size: 17px;
}

.search-results span {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(320px, 0.95fr) minmax(320px, 0.95fr);
  column-gap: 28px;
  row-gap: 28px;
  padding: 58px 6vw;
  color: #5b88d6;
  background: linear-gradient(180deg, #f7fcff 0%, #eef8ff 100%);
  border-top: 1px solid rgba(91, 136, 214, 0.18);
  font-weight: 700;
}

.footer-brand img {
  width: 116px;
  height: auto;
  margin-bottom: 6px;
}

.footer-brand strong {
  display: block;
  color: #0b4c9c;
  font-size: 22px;
  line-height: 1.1;
}

.footer-brand span,
.footer-center p,
.footer-info p {
  display: block;
  margin: 2px 0;
  font-size: 15px;
  line-height: 1.55;
}

.footer-center strong,
.footer-info strong {
  display: block;
  color: #4f7fd1;
  margin-bottom: 4px;
  font-size: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin-bottom: 6px;
  white-space: nowrap;
}

.footer-links button {
  appearance: none;
  border: 0;
  border-right: 1px solid rgba(91, 136, 214, 0.42);
  padding: 0 8px;
  color: #5b88d6;
  white-space: nowrap;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.footer-links button:first-child {
  padding-left: 0;
}

.footer-links button:last-child {
  border-right: 0;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 40px 6vw;
  text-align: center;
  background: linear-gradient(180deg, #f7fcff 0%, #eef8ff 100%);
}

.thanks-page img {
  width: 96px;
  height: auto;
}

.thanks-page h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
}

.thanks-page p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 1100px) {
  .hero,
  .contact,
  .intro-grid,
  .home-performance,
  .site-footer {
    grid-template-columns: 1fr;
  }

  #research-overview .split-feature {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .strength-grid,
  .news-grid,
  .home-service-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .split-feature,
  .split-feature.reverse,
  .estimate-block {
    grid-template-columns: 1fr;
  }

  .split-feature.reverse img {
    order: 0;
  }

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

@media (max-width: 760px) {
  main,
  .category-nav,
  .home-hero,
  .section,
  .page-hero,
  .content-page {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header {
    min-height: 70px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 22px;
  }

  .brand small {
    max-width: 230px;
    font-size: 11px;
    line-height: 1.25;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: white;
  }

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

  .site-nav .nav-tab {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 13px 10px;
  }

  .nav-cta {
    margin-top: 8px;
    justify-content: center;
    padding: 0 18px;
  }

  .tab-strip {
    top: 68px;
    justify-content: flex-start;
    padding: 10px 20px;
  }

  .category-nav {
    position: static;
    top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
    padding: 10px 16px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .category-menu {
    width: 100%;
    min-width: 0;
  }

  .category-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 14px;
    background: #f7fbfa;
    white-space: normal;
    line-height: 1.2;
    font-size: 14px;
    text-align: left;
  }

  .category-trigger::after {
    content: "▾";
    color: var(--deep);
    font-size: 13px;
    transition: transform 0.16s ease;
  }

  .category-menu.is-open .category-trigger::after {
    transform: rotate(180deg);
  }

  .dropdown-panel {
    position: static;
    display: none;
    margin-top: 6px;
    min-width: 0;
    width: 100%;
    padding: 6px 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: 0 10px 22px rgba(16, 35, 38, 0.12);
  }

  .category-menu.is-open .dropdown-panel {
    display: grid;
  }

  .dropdown-panel button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 52px 20px 44px;
  }

  .home-hero {
    min-height: auto;
    padding: 36px 16px 32px;
  }

  .home-hero-photo {
    object-position: 68% center;
  }

  .home-hero-overlay {
    background:
      linear-gradient(90deg, rgba(14, 55, 91, 0.96) 0%, rgba(14, 55, 91, 0.88) 66%, rgba(14, 55, 91, 0.62) 100%),
      linear-gradient(180deg, rgba(14, 55, 91, 0.1), rgba(14, 55, 91, 0.36));
  }

  .home-hero .eyebrow {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .home-hero .hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .home-hero h1 {
    max-width: 100%;
    font-size: clamp(22px, 6.1vw, 26px);
    line-height: 1.22;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .home-hero .hero-lead {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.75;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .home-hero .button {
    min-height: 48px;
    padding: 0 12px;
    font-size: 15px;
  }

  .home-hero .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
    width: 100%;
    max-width: 100%;
  }

  .home-hero .hero-metrics .hero-metric-card {
    min-height: auto;
    padding: 15px;
  }

  .home-hero .hero-metrics .metric-title {
    font-size: 15px;
    line-height: 1.35;
  }

  .home-hero .hero-metrics .metric-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .news-grid article p {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .footer-links button {
    padding: 0 3px;
    font-size: clamp(11px, 3.05vw, 13px);
  }

  h1 {
    font-size: 40px;
  }

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

  .hero-metrics,
  .card-grid,
  .timeline,
  .deliverable-list,
  .strength-grid,
  .contact-form,
  .performance-tags,
  .news-grid,
  .home-service-tabs,
  .search-box {
    grid-template-columns: 1fr;
  }

  .section,
  .contact {
    padding: 66px 20px;
  }

  .page-hero {
    min-height: 220px;
    padding: 48px 20px;
  }

  .content-page {
    padding: 58px 20px;
  }

  .home-service-band {
    padding: 66px 20px;
  }

  .sitemap-grid,
  .sitemap-columns,
  .mini-card-grid,
  .card-grid.compact,
  .contact-methods,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-page {
    padding: 58px 20px;
  }

  .location-grid img,
  .map-card {
    min-height: 240px;
  }

  .map-card iframe {
    height: 300px;
  }
}
