/* WFFI Static Site - logo colors: deep blue + orange */
:root {
  --blue-deep: #3A4C5F;
  --blue-dark: #2A3A4A;
  --blue-darker: #1E2D3D;
  --orange: #F58232;
  --orange-light: #FF9A4D;
  --orange-dark: #E06D1F;
  --gradient-primary: linear-gradient(135deg, #1E2D3D 0%, #2A3A4A 45%, #3A4C5F 100%);
  --gradient-accent: linear-gradient(135deg, #F58232 0%, #FF9A4D 100%);
  --gradient-blue: linear-gradient(135deg, #2A3A4A 0%, #3A4C5F 100%);
  --gradient-warm: linear-gradient(135deg, #3A4C5F 0%, #4A5C6F 50%, rgba(245, 130, 50, 0.35) 100%);
  --gold: var(--orange);
  --gold-light: var(--orange-light);
  --text-dark: #2A3A4A;
  --white: #ffffff;
  --container: 1280px;
  --header-height: 88px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--gradient-primary);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Background decorations */
.bg-shape {
  position: fixed;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.bg-shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, var(--orange), var(--orange-light));
  top: 10%;
  right: -150px;
  animation: float 6s ease-in-out infinite;
}

.bg-shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, var(--blue-dark), var(--blue-deep));
  bottom: 20%;
  left: -100px;
  animation: float 8s ease-in-out infinite reverse;
}

.bg-shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, var(--blue-deep), var(--orange));
  top: 60%;
  right: 10%;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Header - semi-transparent */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(58, 76, 95, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(30, 45, 61, 0.2);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 56px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  padding: 10px 18px;
  font-weight: 500;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--orange);
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 45, 61, 0.78) 0%,
    rgba(58, 76, 95, 0.72) 55%,
    rgba(245, 130, 50, 0.22) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding: 120px 24px 80px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
  margin-bottom: 40px;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(245, 130, 50, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 130, 50, 0.45);
  background: linear-gradient(45deg, var(--orange-light), var(--orange));
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Sections */
section {
  position: relative;
  z-index: 1;
}

.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.section-title.light {
  color: var(--white);
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.section-desc.light {
  color: rgba(255, 255, 255, 0.9);
}

/* About section */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 24px;
  color: var(--blue-deep);
}

.about-text p {
  margin-bottom: 16px;
  color: #555;
  font-size: 1.05rem;
}

.about-image img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Pipeline */
.pipeline-section {
  background: var(--gradient-blue);
  color: var(--white);
}

.pipeline-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.pipeline-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

.pipeline-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--gold);
}

.pipeline-subtitle {
  opacity: 0.95;
  font-weight: 600;
  margin-bottom: 20px;
}

.pipeline-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 auto 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.pipeline-text {
  opacity: 0.92;
  font-size: 0.98rem;
  line-height: 1.7;
  text-align: left;
}

.pipeline-card p {
  opacity: 0.9;
}

/* Focus / Projects carousel */
.focus-section {
  background: var(--gradient-primary);
  color: var(--white);
  overflow: hidden;
}

.focus-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.focus-tab {
  padding: 12px 28px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.focus-tab.active,
.focus-tab:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.focus-panel {
  display: none;
}

.focus-panel.active {
  display: block;
}

.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.focus-image img {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.focus-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.focus-point {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 24px;
  border-left: 4px solid var(--gold);
}

.focus-point h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--gold);
}

.focus-point p {
  opacity: 0.9;
  font-size: 0.95rem;
}

/* Project cards (science page) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.project-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card-body {
  padding: 28px;
  color: var(--white);
}

.project-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--gold);
}

.project-card-body p {
  opacity: 0.9;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Page hero (subpages) */
.page-hero {
  padding: 100px 24px 60px;
  text-align: center;
  color: var(--white);
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.page-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

.page-eyebrow {
  display: inline-block;
  margin-bottom: 12px !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange-light);
  opacity: 1 !important;
}

/* Split feature layout */
.split-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 16px;
}

.split-feature.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-feature.reverse .split-feature-media {
  order: 2;
}

.split-feature.reverse .split-feature-copy {
  order: 1;
}

.split-feature-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  object-fit: cover;
  max-height: 420px;
}

.gel-media img {
  object-fit: contain;
  max-height: 480px;
  background: rgba(255, 255, 255, 0.96);
  padding: 16px;
}

