/* ===========================================================
   Pancreatic Cancer Translational Laboratory · UCLA
   Preclinical In Vivo Oncology CRO — marketing site
   =========================================================== */

:root {
  /* Palette — drawn from the lab logo: deep navy ring, histology plum,
     and rainbow-DNA accents */
  --ink:        #16233f;
  --ink-soft:   #1f2f4d;
  --slate:      #475468;
  --muted:      #6b7588;
  --line:       #e3e7ef;
  --paper:      #ffffff;
  --paper-alt:  #f5f6fb;
  --blue:       #20407e;   /* logo navy ring */
  --blue-deep:  #14264c;
  --gold:       #8f4f9b;   /* histology plum accent */
  --gold-soft:  #c78fd0;
  --teal:       #2a8f8f;   /* DNA teal */

  --radius:     16px;
  --radius-sm:  10px;
  --shadow-sm:  0 1px 2px rgba(13,27,42,.06), 0 4px 16px rgba(13,27,42,.05);
  --shadow-md:  0 8px 30px rgba(13,27,42,.10);
  --shadow-lg:  0 24px 60px rgba(13,27,42,.16);

  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.22rem; font-weight: 600; }

p  { margin: 0 0 1rem; color: var(--slate); }

a  { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }

strong { color: var(--ink); font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31,95,166,.28);
}
.btn-primary:hover { background: var(--blue-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; display: block; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: .02em; }
.brand-text em { font-style: normal; font-size: .68rem; color: var(--muted); letter-spacing: .02em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a { color: var(--slate); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: .6rem 1.1rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11,19,35,.80) 0%, rgba(13,22,40,.66) 42%, rgba(16,26,45,.44) 100%),
    url('assets/img/royce-hall.jpg') center 30% / cover no-repeat;
  z-index: -1;
  filter: brightness(1.44);
}
.hero-inner { max-width: 880px; }
.hero-emblem {
  position: relative;
  width: 128px;
  height: 128px;
  margin-bottom: 1.6rem;
}
.hero-emblem img {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  display: block;
  background: #fff;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(22,35,63,.18), 0 0 0 1px var(--line);
}
.hero-emblem::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,79,155,.22), rgba(32,64,126,.12) 55%, transparent 72%);
  z-index: 0;
}
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(8,14,26,.35); }
.eyebrow {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.hero-lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.86);
  max-width: 680px;
  margin-top: 1.2rem;
}
.hero-lede strong { color: #fff; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.hero .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.10); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3.2rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero-stats dt {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: #fff;
  line-height: 1;
}
.hero-stats dd { margin: .4rem 0 0; font-size: .9rem; color: rgba(255,255,255,.72); }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--ink);
  color: #cdd8e4;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 1rem 24px;
  text-align: center;
}
.trust-inner p { margin: 0; font-size: .9rem; color: #cdd8e4; }
.trust-inner span { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--paper-alt); }

/* "Who we are" — animated tumor-in-pancreas background (see .about-anim below) */
#about {
  position: relative;
  background-color: #0b1220;
  isolation: isolate;
  overflow: hidden;
}
/* dark overlay above the animation, below the text, for contrast */
#about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(9,14,26,.62) 0%, rgba(11,18,33,.5) 55%, rgba(13,22,40,.46) 100%);
  pointer-events: none;
}
/* animated tumor-in-pancreas background */
.about-anim {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.about-anim svg { width: 100%; height: 100%; display: block; }
.about-anim .pancreas {
  transform-box: fill-box;
  transform-origin: center;
  animation: organBreath 13s ease-in-out infinite;
}
.about-anim .tumor {
  transform-box: fill-box;
  transform-origin: center;
  animation: tumorGrow 10s ease-in-out infinite;
}
.about-anim .nodule {
  transform-box: fill-box;
  transform-origin: center;
  animation: nodulePop 10s ease-in-out infinite;
}
.about-anim .n2 { animation-delay: .8s; }
.about-anim .n3 { animation-delay: 1.5s; }
.about-anim .n4 { animation-delay: 2.1s; }
.about-anim .pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulseRing 10s ease-out infinite;
}

