@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --dark-navy:        #1c2c5a;
  --medium-navy:      #243272;
  --slate-blue:       #5c6ea0;
  --periwinkle:       #8ca0d8;
  --light-periwinkle: #b0bfe4;
  --very-light:       #eaecf8;
  --amber:            #c8891a;
  --orange:           #b85420;
  --off-white:        #f7f8fc;
  --white:            #ffffff;
  --serif:            'Playfair Display', Georgia, serif;
  --sans:             'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--dark-navy);
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════
   NAV
══════════════════════════════ */

body > nav {
  background: white;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(28,44,90,0.09);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--dark-navy);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover { color: var(--slate-blue); border-bottom-color: var(--slate-blue); }
.nav-links a.active { border-bottom-color: var(--dark-navy); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark-navy);
  border-radius: 2px;
}

/* ══════════════════════════════
   SHARED UTILITIES
══════════════════════════════ */

.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--slate-blue);
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  padding: 11px 28px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 3px;
  transition: transform 0.18s, opacity 0.18s, background 0.18s;
}

.btn:hover { transform: translateY(-2px); opacity: 0.88; }

.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.6);
  color: white;
  background: transparent;
  border-radius: 3px;
}

.btn-outline-white:hover { background: rgba(255,255,255,0.1); opacity: 1; }

.btn-dark  { background: var(--medium-navy); color: white; }
.btn-slate { background: var(--slate-blue);  color: white; }
.btn-navy  { background: var(--dark-navy);   color: white; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-sm { font-size: 0.65rem; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */

footer { background: var(--dark-navy); }

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 52px 56px 40px;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-wrap img { height: 38px; width: auto; opacity: 0.88; }

.footer-col-center { text-align: center; }

.footer-col-center p {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  line-height: 2;
  letter-spacing: 0.3px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.footer-nav a {
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.18s;
}

.footer-nav a:hover { color: var(--periwinkle); }

.footer-bottom {
  text-align: center;
  padding: 16px 56px;
  color: rgba(255,255,255,0.28);
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

/* ══════════════════════════════
   HOME — HERO
══════════════════════════════ */

.hero {
  background: var(--dark-navy);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 40px;
  position: relative;
  overflow: hidden;
}

.hero-squid-watermark {
  position: absolute;
  width: 380px;
  opacity: 0.045;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  filter: brightness(0) invert(1);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 50%, rgba(140,160,216,0.1) 0%, transparent 68%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--periwinkle);
  opacity: 0.85;
  margin-bottom: 22px;
}

.hero-content h1 {
  font-family: var(--serif);
  color: white;
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.hero-divider {
  width: 48px;
  height: 1px;
  background: var(--periwinkle);
  margin: 0 auto 28px;
  opacity: 0.5;
}

.hero-tagline {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.3;
}

.squid-letter {
  color: var(--amber);
  font-weight: 700;
}

/* ── HOME SPLIT ── */

.home-split { display: flex; min-height: 420px; }

.home-news {
  background: white;
  color: var(--dark-navy);
  width: 36%;
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid rgba(28,44,90,0.07);
}

.home-news-logo { margin-bottom: 6px; }

.home-news h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark-navy);
}

.home-news .ann-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--slate-blue);
  margin-bottom: -6px;
}

.home-news .ann-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--dark-navy);
}

.home-news .ann-body {
  font-size: 0.86rem;
  line-height: 1.85;
  opacity: 0.68;
  color: var(--dark-navy);
}

.home-featured {
  background: var(--very-light);
  width: 64%;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.home-featured h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--dark-navy);
  letter-spacing: -0.3px;
}

.home-featured h3 {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--dark-navy);
  line-height: 1.55;
}

.home-featured p {
  font-size: 0.9rem;
  color: var(--dark-navy);
  line-height: 1.88;
  opacity: 0.82;
}

/* ══════════════════════════════
   PAGE BANNERS
══════════════════════════════ */

.page-banner {
  padding: 76px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: attr(data-word);
  position: absolute;
  font-family: var(--serif);
  font-size: 11rem;
  font-weight: 700;
  color: rgba(255,255,255,0.07);
  bottom: -20px;
  right: -10px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -4px;
}

.page-banner h1 {
  font-family: var(--serif);
  color: white;
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
}

.banner-slate { background: var(--slate-blue); }
.banner-navy  { background: var(--dark-navy); }

.link-navy { color: var(--dark-navy); }

.banner-sub {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 580px;
  margin: 16px auto 0;
  position: relative;
  z-index: 1;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-navy);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(28,44,90,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 200;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-3px); }

/* ══════════════════════════════
   PEOPLE PAGE
══════════════════════════════ */

.team-section {
  background: var(--very-light);
  padding: 84px 80px;
}

.team-member {
  display: flex;
  gap: 72px;
  align-items: flex-start;
  max-width: 980px;
  margin: 0 auto;
}