.instrument-media img {
  object-fit: contain;
  max-height: 520px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
}

/* Image carousel */
.img-carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  min-height: 420px;
}

.img-carousel-track {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.img-carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  padding: 16px;
}

.img-carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.img-carousel-slide img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: none;
}

.img-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(30, 45, 61, 0.72);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.img-carousel-btn:hover {
  background: var(--orange);
}

.img-carousel-btn.prev {
  left: 12px;
}

.img-carousel-btn.next {
  right: 12px;
}

.img-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.img-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.img-carousel-dot.active {
  background: var(--orange);
}

/* Job accordion */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.job-item {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.job-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.28s ease;
}

.job-item:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.job-item.open {
  border-color: rgba(245, 130, 50, 0.5);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.job-item.open::before {
  background: linear-gradient(180deg, var(--orange-light), var(--orange));
}

.job-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  background: transparent;
  border: none;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.job-toggle:hover {
  background: rgba(255, 255, 255, 0.035);
}

.job-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.job-toggle-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.job-title {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--orange-light);
  line-height: 1.3;
}

.job-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(245, 130, 50, 0.18);
  border: 1px solid rgba(245, 130, 50, 0.35);
  color: #ffe1c4;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.job-chip.muted {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.job-toggle-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 130, 50, 0.16);
  border: 1px solid rgba(245, 130, 50, 0.4);
  color: var(--orange-light);
  transition: transform 0.3s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.job-item.open .job-toggle-icon {
  transform: rotate(180deg);
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.job-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s ease;
}

.job-panel-inner {
  padding: 4px 24px 26px;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.28s ease 0.05s, transform 0.28s ease 0.05s;
}

.job-item.open .job-panel-inner {
  opacity: 1;
  transform: translateY(0);
}

.job-section {
  padding-top: 22px;
}

.job-section h3 {
  font-size: 1.08rem;
  color: var(--orange);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.job-section p {
  margin-bottom: 0;
  line-height: 1.75;
  opacity: 0.92;
}

.job-section a {
  color: var(--orange-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.job-section ul {
  margin: 0;
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.job-section li {
  position: relative;
  padding: 10px 14px 10px 30px;
  line-height: 1.65;
  opacity: 0.94;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.job-section li::before {
  content: '→';
  position: absolute;
  left: 12px;
  color: var(--orange);
  font-weight: bold;
}

.job-apply {
  margin-top: 10px;
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 130, 50, 0.16), rgba(245, 130, 50, 0.08));
  border: 1px solid rgba(245, 130, 50, 0.32);
}

.job-apply .btn {
  margin-top: 16px;
  color: #fff;
  text-decoration: none;
}

.job-apply .btn:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .job-toggle {
    padding: 18px 16px;
  }

  .job-panel-inner {
    padding: 0 16px 18px;
  }

  .job-toggle-icon {
    width: 34px;
    height: 34px;
  }
}

.split-feature-copy {
  color: var(--white);
}

.split-feature-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
  color: var(--orange);
}

.split-feature-copy p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.92;
}

.highlight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.highlight-item {
  padding: 28px 24px;
  border-top: 3px solid var(--orange);
  color: var(--white);
}

.highlight-item h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--orange-light);
}

.highlight-item p {
  font-size: 0.98rem;
  line-height: 1.7;
  opacity: 0.9;
}

.research-flow img {
  background: rgba(255, 255, 255, 0.92);
  padding: 28px;
  border-radius: 20px;
  max-width: 100%;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.process-step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 20px 18px;
  text-align: left;
}

.process-num {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 10px;
}

.process-step h4 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.92rem;
  line-height: 1.55;
  opacity: 0.85;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .split-feature,
  .split-feature.reverse,
  .highlight-row {
    grid-template-columns: 1fr;
  }

  .split-feature.reverse .split-feature-media,
  .split-feature.reverse .split-feature-copy {
    order: initial;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* Content blocks */
.content-block {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 32px;
  color: var(--white);
}

.content-block h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--gold);
}

.content-block p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.content-block ul {
  padding-left: 0;
  margin-top: 16px;
}

.content-block li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 1.05rem;
}

.content-block li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.content-block strong {
  color: var(--gold);
}

.content-image {
  text-align: center;
  margin: 32px 0;
}

