/* Original, dependency-free styles for Vientiane Pharmaceuticals (v2 Corporate Site). */
:root {
  --ink: #103c48;
  --ink-deep: #0b2c36;
  --muted: #455e68;
  --blue: #1e52d8;
  --blue-soft: #e8effe;
  --teal: #08716c;
  --teal-soft: #e3f2ed;
  --lime: #c5f476;
  --lime-soft: #eef7d8;
  --paper: #fafbf8;
  --surface: #ffffff;
  --surface-alt: #f1f6f3;
  --line: #cfe0da;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1320px;
  --shadow: 0 18px 60px rgba(16, 60, 72, 0.1);
  --shadow-sm: 0 8px 28px rgba(16, 60, 72, 0.06);
  --notice-space: 0px;
  color-scheme: light;
}

html.notice-visible {
  --notice-space: 148px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  scroll-padding-bottom: var(--notice-space, 0px);
}

body {
  margin: 0;
  padding-bottom: var(--notice-space, 0px);
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

button {
  color: inherit;
}

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

img {
  display: block;
  height: auto;
}

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

h1,
h2,
h3,
h4 {
  line-height: 1.14;
  font-weight: 550;
  color: var(--ink);
}

button:disabled {
  cursor: default;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #d0660b;
  outline-offset: 4px;
  border-radius: 4px;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.muted {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding: 4px 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--teal);
}

.text-link:hover {
  color: var(--blue);
}

.arrow {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-weight: 400;
  transition: transform 0.2s;
}

.text-link:hover .arrow,
.button:hover .arrow {
  transform: translate(3px, -2px);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 14px 22px;
  min-height: 50px;
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  transition: background 0.2s, transform 0.2s;
}

.button:hover {
  background: #1a5464;
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  border-color: #8fa6a2;
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--teal-soft);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-220%);
  padding: 12px 20px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  transform: none;
}

/* Header & Navigation */
.site-header {
  min-height: 88px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 251, 248, 0.96);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}

.brand img {
  width: 39px;
  height: 39px;
}

.brand-wordmark {
  display: grid;
  gap: 3px;
  line-height: 1;
}

.brand-wordmark strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.09em;
}

.brand-wordmark small {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--teal);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 550;
  flex-wrap: nowrap;
}

.desktop-nav a {
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.desktop-nav a:hover {
  color: var(--blue);
}

.desktop-nav a[aria-current="page"]:not(.nav-contact) {
  color: var(--teal);
  border-bottom-color: var(--teal);
  font-weight: 650;
}

.desktop-nav .nav-contact {
  border: 1px solid #9ab0ac;
  padding: 9px 15px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  font-weight: 600;
}

.desktop-nav .nav-contact:hover,
.desktop-nav .nav-contact[aria-current="page"] {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.menu-bars {
  width: 16px;
  height: 11px;
  border-top: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  display: block;
  position: relative;
}

.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3.2px;
  border-top: 1.8px solid currentColor;
}

.mobile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow);
  width: 280px;
  max-width: calc(100vw - 32px);
  display: grid;
  gap: 4px;
  z-index: 50;
}

.mobile-menu a {
  padding: 11px 14px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 550;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
  background: var(--teal-soft);
  color: var(--ink);
  font-weight: 650;
}