.member-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  min-width: 260px;
  width: 260px;
}

.member-photo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--slate-blue);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(28,44,90,0.18);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.member-info {
  flex: 1;
  padding-top: 8px;
}

.member-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.member-role {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  background: var(--slate-blue);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 26px;
}

.member-role.role-director {
  background: var(--amber);
}

.member-role.role-student {
  background: var(--periwinkle);
}

.member-bio {
  font-size: 0.92rem;
  line-height: 1.92;
  color: var(--dark-navy);
  opacity: 0.82;
  margin-bottom: 32px;
  max-width: 520px;
}

/* space between team members */
.team-member + .team-member {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid rgba(28,44,90,0.12);
}

/* ══════════════════════════════
   LAB UPDATES PAGE
══════════════════════════════ */

.updates-section {
  background: var(--very-light);
  padding: 72px 40px 96px;
}

.updates-inner {
  max-width: 780px;
  margin: 0 auto;
}

/* ── NEWS CARD ── */
.update-item {
  background: white;
  border-radius: 6px;
  border-top: 4px solid var(--periwinkle);

  box-shadow: 0 2px 20px rgba(28,44,90,0.07);
  padding: 40px 48px;
  margin-bottom: 28px;
  transition: box-shadow 0.22s, transform 0.22s;
}

.update-item:hover {
  box-shadow: 0 8px 36px rgba(28,44,90,0.12);
  transform: translateY(-3px);
}

.update-item.update-welcome  { border-top-color: var(--periwinkle); }
.update-item.update-news     { border-top-color: var(--amber); }
.update-item.update-pub      { border-top-color: var(--slate-blue); }

.update-date {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--slate-blue);
  background: var(--very-light);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.update-body {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.update-photo-wrap { flex-shrink: 0; }

.update-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(28,44,90,0.14);
}

.update-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.update-text { flex: 1; }

.update-text h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.update-text p {
  font-size: 0.9rem;
  line-height: 1.88;
  color: var(--dark-navy);
  opacity: 0.8;
}

/* ══════════════════════════════
   RESEARCH PAGE
══════════════════════════════ */

.research-focus { display: flex; min-height: 340px; }

.research-focus-right {
  background: var(--very-light);
  color: var(--dark-navy);
  width: 100%;
  padding: 72px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.research-focus-right .section-label { color: var(--slate-blue); opacity: 0.85; }

.research-focus-squid {
  font-style: italic;
  opacity: 0.65;
  border-left: 2px solid var(--slate-blue);
  padding-left: 20px;
  margin-bottom: 4px;
}

.research-focus-right h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--dark-navy);
}

.research-focus-right p {
  font-size: 0.92rem;
  line-height: 1.88;
  opacity: 0.85;
}

.research-streams {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.research-streams li {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-navy);
  padding: 14px 0 14px 22px;
  border-left: 3px solid var(--slate-blue);
  letter-spacing: -0.2px;
  line-height: 1.3;
  transition: border-color 0.2s, padding-left 0.2s;
}

/* Color-code each stream to match its panel below */
.research-streams li:nth-child(1) { border-left-color: var(--amber); }
.research-streams li:nth-child(2) { border-left-color: var(--orange); }
.research-streams li:nth-child(3) { border-left-color: var(--slate-blue); }

.research-streams li:hover {
  padding-left: 28px;
}

.research-streams li a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.research-streams li.stream-active {
  padding-left: 28px;
  opacity: 1;
}

.research-streams li:not(.stream-active) {
  opacity: 0.65;
  transition: opacity 0.3s, border-color 0.2s, padding-left 0.2s;
}

/* ── STREAM SECTIONS (diagonal overlap) ── */

.stream {
  position: relative;
  overflow: hidden;
}

/* Image fills the entire section as background */
.stream-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stream-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content overlaps the art with a diagonal left edge */
.stream-content {
  position: relative;
  z-index: 1;
  width: 82%;
  margin-left: 18%;
  padding: 68px 68px 68px 140px;
  min-height: 460px;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

/* Accent color left panels — art replaced by structural color blocks */
.stream-amber .stream-img  { background: var(--amber); }
.stream-orange .stream-img { background: var(--orange); }
.stream-blue   .stream-img { background: var(--slate-blue); }

/* Hide artwork images */
.stream-img img { display: none; }

/* Faint Roman numerals as editorial decoration */
.stream-amber  .stream-img::before { content: "I"; }
.stream-orange .stream-img::before { content: "II"; }
.stream-blue   .stream-img::before { content: "III"; }

.stream-amber  .stream-img::before,
.stream-orange .stream-img::before,
.stream-blue   .stream-img::before {
  position: absolute;
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  top: 50%;
  left: 11%;
  transform: translate(-50%, -50%);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

/* Content panels: clean white, dark navy headings */
.stream-amber  .stream-content,
.stream-orange .stream-content,
.stream-blue   .stream-content { background: white; }

.stream-content h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-navy);
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}