@keyframes organBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}
@keyframes tumorGrow {
  0%   { transform: scale(.06); opacity: 0; }
  12%  { opacity: .9; }
  55%  { transform: scale(1); opacity: .9; }
  80%  { transform: scale(1.07); opacity: .9; }
  92%  { transform: scale(1.11); opacity: 0; }
  100% { transform: scale(.06); opacity: 0; }
}
@keyframes nodulePop {
  0%, 32% { transform: scale(0); opacity: 0; }
  46%     { opacity: .8; }
  72%     { transform: scale(1); opacity: .8; }
  90%     { transform: scale(1.1); opacity: 0; }
  100%    { transform: scale(0); opacity: 0; }
}
@keyframes pulseRing {
  0%, 48% { transform: scale(.5); opacity: 0; }
  58%     { opacity: .45; }
  100%    { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .about-anim .pancreas,
  .about-anim .tumor,
  .about-anim .nodule,
  .about-anim .pulse { animation: none; }
  .about-anim .tumor { transform: scale(1); opacity: .9; }
  .about-anim .nodule { opacity: .8; }
  .about-anim .pulse { opacity: 0; }
}
#about h2 { color: #fff; }
#about .section-eyebrow { color: #fff; }
#about .lede { color: #ffffff; }
#about p { color: #ffffff; }
#about strong { color: #fff; }

/* Capabilities — laboratory wallpaper behind white cards */
#capabilities {
  position: relative;
  background-color: var(--ink);
  isolation: isolate;
}
#capabilities::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,19,35,.78) 0%, rgba(14,23,42,.72) 55%, rgba(16,26,45,.76) 100%),
    url('assets/img/lab.jpg') center / cover no-repeat;
  filter: brightness(1.44);
}
#capabilities .section-head h2 { color: #fff; }
#capabilities .section-eyebrow { color: #fff; }
#capabilities .section-sub { color: rgba(255,255,255,.85); }
#capabilities .card {
  background: var(--paper);
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(6,11,22,.45);
}
#capabilities .card:hover {
  background: var(--paper);
  border-color: #cfe0f2;
}
#capabilities .card h3 { color: var(--ink); }
#capabilities .card p { color: #203049; }
.section-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .9rem;
}
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head .section-eyebrow { text-align: center; }
.section-sub { font-size: 1.08rem; color: var(--slate); margin-top: .6rem; }
.lede { font-size: 1.12rem; color: var(--slate); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.grid-2--wide { grid-template-columns: 1fr 1fr; align-items: center; }

/* ---------- Capability cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cfe0f2;
}
.card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(31,95,166,.12), rgba(31,138,138,.10));
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .4rem; }
.card p { font-size: .96rem; margin: 0; }

/* ---------- Value list (approach) ---------- */
.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.value-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.value-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  background: rgba(240,165,0,.12);
  border-radius: 10px;
  min-width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
}
.value-list h3 { margin-bottom: .25rem; }
.value-list p { font-size: .98rem; margin: 0; }

/* ---------- Expertise (dark) ---------- */
.section-dark {
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(31,95,166,.30), transparent 60%),
    radial-gradient(45% 55% at 5% 90%, rgba(240,165,0,.14), transparent 60%),
    var(--ink);
  color: #e7eef6;
}
.section-dark h2 { color: #fff; }
.section-dark .section-eyebrow { color: #fff; }
.section-dark .section-sub { color: #b6c4d4; }
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
}
.pill {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  color: #dce6f1;
  padding: .65rem 1.15rem;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 500;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.pill:hover { background: rgba(255,255,255,.12); border-color: var(--gold-soft); transform: translateY(-2px); }

/* ---------- Core facilities ---------- */
.facility-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 2.6rem;
}
.facility-feature .card p { font-size: .98rem; }
.facility-more-label {
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
  margin: 0 0 1.4rem;
}
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 1.4rem;
}
.facility-item {
  border-left: 3px solid var(--gold);
  padding: .35rem 0 .35rem 1rem;
}
.facility-item h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  margin: 0 0 .2rem;
}
.facility-item p { font-size: .9rem; margin: 0; color: var(--slate); }

@media (max-width: 820px) {
  .facility-feature { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .facility-grid { grid-template-columns: 1fr; }
}

/* ---------- Leadership ---------- */
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  max-width: 920px;
  margin: 0 auto;
}
.bio {
  display: flex;
  gap: 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.bio-avatar {
  flex: 0 0 auto;
  width: 92px; height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--paper-alt);
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(22,35,63,.22), 0 0 0 1px var(--line);
}
.bio-role { font-size: .85rem; color: var(--blue); font-weight: 600; margin: 0 0 .6rem; letter-spacing: .02em; }
.bio h3 { margin: 0 0 .15rem; }
.bio p { font-size: .96rem; margin: 0 0 .8rem; }
.bio-link { font-weight: 600; font-size: .92rem; }
.bio-link:hover { text-decoration: underline; }

