/* ============================================
   AURORA BIOTECH — Shared styles
   ============================================ */

:root {
  /* Palette pulled from the brand mark */
  --bg: #f4f1ea;
  --bg-soft: #ebe5d6;
  --bg-cream: #faf7f0;
  --ink: #0e2528;
  --ink-soft: #2d4347;
  --ink-muted: #6b7c80;

  --teal: #034148;
  --teal-bright: #0a6770;
  --teal-deep: #022a30;
  --teal-darker: #011619;

  --aurora-cyan: #7fc3cf;
  --aurora-cyan-bright: #a8d8e2;
  --aurora-blue: #4a7fa8;
  --aurora-pink: #e6b8c4;
  --aurora-pink-bright: #f0c8d4;
  --aurora-sage: #8fb39a;

  --rule: rgba(14, 37, 40, 0.1);
  --rule-strong: rgba(14, 37, 40, 0.18);

  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-sm: 0 2px 12px rgba(2, 42, 48, 0.04);
  --shadow-md: 0 12px 40px rgba(2, 42, 48, 0.08);
  --shadow-lg: 0 30px 80px rgba(2, 42, 48, 0.12);
}

/* ============================================
   Base
   ============================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================
   Aurora glow — subtle ambient color
   ============================================ */

.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-bg::before,
.aurora-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.aurora-bg::before {
  top: -15%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--aurora-cyan) 0%, transparent 65%);
  animation: drift1 22s ease-in-out infinite;
}

.aurora-bg::after {
  bottom: -20%;
  right: -10%;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, var(--aurora-pink) 0%, transparent 65%);
  animation: drift2 28s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(8%, 6%) scale(1.1); opacity: 0.7; }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; }
  50% { transform: translate(-6%, -4%) scale(1.08); opacity: 0.6; }
}

/* ============================================
   Navigation
   ============================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(244, 241, 234, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}

.brand-logo {
  height: 84px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.75rem;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-links a {
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--aurora-blue), var(--teal), var(--aurora-sage));
  border-radius: 2px;
}

.nav-cta {
  padding: 0.7rem 1.4rem;
  background: var(--teal-deep);
  color: var(--bg-cream) !important;
  border-radius: 999px;
  letter-spacing: 0.1em !important;
  font-size: 0.78rem !important;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--teal);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   Layout primitives
   ============================================ */

main { position: relative; z-index: 1; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section { padding: 7rem 0; position: relative; }
.section--tight { padding: 4rem 0; }
.section--big { padding: 9rem 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 2rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--aurora-cyan));
  border-radius: 2px;
}

.aurora-text {
  background: linear-gradient(95deg, var(--aurora-blue) 0%, var(--teal-bright) 30%, var(--aurora-sage) 65%, var(--aurora-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 2rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  text-transform: uppercase;
}

.btn--primary {
  background: var(--teal-deep);
  color: var(--bg-cream);
}
.btn--primary:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--rule-strong);
}
.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   Footer
   ============================================ */

footer {
  position: relative;
  z-index: 2;
  background: var(--teal-darker);
  color: var(--bg);
  padding: 6rem 0 2.5rem;
  margin-top: 4rem;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(127, 195, 207, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
}

.footer-tag {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  max-width: 22ch;
  margin-bottom: 5rem;
  color: var(--bg);
  letter-spacing: -0.01em;
}

.footer-tag .gradient {
  background: linear-gradient(95deg, var(--aurora-cyan-bright), var(--aurora-pink-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
}

.footer-col h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.55);
  margin-bottom: 1.25rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(244, 241, 234, 0.88);
  line-height: 1.75;
  display: block;
}

.footer-col a {
  transition: color 0.3s ease;
  margin-bottom: 0.4rem;
}

.footer-col a:hover { color: var(--aurora-cyan-bright); }

/* LinkedIn link with icon chip */
.linkedin-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.85rem;
  padding: 0.35rem 0 !important;
  margin-bottom: 0.5rem !important;
}

.linkedin-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(168, 216, 226, 0.1);
  border: 1px solid rgba(168, 216, 226, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.linkedin-icon-box svg {
  width: 18px;
  height: 18px;
  fill: var(--aurora-cyan-bright);
  transition: fill 0.35s ease;
}

.linkedin-link:hover .linkedin-icon-box {
  background: var(--aurora-cyan);
  border-color: var(--aurora-cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(127, 195, 207, 0.25);
}

.linkedin-link:hover .linkedin-icon-box svg {
  fill: var(--teal-darker);
}

.footer-bottom {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 241, 234, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(244, 241, 234, 0.5);
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* ============================================
   Reveal animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.18s; }
.reveal.d3 { transition-delay: 0.28s; }
.reveal.d4 { transition-delay: 0.38s; }
.reveal.d5 { transition-delay: 0.48s; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 880px) {
  body { font-size: 17px; }
  nav { padding: 0.9rem 1.25rem; }
  .brand-logo { height: 56px; }
  .nav-links { gap: 1rem; font-size: 0.7rem; letter-spacing: 0.08em; }
  .nav-cta { display: none; }
  .container { padding: 0 1.5rem; }
  .section { padding: 4rem 0; }
  .section--big { padding: 5rem 0; }
  footer { padding: 4rem 0 2rem; }
  .footer-inner { padding: 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-top: 2rem; }
  .footer-tag { margin-bottom: 3rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; margin-top: 3rem; }
  .btn { padding: 0.95rem 1.6rem; font-size: 0.85rem; }
}