.stream-content .stream-desc {
  font-size: 0.9rem;
  line-height: 1.88;
  color: var(--dark-navy);
  opacity: 0.85;
  margin-bottom: 18px;
}

.pub-list-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dark-navy);
  opacity: 0.55;
  margin-bottom: 10px;
}

.pub-item {
  padding: 10px 0;
  border-top: 1px solid rgba(28,44,90,0.18);
}

.pub-item:last-child { border-bottom: 1px solid rgba(28,44,90,0.18); }

.pub-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-navy);
  text-decoration: none;
  line-height: 1.55;
  margin-bottom: 4px;
  transition: opacity 0.15s;
}

.pub-title:hover { opacity: 0.6; text-decoration: underline; }

.pub-authors {
  display: block;
  font-size: 0.8rem;
  color: var(--dark-navy);
  line-height: 1.5;
  opacity: 0.65;
  font-style: italic;
}

.pub-authors .highlight {
  font-weight: 700;
  font-style: normal;
  opacity: 1;
  color: var(--slate-blue);
}

/* ── POSTER CAROUSEL ── */

.poster-carousel {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto 16px;
  width: 100%;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide a { display: block; width: 100%; text-decoration: none; }

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s;
}

.carousel-slide a:hover img { opacity: 0.88; }

.carousel-btn {
  background: var(--dark-navy);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.15s;
  padding-bottom: 2px;
}

.carousel-btn:hover { background: var(--medium-navy); transform: scale(1.06); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(28,44,90,0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.carousel-dot.active { background: var(--dark-navy); }

.carousel-hint {
  font-size: 0.78rem;
  color: var(--dark-navy);
  opacity: 0.5;
  font-style: italic;
  margin-bottom: 52px;
}

/* ── INSIDE THE LAB ── */

.inside-lab {
  background: var(--very-light);
  padding: 84px 80px;
  text-align: center;
}

.inside-lab h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 56px;
  letter-spacing: -0.3px;
}

.inside-lab-item {
  flex: 1;
  min-width: 260px;
  max-width: 420px;
}

.inside-lab-item .lab-img {
  width: 100%;
  height: 280px;
  background: var(--slate-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
}

.inside-lab-item .lab-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.inside-lab-item a:hover .lab-img img { transform: scale(1.03); }

.inside-lab-team { display: flex; justify-content: center; }
.inside-lab-team .inside-lab-item { max-width: 620px; width: 100%; }
.inside-lab-team .lab-img {
  height: 380px;
  box-shadow: 0 12px 40px rgba(28,44,90,0.13);
}

.inside-lab-item p {
  font-size: 0.78rem;
  color: var(--dark-navy);
  opacity: 0.55;
  margin-top: 10px;
  font-style: italic;
}

/* ══════════════════════════════
   APPLICATION PAGE
══════════════════════════════ */

.app-header {
  background: var(--dark-navy);
  padding: 72px 40px 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.app-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(140,160,216,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.app-header::after {
  content: attr(data-word);
  position: absolute;
  font-family: var(--serif);
  font-size: 11rem;
  font-weight: 700;
  color: rgba(255,255,255,0.07);
  bottom: 0;
  right: -10px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -4px;
}

.app-header h1,
.app-header p,
.app-header-logo { position: relative; z-index: 1; }

.app-header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.app-header h1 {
  font-family: var(--serif);
  color: white;
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.3px;
}

.app-header p {
  color: rgba(255,255,255,0.78);
  font-size: 0.93rem;
  line-height: 1.85;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.app-wave { display: block; width: 100%; background: transparent; line-height: 0; }
.app-wave svg { display: block; width: 100%; }

.app-form-intro {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--dark-navy);
  opacity: 0.8;
  text-align: center;
}

.app-form-section {
  background: var(--very-light);
  padding: 68px 40px 100px;
}

.app-form {
  max-width: 620px;
  margin: 0 auto;
  background: white;
  padding: 52px 60px;
  box-shadow: 0 4px 48px rgba(28,44,90,0.07);
}

.form-row-2 { display: flex; gap: 20px; }
.form-row-2 .form-group { flex: 1; }

.form-group { margin-bottom: 22px; }

.form-group label.field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark-navy);
  margin-bottom: 8px;
  opacity: 0.65;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(28,44,90,0.15);
  border-radius: 2px;
  background: var(--off-white);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--dark-navy);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  border-color: var(--slate-blue);
  background: white;
}

.form-group textarea { min-height: 100px; resize: vertical; }

.options-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }

.options-list li label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  cursor: pointer;
  font-weight: 400;
}

