/* ============================================================
   THE BINARY FOREST — v3 Design System (Bold / Dark Hero)
   Inspiration: HTML5 UP "Forty" — dramatic, confident, modern
   Fonts: Fraunces (700 bold italic) · Plus Jakarta Sans · JetBrains Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;1,9..144,300;1,9..144,700&family=Plus+Jakarta+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400&display=swap');

/* ── 1. DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* Palette */
  --c-white:      #ffffff;
  --c-cool:       #f2f4f3;    /* subtle alt section — cool, never cream */
  --c-border:     #dde1de;

  --c-charcoal:   #202030;    /* dark hero + footer */
  --c-dark-teal:  #151c2e;    /* inner page heroes */
  --c-text:       #2b2e2a;
  --c-muted:      #657068;
  --c-subtle:     #96a09b;

  --c-coral:      #d37356;
  --c-coral-dark: #b85d42;
  --c-coral-lt:   #faeee9;
  --c-teal:       #3c6e71;
  --c-teal-lt:    #ddeced;
  --c-blue:       #386fa4;
  --c-blue-lt:    #dbe8f5;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Type scale */
  --text-xs:   0.6875rem;
  --text-sm:   0.8125rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.75rem;
  --text-5xl:  3.75rem;
  --text-6xl:  5.5rem;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --max-w:  1120px;
  --nav-h:  60px;
  --radius: 2px;
  --t-fast: 130ms ease;
  --t-base: 220ms ease;
}

/* ── 2. RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
p + p { margin-top: var(--sp-4); }

/* ── 3. LAYOUT UTILITIES ────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

/* ── 4. TYPOGRAPHY HELPERS ──────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-charcoal);
}

h3, h4 { font-weight: 400; }

.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-teal);
  font-style: normal;
  font-weight: 400;
}

/* ── 5. TAGS / PILLS ────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }

.tag {
  display: inline-block;
  padding: 0.2em 0.65em;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  border-radius: 2px;
  background: var(--c-cool);
  color: var(--c-muted);
}

.tag-teal  { background: var(--c-teal-lt);  color: var(--c-teal); }
.tag-coral { background: var(--c-coral-lt); color: var(--c-coral); }
.tag-blue  { background: var(--c-blue-lt);  color: var(--c-blue); }

/* ── 6. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.9rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--c-coral);
  color: var(--c-white);
  border: 2px solid var(--c-coral);
}
.btn-primary:hover { background: var(--c-coral-dark); border-color: var(--c-coral-dark); }

.btn-ghost-white {
  background: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255,255,255,0.45);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.75);
}

.btn-outline {
  background: transparent;
  color: var(--c-charcoal);
  border: 2px solid var(--c-charcoal);
}
.btn-outline:hover { background: var(--c-charcoal); color: var(--c-white); }

/* ── 7. NAVIGATION ──────────────────────────────────────────── */
.site-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}

.nav-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
  color: var(--c-charcoal);
}

.nav-mobile-input { display: none; }

.nav-mobile-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--sp-2);
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-charcoal);
  transition: opacity var(--t-fast);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-muted);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.nav-link:hover,
.nav-link.active {
  color: var(--c-charcoal);
  border-bottom-color: var(--c-coral);
}

/* ── 8. HERO (Homepage) — full-viewport dark ────────────────── */
.hero {
  background: var(--c-charcoal);
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}

/* Atmospheric gradients — teal + blue glows */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 70% at 95% 55%, rgba(60, 110, 113, 0.20) 0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 5% 85%, rgba(56, 111, 164, 0.14) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle dot grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--sp-16);
  align-items: center;
  padding: var(--sp-20) 0;
}

.hero-logo-col {
  display: flex;
  align-items: center;
}

.hero-logo {
  width: 100%;
  height: auto;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-coral);
  margin-bottom: var(--sp-6);
  font-style: normal;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--c-white);
  margin-bottom: var(--sp-8);
  font-optical-sizing: auto;
}

.hero-title em {
  font-style: normal;
  color: var(--c-coral);
}

.hero-sub {
  font-size: clamp(var(--text-base), 1.4vw, var(--text-lg));
  color: rgba(255,255,255,0.60);
  line-height: 1.85;
  max-width: 52ch;
  margin-bottom: var(--sp-10);
  font-style: normal;
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  z-index: 2;
  color: rgba(255,255,255,0.40);
  display: flex;
  animation: scroll-bounce 2.2s ease-in-out infinite;
  transition: opacity 0.5s ease, color 0.2s ease;
  text-decoration: none;
}
.hero-scroll-hint svg { width: 30px; height: 30px; }
.hero-scroll-hint:hover { color: rgba(255,255,255,0.80); }
.hero-scroll-hint.is-hidden { opacity: 0; pointer-events: none; }

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── 9. GENERIC WHITE SECTION ───────────────────────────────── */
.section {
  padding: var(--sp-20) 0;
  border-top: 1px solid var(--c-border);
  background: var(--c-white);
}