/* Home Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 85% 32%, #e2f1eb 0%, transparent 62%),
    linear-gradient(180deg, #f4f8f6 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  min-height: 620px;
  padding-top: 52px;
  padding-bottom: 48px;
  gap: 42px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.65rem, 4.6vw, 4.35rem);
  letter-spacing: -0.045em;
  line-height: 1.07;
  max-width: 680px;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  color: var(--blue);
}

.hero-lead {
  color: var(--muted);
  max-width: 580px;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 22px;
}

.hero-lead + .hero-lead {
  margin-top: 14px;
  font-size: 0.96rem;
}

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

.hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.science-art {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #ffffff;
}

.visual-label {
  margin-top: 14px;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.visual-label-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.visual-label .small-orbit {
  display: block;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  position: relative;
  flex: none;
}

.small-orbit::before,
.small-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.small-orbit::before {
  width: 14px;
  height: 14px;
  top: 6.5px;
  left: 6.5px;
  background: var(--lime);
}

.small-orbit::after {
  width: 6px;
  height: 6px;
  right: -1px;
  top: 2px;
  background: var(--blue);
}

.visual-label strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
}

.visual-label span span {
  color: var(--muted);
}

.motion-toggle {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-alt);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  white-space: nowrap;
}

.motion-toggle:hover {
  background: var(--teal-soft);
}

/* Strip below Hero */
.project-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding-block: 24px 28px;
  gap: 24px;
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.strip-item:not(:first-child) {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.strip-icon {
  width: 28px;
  height: 28px;
  flex: none;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.6;
  margin-top: 2px;
}

.strip-item dl {
  margin: 0;
}

.strip-item dt {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.strip-item dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 6px;
  vertical-align: 1px;
}

/* Inner Page Hero */
.page-hero {
  padding-block: 56px 52px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(125deg, #edf5f1 0%, #f4f7fc 60%, #e7f1ec 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.page-hero .eyebrow {
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(2.35rem, 4.2vw, 3.65rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.page-hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 18px;
  max-width: 660px;
}

.page-hero-lead + .page-hero-lead {
  margin-top: 12px;
  font-size: 0.95rem;
}

.page-hero-visual img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

/* Sections & Layouts */
.section {
  padding-block: 84px;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.75fr;
  gap: 48px;
  margin-bottom: 44px;
  align-items: start;
}

.section-heading h2 {
  font-size: clamp(1.85rem, 3.1vw, 2.85rem);
  letter-spacing: -0.035em;
  max-width: 720px;
}

.section-heading p {
  font-size: 15.5px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 720px;
  line-height: 1.75;
}

.prose-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 24px;
}

.prose-columns p,
.prose-block p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.prose-columns p + p,
.prose-block p + p {
  margin-top: 14px;
}

/* Split Content + Artwork Sections */
.split-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-copy h2 {
  font-size: clamp(1.8rem, 2.9vw, 2.6rem);
  letter-spacing: -0.035em;
  margin-top: 14px;
  margin-bottom: 18px;
}

.split-copy h3 {
  font-size: 1.3rem;
  margin-top: 24px;
  margin-bottom: 10px;
}

.split-copy p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.split-copy p + p {
  margin-top: 14px;
}

.split-copy ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.split-copy li + li {
  margin-top: 8px;
}

.visual-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.visual-card img {
  width: 100%;
  border-radius: 14px;
}

.visual-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Section Divider */
.divider-wrap {
  padding-block: 8px;
  overflow: hidden;
}

.divider-wrap img {
  width: 100%;
  max-height: 54px;
  object-fit: cover;
}

/* Priority & Highlight Cards */
.priorities,
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.priority,
.feature-card {
  border-radius: var(--radius);
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.priority.dark,
.feature-card.dark {
  background: var(--ink);
  color: #f4fbf5;
  border-color: var(--ink);
}

.priority.mint,
.feature-card.mint {
  background: #e4f0e8;
  border-color: #c5ddd0;
}

.priority.blue,
.feature-card.blue {
  background: #eaeffd;
  border-color: #cbd8f6;
}

.priority-mark,
.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  flex: none;
}

.priority h3,
.feature-card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.priority.dark h3,
.feature-card.dark h3 {
  color: #ffffff;
}

.priority p,
.feature-card p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.priority.dark p,
.feature-card.dark p {
  color: #cde0e3;
}

.feature-card p + p {
  margin-top: 10px;
}

.card-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 16px;
}

.feature-card.dark .card-tag {
  background: rgba(197, 244, 118, 0.16);
  color: var(--lime);
}

.section-footnote {
  font-size: 12px;
  color: var(--muted);
  margin-top: 22px;
}

/* Location / Callout Band */
.location-band {
  background: linear-gradient(125deg, var(--ink) 0%, #16496e 55%, var(--blue) 100%);
  border-radius: 26px;
  overflow: hidden;
  color: #ffffff;
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 48px;
  padding: 56px;
  box-shadow: var(--shadow);
}

.location-band .eyebrow {
  color: var(--lime);
  margin-bottom: 18px;
}

.location-band h2 {
  color: #ffffff;
  font-size: clamp(1.95rem, 3.3vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.location-band p {
  font-size: 15px;
  max-width: 540px;
  color: #e4eff7;
  margin-top: 18px;
  line-height: 1.78;
}

.location-graphic {
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: center;
  padding-left: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.location-name {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
  position: relative;
  z-index: 1;
}

.location-name span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  margin-top: 16px;
  color: var(--lime);
}

.location-caption {
  font-size: 12px;
  color: #dbe8ff;
  margin-top: 28px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* Process / Pathway Steps */
.pathway {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 12px;
}

.pathway-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 12px;
}

.step {
  border-top: 2px solid var(--teal);
  padding: 24px;
  background: var(--surface);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.step-number::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.step h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.78;
}

.project-note {
  border-left: 4px solid var(--teal);
  padding: 18px 24px;
  margin-top: 32px;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.75;
  background: #eaf3ef;
  border-radius: 0 12px 12px 0;
}

.project-note strong {
  color: var(--ink);
}

.project-note a {
  color: var(--blue);
  font-weight: 600;
}

/* News Articles & Updates */
.news-list {
  display: grid;
  gap: 32px;
}

.news-article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--muted);
}

.news-badge {
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 650;
  padding: 4px 11px;
  border-radius: 99px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10.5px;
}

.news-article h2,
.news-article h3 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.news-article p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.82;
}

.news-article p + p {
  margin-top: 14px;
}

/* FAQ Section */
.faq-section {
  padding-top: 20px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.75fr;
  gap: 52px;
}

.faq-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
  margin-top: 16px;
}