/* ===== Profile (bio) pages ===== */
.profile-hero {
  background:
    radial-gradient(55% 70% at 90% 0%, rgba(32,64,126,.16), transparent 60%),
    radial-gradient(45% 60% at 0% 30%, rgba(143,79,155,.12), transparent 60%),
    linear-gradient(180deg, var(--paper-alt), var(--paper) 80%);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.back-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .9rem; font-weight: 600; color: var(--slate);
  margin-bottom: 2rem;
}
.back-link:hover { color: var(--blue); }
.profile-head { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.profile-photo {
  width: 160px; height: 160px; flex: 0 0 auto;
  border-radius: 50%; object-fit: cover; object-position: center top;
  border: 4px solid #fff;
  box-shadow: 0 14px 40px rgba(22,35,63,.20), 0 0 0 1px var(--line);
}
.profile-meta { flex: 1 1 320px; }
.profile-meta h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .35rem; }
.profile-role { color: var(--blue); font-weight: 700; letter-spacing: .02em; margin: 0 0 .2rem; }
.profile-affil { color: var(--muted); font-weight: 500; margin: 0; }
.profile-lede { font-size: 1.12rem; color: var(--slate); margin-top: 1.4rem; max-width: 760px; }

.profile-body { padding: clamp(3rem, 6vw, 5rem) 0; }
.profile-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.prose h2 { font-size: 1.7rem; margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--slate); }

.feature-block {
  background: linear-gradient(135deg, var(--ink), #1d2f55);
  color: #e8eef7;
  border-radius: var(--radius);
  padding: 1.9rem;
  margin: 0 0 2rem;
  box-shadow: var(--shadow-md);
}
.feature-block .tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
  margin-bottom: .6rem;
}
.feature-block h3 { color: #fff; font-size: 1.3rem; margin: 0 0 .5rem; }
.feature-block p { color: #c4d0e0; font-size: .98rem; margin: 0; }
.feature-block strong { color: #fff; }

.side-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 96px;
}
.side-card h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 1rem; }
.side-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .55rem; }
.side-list li { display: flex; gap: .6rem; font-size: .95rem; color: var(--slate); }
.side-list li::before { content: "▪"; color: var(--gold); }
.side-card .pill { color: var(--slate); border-color: var(--line); background: var(--paper-alt); }
.side-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.side-pills .pill:hover { border-color: var(--blue); transform: none; }

/* Publications */
.pub-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.pub {
  border-left: 3px solid var(--line);
  padding: .2rem 0 .2rem 1.1rem;
  transition: border-color .2s ease;
}
.pub:hover { border-color: var(--gold); }
.pub.featured { border-color: var(--gold); }
.pub-title { font-weight: 600; color: var(--ink); margin: 0 0 .2rem; line-height: 1.4; }
.pub-title a { color: var(--ink); }
.pub-title a:hover { color: var(--blue); }
.pub-meta { font-size: .88rem; color: var(--muted); margin: 0; }

@media (max-width: 820px) {
  .profile-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .profile-head { gap: 1.4rem; }
  .profile-photo { width: 120px; height: 120px; }
}

/* ---------- CTA / Contact ---------- */
.section-cta { background: var(--paper-alt); }
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3.4rem);
  box-shadow: var(--shadow-lg);
}
.contact-meta { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .7rem; }
.contact-meta li { display: flex; align-items: center; gap: .7rem; color: var(--slate); font-weight: 500; }
.contact-meta span { color: var(--blue); font-size: 1.1rem; }

.cta-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea {
  font-family: inherit;
  font-size: .98rem;
  color: var(--ink);
  padding: .75rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-alt);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31,95,166,.12);
}
.form-note { font-size: .9rem; margin: .2rem 0 0; min-height: 1.2em; }
.form-note.ok { color: var(--teal); font-weight: 600; }
.form-note.err { color: #c0392b; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb9c6; padding: 3rem 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { color: #fff; font-family: var(--font-serif); font-weight: 500; font-size: 1.05rem; }
.footer-brand span { font-size: .85rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-links a { color: #aeb9c6; font-size: .92rem; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-legal { width: 100%; margin: 0; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.10); font-size: .82rem; color: var(--muted); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .5rem 24px 1.2rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .85rem 0; width: 100%; }
  .nav-cta { display: inline-block; margin-top: .4rem; }

  .grid-2, .grid-2--wide { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .trust-inner span { display: none; }
  .bio { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