.options-list input[type="radio"],
.options-list input[type="checkbox"] {
  width: 15px;
  height: 15px;
  cursor: pointer;
  accent-color: var(--dark-navy);
  flex-shrink: 0;
}

.form-note { font-size: 0.86rem; color: var(--dark-navy); line-height: 1.72; margin-bottom: 14px; opacity: 0.82; }
.required-note { font-size: 0.74rem; opacity: 0.45; margin-bottom: 32px; }

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--dark-navy);
  color: white;
  border: none;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 28px;
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover { background: var(--medium-navy); transform: translateY(-1px); }

.form-success {
  text-align: center;
  padding: 60px 40px;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--dark-navy);
}
.form-success p { margin-top: 12px; font-family: var(--sans); font-size: 0.88rem; color: var(--slate-blue); }

/* ══════════════════════════════
   CONTACT PAGE
══════════════════════════════ */

.contact-banner {
  background: var(--dark-navy);
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.contact-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(140,160,216,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.contact-banner::after {
  content: 'CONTACT';
  position: absolute;
  font-family: var(--serif);
  font-size: 11rem;
  font-weight: 700;
  color: rgba(255,255,255,0.07);
  bottom: -20px;
  right: -10px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -4px;
}

.contact-banner-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-banner-inner h1 {
  font-family: var(--serif);
  color: white;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.contact-body {
  background: var(--very-light);
  padding: 84px 108px;
  display: flex;
  gap: 88px;
  align-items: flex-start;
}

.contact-info { flex: 0 0 280px; }

.contact-info h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

.contact-info p {
  font-size: 0.9rem;
  line-height: 1.95;
  color: var(--dark-navy);
  opacity: 0.78;
}

.contact-form { flex: 1; }

.contact-form-row { display: flex; gap: 24px; margin-bottom: 24px; }

.contact-field {
  flex: 1;
  border: none;
  border-bottom: 1.5px solid rgba(28,44,90,0.2);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--dark-navy);
  padding: 10px 0;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.contact-field:focus { border-bottom-color: var(--dark-navy); }

.contact-field::placeholder { color: rgba(28,44,90,0.38); font-size: 0.86rem; }

.contact-field.full { width: 100%; display: block; margin-bottom: 24px; }

.contact-field.textarea {
  resize: vertical;
  min-height: 110px;
  border-bottom: 1.5px solid rgba(28,44,90,0.2);
}

.btn-send {
  width: 100%;
  padding: 14px;
  background: var(--dark-navy);
  color: white;
  border: none;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.2s, transform 0.15s;
}

.btn-send:hover { background: var(--medium-navy); transform: translateY(-1px); }

/* ══════════════════════════════
   LOGO IMAGES
══════════════════════════════ */

.squid-icon { width: 28px; height: 32px; flex-shrink: 0; }
.nav-logo-img { height: 42px; width: auto; }
.home-news-logo .nav-logo-img { height: 50px; }
.app-header-logo .nav-logo-img { height: 58px; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */

@media (max-width: 900px) {
  body > nav { padding: 0 24px; height: 64px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: white;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(28,44,90,0.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  }

  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .hero { padding: 64px 28px; min-height: unset; }
  .hero-content h1 { font-size: 2.1rem; }

  .page-banner::after,
  .contact-banner::after,
  .app-header::after { display: none; }

  .home-split { flex-direction: column; }
  .home-news, .home-featured { width: 100%; }
  .home-news { padding: 44px 28px; }
  .home-featured { padding: 44px 28px; }

  .update-body { flex-direction: column; align-items: center; }
  .update-photo-wrap { align-self: center; }

  .team-section { padding: 48px 24px; }
  .team-member { flex-direction: column; gap: 28px; }
  .member-photo-wrap { width: 100%; min-width: unset; }
  .member-photo { width: 220px; height: 220px; }

  .research-focus { flex-direction: column; }
  .research-focus-right { width: 100%; padding: 48px 28px; }

  /* On mobile: stack image above content, remove clip-path */
  .stream { display: flex; flex-direction: column; }
  .stream-img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 260px;
  }
  .stream-img img { position: absolute; inset: 0; }
  .stream-content {
    width: 100%;
    margin-left: 0;
    padding: 40px 28px;
    min-height: unset;
    clip-path: none;
  }

  .inside-lab { padding: 48px 24px; }

  .app-form { padding: 36px 24px; }
  .app-form-section { padding: 44px 16px 72px; }

  .contact-body { flex-direction: column; padding: 48px 28px; gap: 40px; }
  .contact-info { flex: unset; }
  .contact-banner { padding: 56px 28px; }
  .contact-banner-inner h1 { font-size: 2rem; }

  .page-banner { padding: 56px 28px; }
  .page-banner h1 { font-size: 1.9rem; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px 28px;
    gap: 28px;
  }

  .footer-nav { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-bottom { padding: 14px 24px; }
}