.faq-intro p {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.75;
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  padding: 22px 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--teal);
  flex: none;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  font-size: 14.5px;
  color: var(--muted);
  padding: 0 28px 24px 0;
  line-height: 1.82;
}

.faq-item a {
  color: var(--blue);
  overflow-wrap: anywhere;
}

/* Contact Band */
.contact-section {
  padding: 68px 0;
  background: linear-gradient(135deg, #dcefe7 0%, #e4ecfb 100%);
  border-top: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.contact-section .eyebrow {
  margin-bottom: 16px;
}

.contact-section h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.contact-copy p {
  font-size: 15px;
  max-width: 480px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.75;
}

.email-link {
  font-size: clamp(1rem, 1.7vw, 1.38rem);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  letter-spacing: -0.02em;
  border-bottom: 2px solid #7ca8be;
  padding: 8px 0;
  font-weight: 650;
  max-width: 100%;
}

.email-link span:first-child {
  overflow-wrap: anywhere;
}

.email-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.contact-copy small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #e9f1f1;
  padding: 60px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.site-footer .brand img {
  background: #f0f8ef;
  border-radius: 9px;
  padding: 3px;
}

.site-footer .brand-wordmark small {
  color: #9be8d1;
}

.footer-description {
  font-size: 13px;
  line-height: 1.8;
  color: #bfd3d5;
  max-width: 320px;
  margin-top: 18px;
}

.footer-meta {
  font-size: 12px;
  color: #9be8d1;
  margin-top: 14px;
  line-height: 1.7;
}

.footer-meta a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c5f476;
  margin-bottom: 16px;
  font-weight: 650;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.footer-links a {
  text-decoration: none;
  color: #dce9ea;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  border-top: 1px solid #355963;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  font-size: 11.5px;
  color: #b8cacc;
  line-height: 1.65;
}

.footer-bottom p {
  max-width: 680px;
}

.cookie-settings {
  background: none;
  border: 0;
  padding: 0;
  color: #e4f1e9;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 12px;
  white-space: nowrap;
  min-height: 30px;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.noscript-note {
  font-size: 12px;
  color: #d2e8dd;
  margin-top: 18px;
}

/* Privacy Notice & Dialog */
.privacy-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: min(1140px, calc(100% - 32px));
  border: 1px solid #b5cbc4;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  box-shadow: 0 12px 50px rgba(10, 55, 56, 0.22);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  backdrop-filter: blur(12px);
}

.privacy-banner-copy {
  flex: 1;
}

.privacy-banner h2 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.privacy-banner p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 640px;
}

.privacy-banner p a {
  text-underline-offset: 2px;
  font-weight: 600;
}

.privacy-banner-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: none;
}

.privacy-banner .button,
.privacy-dialog .button {
  padding: 11px 16px;
  font-size: 12px;
  min-height: 42px;
  gap: 10px;
}

.privacy-dialog {
  border: 1px solid #b8cfc7;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 32px;
  width: 560px;
  max-width: calc(100% - 32px);
  max-height: calc(100dvh - 48px);
  color: var(--ink);
  background: var(--paper);
  overflow: auto;
}