.content-image img {
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  margin: 0 auto;
  max-width: 800px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Team */
.team-intro {
  max-width: 820px;
  margin: 0 auto 8px;
  text-align: center;
  color: var(--white);
}

.team-intro p {
  margin-bottom: 16px;
  line-height: 1.75;
  opacity: 0.92;
  font-size: 1.05rem;
}

.team-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.team-capability {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 28px 26px;
  color: var(--white);
  border-left: 3px solid var(--orange);
}

.team-capability h3 {
  font-size: 1.15rem;
  color: var(--orange-light);
  margin-bottom: 12px;
}

.team-capability p {
  font-size: 0.98rem;
  line-height: 1.7;
  opacity: 0.9;
  margin: 0;
}

.team-capability-label {
  display: inline-block;
  margin-bottom: 10px !important;
  font-size: 0.75rem !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange) !important;
  opacity: 1 !important;
}

.team-grid-pair {
  grid-template-columns: repeat(2, 1fr);
}

.team-advisor {
  max-width: 860px;
  margin: 36px auto 0;
  padding: 28px 30px;
  color: var(--white);
  background: linear-gradient(155deg, rgba(245, 130, 50, 0.14), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(245, 130, 50, 0.28);
  border-radius: 18px;
}

.team-advisor p {
  margin: 0;
  line-height: 1.75;
  opacity: 0.92;
  font-size: 1.02rem;
}

@media (max-width: 700px) {
  .team-grid,
  .team-grid-pair {
    grid-template-columns: 1fr;
  }
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  color: var(--white);
}

.contact-info-card h3 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.contact-info-card p {
  margin-bottom: 12px;
  opacity: 0.9;
}

.contact-form {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-map-wrap {
  margin-top: 48px;
}

.contact-map-title {
  color: var(--orange);
  font-size: 1.3rem;
  margin-bottom: 18px;
  text-align: center;
}

.contact-map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.08);
  aspect-ratio: 21 / 9;
  min-height: 280px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

/* Footer */
.site-footer {
  background: var(--blue-darker);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 24px 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-social-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 0 !important;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.9 !important;
}

.footer-social-link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

.footer-social-link:hover {
  color: var(--orange-light) !important;
  opacity: 1 !important;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* News accordion */
.news-empty {
  text-align: center;
  padding: 60px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.news-item {
  position: relative;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.news-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.28s ease;
}

.news-item.open {
  border-color: rgba(245, 130, 50, 0.5);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.news-item.open::before {
  background: linear-gradient(180deg, var(--orange-light), var(--orange));
}

.news-toggle {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  background: transparent;
  border: none;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.news-toggle:hover {
  background: rgba(255, 255, 255, 0.035);
}

.news-toggle:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.news-toggle-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  opacity: 0.85;
  margin: 0;
}

.news-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(245, 130, 50, 0.18);
  border: 1px solid rgba(245, 130, 50, 0.35);
  color: #ffe1c4;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.news-title {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--orange-light);
  line-height: 1.35;
}

.news-summary {
  font-size: 0.98rem;
  line-height: 1.65;
  opacity: 0.88;
}

.news-toggle-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  margin-top: 2px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 130, 50, 0.16);
  border: 1px solid rgba(245, 130, 50, 0.4);
  color: var(--orange-light);
  transition: transform 0.3s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.news-item.open .news-toggle-icon {
  transform: rotate(180deg);
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.news-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s ease;
}

.news-panel-inner {
  padding: 4px 24px 26px;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.28s ease 0.05s, transform 0.28s ease 0.05s;
}

.news-item.open .news-panel-inner {
  opacity: 1;
  transform: translateY(0);
}

.news-figure {
  margin: 18px 0 22px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.news-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.news-figure figcaption {
  padding: 12px 16px;
  font-size: 0.88rem;
  opacity: 0.75;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-body p {
  margin-bottom: 16px;
  line-height: 1.8;
  opacity: 0.92;
}

.news-body a {
  color: var(--orange-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 600px) {
  .news-toggle {
    padding: 18px 16px;
  }

  .news-panel-inner {
    padding: 0 16px 20px;
  }

  .news-toggle-icon {
    width: 34px;
    height: 34px;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .focus-grid,
  .content-grid,
  .contact-grid,
  .pipeline-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(58, 76, 95, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(30, 45, 61, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
  }

  .content-block {
    padding: 28px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 60px 16px;
  }

  .hero-content {
    padding: 100px 16px 60px;
  }

  .logo img {
    height: 44px;
  }

  :root {
    --header-height: 72px;
  }
}