.section-alt {
  padding: var(--sp-20) 0;
  background: var(--c-cool);
  border-top: 1px solid var(--c-border);
}

/* ── 10. PROSE GRID (two-column: label | body) ──────────────── */
.prose-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.prose-grid-aside { padding-top: 0.15em; }

.prose-grid-body { max-width: 66ch; }
.prose-grid-body p {
  color: var(--c-text);
  line-height: 1.85;
  font-style: normal;
}

/* ── 11. PAGE HERO (inner pages) — dark teal ────────────────── */
.page-hero {
  background: var(--c-dark-teal);
  padding-top: calc(var(--nav-h) + var(--sp-16));
  padding-bottom: var(--sp-14);
  position: relative;
  overflow: hidden;
}

/* Subtle dark texture on page heroes */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(56, 111, 164, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(211, 115, 86, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-kicker {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(209, 216, 207, 0.65);
  margin-bottom: var(--sp-5);
  font-style: normal;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 700;
  font-style: italic;
  color: var(--c-white);
  margin-bottom: var(--sp-5);
  letter-spacing: -0.025em;
}

.page-hero .lead {
  font-size: clamp(var(--text-base), 1.3vw, var(--text-lg));
  color: rgba(255,255,255,0.60);
  max-width: 58ch;
  line-height: 1.8;
  font-style: normal;
}

/* --sp-14 fallback */
.page-hero { padding-bottom: 3.5rem; }

/* ── 12. CTA SECTION — dark charcoal ───────────────────────── */
.cta-section {
  background: var(--c-charcoal);
  padding: var(--sp-20) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-10);
}

.cta-text h2 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  color: var(--c-white);
  margin-bottom: var(--sp-3);
}

.cta-text p {
  color: rgba(255,255,255,0.55);
  max-width: 44ch;
  line-height: 1.7;
  font-style: normal;
}

.contact-email {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--c-coral);
  border-bottom: 2px solid rgba(211,115,86,0.35);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color var(--t-fast);
}
.contact-email:hover { border-bottom-color: var(--c-coral); }

/* ── 13. FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #171723;
  color: rgba(255,255,255,0.60);
  padding: var(--sp-16) 0 var(--sp-8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  font-style: italic;
  color: var(--c-white);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  letter-spacing: -0.01em;
}

.footer-icon {
  width: 20px;
  height: 20px;
  color: var(--c-teal);
  flex-shrink: 0;
}

.footer-brand p { font-size: var(--text-sm); line-height: 1.7; font-style: normal; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  margin-bottom: var(--sp-4);
  font-weight: 400;
  font-style: normal;
}

.footer-links { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--t-fast);
  font-style: normal;
}
.footer-links a:hover { color: var(--c-coral); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ── 14. PROJECTS PAGE ──────────────────────────────────────── */
.project-list { padding: var(--sp-8) 0 var(--sp-8); }

.project-entry {
  padding: 0 0 var(--sp-12) var(--sp-8);
  border-left: 4px solid var(--pc, var(--c-border));
  position: relative;
}

.project-entry + .project-entry { margin-top: var(--sp-8); }

.project-meta {
  margin-bottom: var(--sp-6);
}

.project-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
}
.project-logos a { display: flex; align-items: center; }
.project-logos img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.project-num {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 700;
  font-style: italic;
  color: var(--c-cool);
  line-height: 0.9;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.03em;
}

.project-title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  font-style: italic;
  color: var(--pc, var(--c-charcoal));
  line-height: 1.05;
  margin-bottom: 0;
}

.project-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: var(--sp-10);
  align-items: start;
}

.project-desc { color: var(--c-text); line-height: 1.85; }
.project-desc p + p { margin-top: var(--sp-4); }
.project-desc p { font-style: normal; }

.project-facts {
  border-top: 2px solid var(--pc, var(--c-border));
}

.fact-row {
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-border);
}

.fact-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-subtle);
  display: block;
  margin-bottom: var(--sp-1);
  font-style: normal;
}

.fact-value {
  font-size: var(--text-sm);
  color: var(--c-text);
  line-height: 1.55;
  font-style: normal;
}

/* ── 15. SERVICES PAGE ──────────────────────────────────────── */
.service-list { padding-top: var(--sp-8); }

.service-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--sp-10);
  align-items: start;
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--c-border);
}
.service-item:first-child { border-top: none; }