.privacy-dialog::backdrop {
  background: rgba(5, 41, 51, 0.55);
  backdrop-filter: blur(4px);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.privacy-dialog h2 {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.dialog-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #eaf0e9;
  border: 1px solid #bcd0c6;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 400;
  flex: none;
}

.privacy-dialog p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.preference-summary {
  padding: 16px;
  border: 1px solid #cadbd2;
  border-radius: 12px;
  margin: 18px 0;
  background: #f0f6ed;
}

.preference-summary strong {
  font-size: 13px;
  display: block;
  margin-bottom: 5px;
}

.preference-summary p {
  font-size: 12.5px;
  margin: 0;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.clear-preference {
  border: 0;
  background: none;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12.5px;
  margin-top: 8px;
  min-height: 42px;
}

.privacy-dialog .privacy-status {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--teal);
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Legal & Informational Pages */
.legal-top {
  padding-block: 48px 44px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, #eff5ed, #f3f5fb);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--teal);
  padding: 6px 0;
  margin-bottom: 20px;
}

.back-link:hover {
  color: var(--blue);
}

.legal-top .eyebrow {
  margin-bottom: 14px;
}

.legal-top h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.legal-top .legal-intro {
  font-size: 16px;
  color: var(--muted);
  max-width: 820px;
  margin-top: 18px;
  line-height: 1.75;
}

.legal-updated {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 820px);
  gap: 64px;
  padding-block: 56px 84px;
  justify-content: space-between;
}

.legal-toc {
  align-self: start;
  position: sticky;
  top: 108px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.legal-toc h2 {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--teal);
}

.legal-toc ol {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
}

.legal-toc li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.legal-toc a {
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.legal-content {
  min-width: 0;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.legal-section h3 {
  font-size: 17px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-section p,
.legal-section li {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

.legal-section p + p {
  margin-top: 13px;
}

.legal-section ul {
  padding-left: 22px;
  margin-top: 12px;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section a {
  color: var(--blue);
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.legal-section code {
  font-size: 12.5px;
  background: #e6eee7;
  padding: 3px 6px;
  border-radius: 4px;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.error-page {
  min-height: 60vh;
  padding: 84px 0;
}

.error-page h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: -0.04em;
  max-width: 700px;
  margin-top: 14px;
}

.error-page p {
  margin: 20px 0 28px;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
}

/* Motion */
.motion-enabled .science-art {
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.motion-paused .science-art {
  animation-play-state: paused;
}

/* Responsive Breakpoints down to 360px */
@media (max-width: 1180px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .project-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .pathway-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .wrap {
    width: calc(100% - 44px);
  }
  .hero-grid,
  .page-hero-grid,
  .split-section,
  .split-section.reverse,
  .section-heading,
  .faq-layout,
  .contact-inner,
  .location-band,
  .prose-columns,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .priorities,
  .card-grid-3,
  .card-grid-2,
  .pathway {
    grid-template-columns: 1fr;
  }
  .location-graphic {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    padding-left: 0;
    padding-top: 28px;
    min-height: auto;
  }
  .location-band {
    padding: 38px 32px;
  }
  .legal-toc {
    position: static;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header,
  .header-inner {
    min-height: 74px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand-wordmark strong {
    font-size: 15px;
  }
  .brand-wordmark small {
    font-size: 7.5px;
  }
  .hero-grid,
  .page-hero {
    padding-block: 36px;
  }
  .section {
    padding-block: 56px;
  }
  .project-strip,
  .pathway-4,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .strip-item:not(:first-child) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
  .priority,
  .feature-card,
  .news-article {
    padding: 24px 20px;
  }
  .location-band {
    padding: 28px 22px;
    border-radius: 20px;
  }
  .visual-label {
    flex-direction: column;
    align-items: flex-start;
  }
  .privacy-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    bottom: 10px;
    width: calc(100% - 20px);
  }
  .privacy-banner-actions {
    flex-direction: row;
  }
  .privacy-banner .button {
    flex: 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .motion-toggle {
    display: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #1f3f49;
    --line: #5b7973;
  }
  .privacy-banner {
    border: 2px solid var(--ink);
  }
}

@media print {
  .site-header,
  .privacy-banner,
  .privacy-dialog,
  .motion-toggle,
  .contact-section,
  .site-footer,
  .legal-toc {
    display: none !important;
  }
  body {
    padding-bottom: 0;
    background: #ffffff;
    color: #000000;
    font-size: 11pt;
  }
  .wrap {
    width: 100%;
    max-width: none;
  }
}