.service-num {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 700;
  font-style: italic;
  color: var(--c-cool);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.service-title {
  font-size: clamp(var(--text-xl), 2vw, var(--text-3xl));
  font-weight: 700;
  font-style: italic;
  color: var(--sc, var(--c-charcoal));
  margin-bottom: var(--sp-4);
}

.service-desc { color: var(--c-text); line-height: 1.85; }
.service-desc p + p { margin-top: var(--sp-4); }
.service-desc p { font-style: normal; }

/* ── 16. ABOUT / BIO PAGE ───────────────────────────────────── */
.bio-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.bio-aside { padding-top: 0.15em; }

/* Portrait — used in "Who I am" bio aside */
.bio-portrait {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin-top: var(--sp-5);
}
.bio-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Placeholder shown until a real photo is available */
.bio-portrait-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--c-teal-lt);
  border: 2px solid var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--c-teal);
  letter-spacing: -0.02em;
  user-select: none;
}

.bio-body { max-width: 60ch; }
.bio-body p { line-height: 1.85; color: var(--c-text); font-style: normal; }

/* Award box — teal accent on white */
.award-box {
  background: var(--c-teal-lt);
  border-left: 5px solid var(--c-teal);
  padding: var(--sp-6) var(--sp-8);
  margin: var(--sp-8) 0;
}

.award-box-kicker {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-teal);
  margin-bottom: var(--sp-2);
  font-style: normal;
}

.award-box h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-3);
  color: var(--c-charcoal);
}

.award-box p { color: var(--c-text); line-height: 1.75; font-size: var(--text-sm); font-style: normal; }

/* OSS list */
.oss-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--sp-6);
}

.oss-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-6);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--c-border);
  align-items: baseline;
}

.oss-name {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--c-charcoal);
  font-weight: 400;
  font-style: normal;
}

.oss-desc {
  font-size: var(--text-sm);
  color: var(--c-muted);
  line-height: 1.6;
  font-style: normal;
}

/* ── 17. PROJECT SCREENSHOT ─────────────────────────────────── */
.project-screenshot {
  margin: 0 0 var(--sp-6);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--pc, var(--c-border));
}

.project-screenshot img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
}

/* ── 18. INLINE CONTENT LINKS ───────────────────────────────── */
/* Scoped to body-text areas so nav, buttons, etc. stay unaffected. */
.fact-value a,
.project-desc a,
.prose-grid-body a,
.bio-body a,
.service-desc a {
  color: var(--c-teal);
  text-decoration: underline;
  text-decoration-color: rgba(60, 110, 113, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t-fast);
}

.fact-value a:hover,
.project-desc a:hover,
.prose-grid-body a:hover,
.bio-body a:hover,
.service-desc a:hover {
  text-decoration-color: var(--c-teal);
}

/* ── 19. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .project-body { grid-template-columns: 1fr; }
  .service-item  { grid-template-columns: 1fr; gap: var(--sp-4); }
  .bio-grid      { grid-template-columns: 1fr; gap: var(--sp-4); }
  .prose-grid    { grid-template-columns: 1fr; gap: var(--sp-4); }
  .oss-item      { grid-template-columns: 1fr; gap: var(--sp-1); }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .cta-inner     { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }

  .nav-logo { height: 52px; }
  .nav-mobile-btn { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    flex-direction: column;
    padding: var(--sp-4) var(--sp-6);
    gap: 0;
    align-items: flex-start;
  }
  .nav-mobile-input:checked ~ .nav-menu { display: flex; }
  .nav-link { padding: var(--sp-3) 0; width: 100%; border-bottom: none; }
  .nav-link:hover, .nav-link.active { border-bottom: none; color: var(--c-coral); }

  .footer-inner  { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; gap: var(--sp-2); text-align: center; }

  .hero-inner { padding: var(--sp-16) 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: fit-content; }

  .service-num, .project-num { font-size: clamp(var(--text-3xl), 12vw, var(--text-4xl)); }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    text-align: center;
  }
  .hero-logo-col { justify-content: center; }
  .hero-logo { max-width: 260px; margin-inline: auto; }
  .hero-kicker, .hero-sub { text-align: left; }
  .hero-actions { justify-content: flex-start; }
}

/* ── 20. ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.65s ease both;
  opacity: 0;
}
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.20s; }
.fade-up-3 { animation-delay: 0.35s; }
.fade-up-4 { animation-delay: 0.50s; }
.fade-up-5 { animation-delay: 0.65s; }

/* ── TRUSTED BY ─────────────────────────────────────────────── */
.trusted-section { border-bottom: 1px solid var(--c-border); }
.trusted-label { display: block; margin-bottom: var(--sp-8); text-align: center; }
.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8) var(--sp-10);
}
.trusted-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}
.trusted-logo:hover { opacity: 1; }
.trusted-logo img {
  max-height: 48px;
  max-width: 180px;
  width: auto;
  height: auto;
}
/* logo designed for dark background: show inside a dark pill */
.trusted-logo--dark {
  background: #2a2f2e;
  border-radius: 6px;
  padding: 8px 12px;
}
