/* Rapflections: shared visual language with the We.DoDiversity job portal. */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

:root {
  --blue: #377AFF;
  --blue-dark: #0E2A5E;
  --blue-hover: #245FDA;
  --blue-light: #EBF1FF;
  --sage: #8DAB7F;
  --sage-light: #F2F5F0;
  --amber: #377AFF;
  --amber-dark: #245FDA;
  --amber-light: #EBF1FF;
  --bg: #FAFAF8;
  --bg-dark: #0E2A5E;
  --dark-section: #0E2A5E;
  --text: #0E2A5E;
  --text-muted: #536477;
  --text-light: #64748B;
  --border: #DDE3EA;
  --card: #FFFFFF;
  --font-heading: 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-w: 1180px;
  --narrow: 720px;
  --nav-h: 72px;
  --radius: 20px;
  --radius-sm: 10px;
  --shadow: 0 2px 8px rgba(14,42,94,.04);
  --shadow-md: 0 16px 40px rgba(14,42,94,.07);
  --shadow-lg: 0 20px 50px rgba(14,42,94,.12);
  --ease: .3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--text); margin-bottom: 8px; }
p { margin-bottom: 16px; color: var(--text); }
p:last-child { margin-bottom: 0; }

.text-muted { color: var(--text-muted); }
.text-small { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 24px; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes popIn { from { opacity: 0; transform: scale(0.9) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: border-color var(--ease), box-shadow var(--ease); }
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 8px rgba(0,0,0,.04); }
.nav__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo img { height: 22px; width: auto; flex-shrink: 0; }
.nav__logo-text { font-family: var(--font-heading); font-weight: 800; letter-spacing: -.045em; font-size: 1.2rem; color: var(--text); }
.nav__logo-text span { color: var(--amber); }
.nav__right { display: flex; align-items: center; gap: 24px; }
.nav__links { list-style: none; display: flex; gap: 8px; }
.nav__links a { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); padding: 9px 10px; border-radius: 8px; position: relative; transition: color var(--ease); text-decoration: none; }
.nav__links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--amber); transition: width var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--amber); }
.nav__links a.active::after, .nav__links a:hover::after { width: 100%; }
.lang-toggle { display: flex; gap: 2px; background: var(--border); border-radius: 6px; padding: 2px; }
.lang-toggle a { font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; color: var(--text-muted); transition: all var(--ease); }
.lang-toggle a.active { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.nav__cta { font-size: 0.85rem; font-weight: 600; padding: 8px 18px; background: var(--amber); color: #fff !important; border-radius: var(--radius-sm); transition: background var(--ease); text-decoration: none; }
.nav__cta:hover { background: var(--amber-dark); color: #fff !important; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__hamburger span { width: 22px; height: 1.5px; background: var(--text); transition: var(--ease); }
.nav__mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: #FFFFFF; padding: 48px 24px; z-index: 99; flex-direction: column; gap: 28px; }
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu > a {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.nav__mobile-menu > a.active {
  color: var(--amber);
  border-bottom-color: var(--amber);
  background: transparent;
}
.nav__mobile-menu .mobile-lang { display: flex; gap: 16px; margin-top: 24px; font-size: 1rem; font-family: var(--font-body); }
.nav__mobile-menu .mobile-lang a { font-family: var(--font-body); font-size: 1rem; color: var(--text-muted); }
.nav__mobile-menu .mobile-lang a.active { color: var(--blue); font-weight: 600; }
.nav__mobile-menu .mobile-cta { margin-top: auto; margin-bottom: 48px; }
.nav__mobile-menu .mobile-cta .btn { font-size: 0.95rem; padding: 12px 18px; }

/* ============================================
   HERO
   ============================================ */
.hero { min-height: 570px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 120px 24px 60px; position: relative; }
.hero h1 { opacity: 0; animation: fadeUp .8s ease forwards; }
.hero h1 .hero__accent { display: block; color: var(--blue); }
.hero__sub { font-size: 1.15rem; color: var(--text-muted); margin: 20px 0 28px; max-width: 520px; opacity: 0; animation: fadeUp .8s ease .3s forwards; }
.hero__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; opacity: 0; animation: fadeUp .8s ease .45s forwards; }
.hero__scroll { position: absolute; bottom: 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); opacity: 0; animation: fadeUp .8s ease .6s forwards; }
.hero__scroll::before { content: ''; width: 8px; height: 8px; border-right: 1.5px solid var(--text-light); border-bottom: 1.5px solid var(--text-light); transform: rotate(45deg); }
.hero__scroll::after { content: ''; width: 1px; height: 28px; background: linear-gradient(to bottom, rgba(156,163,175,.95), rgba(156,163,175,.2)); }

/* Subpage hero */
.hero--sub { padding: 140px 24px 60px; text-align: center; }
.hero--sub h1 { margin-bottom: 16px; }
.hero--sub p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 16px auto 0; }

/* ============================================
   BUTTONS
   ============================================ */
.btn { display: inline-block; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; padding: 14px 28px; border-radius: var(--radius-sm); cursor: pointer; border: none; transition: all var(--ease); text-decoration: none; }
.btn--primary { background: var(--blue-dark); color: #fff; }
.btn--primary:hover { background: #17478F; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { background: var(--card); color: var(--blue-dark); border: 1px solid var(--border); }
.btn--outline:hover { background: var(--amber-light); }
.btn--white { background: #fff; color: var(--text); }
.btn--white:hover { background: #F3F4F6; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--arrow { font-size: 0.9rem; font-weight: 600; color: var(--amber); text-decoration: none; }
.btn--arrow::after { content: ' →'; transition: margin-left var(--ease); }
.btn--arrow:hover::after { margin-left: 4px; }

/* ============================================
   SECTIONS
   ============================================ */
.section-block { padding: 80px 0; }
.section-block + .section-block { border-top: 1px solid var(--border); }

/* Contact form layout */
.contact-grid { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: 28px; align-items: start; }
.contact-info { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.contact-info h3 { margin-bottom: 12px; }
.contact-info p { margin-bottom: 10px; color: var(--text-muted); }
.contact-info p:last-child { margin-bottom: 0; }
.contact-info a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--text); font: inherit; font-size: 0.95rem; padding: 11px 12px; transition: border-color var(--ease), box-shadow var(--ease); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(55, 122, 255, 0.14); }
.contact-status { min-height: 22px; font-size: 0.88rem; color: var(--text-muted); }
.contact-status.success { color: #0f766e; }
.contact-status.error { color: #b91c1c; }

/* ============================================
   QUOTE DEMO
   ============================================ */
/* ============================================
   SPEECH BUBBLE TESTIMONIALS
   ============================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.speech-bubble { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; transition: box-shadow var(--ease), transform var(--ease); box-shadow: var(--shadow); }
.speech-bubble:nth-child(2) { animation-delay: 0.8s; }
.speech-bubble:nth-child(3) { animation-delay: 1.6s; }
.speech-bubble:hover { box-shadow: var(--shadow-md); transform: translateY(-2px) !important; }
.speech-bubble::after { content: ''; position: absolute; bottom: -10px; left: 28px; width: 20px; height: 20px; background: var(--card); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transform: rotate(45deg); }
.speech-bubble:nth-child(2)::after { left: auto; right: 28px; }
.speech-bubble:nth-child(3)::after { left: 50%; transform: translateX(-50%) rotate(45deg); }
.speech-bubble blockquote { font-family: var(--font-heading); font-size: 1.05rem; font-style: normal; line-height: 1.65; color: var(--text); margin: 0; }
.speech-bubble cite { display: block; margin-top: 16px; font-family: var(--font-body); font-style: normal; font-size: 0.82rem; font-weight: 600; color: var(--amber); text-align: right; }

/* ============================================
   USE CASE TEASER CARDS
   ============================================ */
.usecase-teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.usecase-teaser { padding: 32px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: box-shadow var(--ease), transform var(--ease); display: flex; flex-direction: column; text-decoration: none; }
.usecase-teaser:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.usecase-teaser h3 { margin-bottom: 10px; }
.usecase-teaser p { font-size: 0.95rem; color: var(--text-muted); flex-grow: 1; }
.usecase-teaser__link { margin-top: 20px; font-size: 0.9rem; font-weight: 600; color: var(--amber); transition: color var(--ease); }
.usecase-teaser__link span { display: inline-block; transition: transform var(--ease); }
.usecase-teaser:hover .usecase-teaser__link span { transform: translateX(4px); }

/* ============================================
   HIP-HOP SPLIT (text + screenshot)
   ============================================ */
.hiphop-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hiphop-split__text p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }
.hiphop-split__text p + p { margin-top: 16px; }
.screenshot-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--card); }
.screenshot-frame img { width: 100%; display: block; }
.screenshot-placeholder { aspect-ratio: 1; background: linear-gradient(135deg, var(--amber-light), #fff); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--text-light); text-align: center; padding: 32px; }

/* ============================================
   FLOW STEPS (hoe-werkt-het page)
   ============================================ */
.flow-steps { display: flex; flex-direction: column; }
.flow-step { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.flow-step:first-child { border-top: 1px solid var(--border); }
.flow-step__number { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--amber); color: #fff; font-weight: 700; font-size: 1rem; border-radius: 50%; }
.flow-step__content h3 { margin-bottom: 8px; font-size: 1.3rem; }
.flow-step__content p { font-size: 0.95rem; color: var(--text-muted); max-width: 560px; }

/* ============================================
   USE CASE TABS (inzetten-als page)
   ============================================ */
.use-cases { margin-top: 40px; }
.use-case-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.use-case-tab { padding: 14px 24px; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); cursor: pointer; border: none; background: none; font-family: var(--font-body); position: relative; transition: color var(--ease); }
.use-case-tab:hover { color: var(--text); }
.use-case-tab.active { color: var(--text); }
.use-case-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--amber); }
.use-case-panel { display: none; }
.use-case-panel.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.use-case-panel h3 { font-size: clamp(1.3rem,2.5vw,1.8rem); margin-bottom: 20px; }
.use-case-panel > p { color: var(--text-muted); line-height: 1.75; }
.use-case-for { margin-top: 28px; padding: 24px 28px; background: var(--amber-light); border-radius: var(--radius); }
.use-case-for h4 { font-size: 0.9rem; margin-bottom: 10px; }
.use-case-for ul { list-style: none; }
.use-case-for li { padding: 5px 0 5px 20px; position: relative; font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
.use-case-for li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ============================================
   CUSTOMIZATION BLOCK
   ============================================ */
.custom-block { margin-top: 48px; padding: 36px 40px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.custom-block h3 { margin-bottom: 16px; }
.custom-block > p { color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; }
.custom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.custom-item { padding: 20px 24px; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.custom-item h4 { font-size: 0.92rem; margin-bottom: 4px; }
.custom-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }

/* ============================================
   SCIENCE BLOCK
   ============================================ */
.science-block { margin-top: 32px; padding: 28px 32px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.science-block h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); margin-bottom: 12px; }
.science-block p { color: var(--text-muted); line-height: 1.75; font-size: 0.95rem; }

/* ============================================
   PRIVACY NOTE
   ============================================ */
.privacy-note { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-top: 32px; max-width: 640px; }
.privacy-note svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--text-light); margin-top: 2px; }
.privacy-note p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ============================================
   CTA SECTION (dark)
   ============================================ */
.cta-section { background: var(--dark-section); padding: 80px 24px; text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 28px; }
.cta-section p { color: rgba(255,255,255,.7); max-width: 480px; margin: 0 auto 32px; }

/* ============================================
   FOOTER
   ============================================ */
.footer { border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer__logo img { height: 18px; width: auto; flex-shrink: 0; }
.footer__tagline { font-size: 0.88rem; color: var(--text-muted); max-width: 260px; line-height: 1.6; }
.footer__col h4 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-bottom: 16px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col li { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }
.footer__col a { font-size: 0.88rem; color: var(--text-muted); transition: color var(--ease); }
.footer__col a:hover { color: var(--amber); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--text-light); }
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { color: var(--text-light); transition: color var(--ease); }
.footer__bottom-links a:hover { color: var(--text-muted); }
.footer__family { margin-top: 12px; padding-top: 12px; display: flex; gap: 20px; font-size: 0.78rem; }
.footer__family a { color: var(--text-light); transition: color var(--ease); }
.footer__family a:hover { color: var(--text-muted); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .speech-bubble::after { left: 28px !important; right: auto !important; transform: rotate(45deg) !important; }
  .usecase-teasers { grid-template-columns: 1fr; }
  .hiphop-split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .custom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav {
    background: #FFFFFF;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav__links, .nav__right .lang-toggle, .nav__right .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .flow-step { flex-direction: column; gap: 12px; }
  .use-case-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .use-case-tab { white-space: nowrap; padding: 12px 18px; font-size: 0.85rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer__family { flex-wrap: wrap; justify-content: center; }
  .custom-block { padding: 24px; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; text-align: center; }  .use-case-for { padding: 18px 20px; }
}

/* Components follow Jobportal's DM Sans typography, navy surfaces and soft cards. */
.practice-section { background: var(--blue-light); }
.practice-section h2 { margin: 12px 0 20px; }
.practice-intro { max-width: 680px; color: var(--text-muted); }
.practice-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.practice-video { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.practice-video__player { aspect-ratio: 16 / 9; background: var(--blue-dark); }
.practice-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.practice-video figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 18px 20px; font-size: .85rem; font-weight: 600; }
.practice-video figcaption a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 768px) { .practice-videos { grid-template-columns: minmax(0, 1fr); } }
body { background: radial-gradient(circle at 8% 2%, rgba(55,122,255,.07), transparent 28rem), linear-gradient(180deg, #fbfcff, var(--bg) 520px); }
html { scroll-padding-top: calc(var(--nav-h) + 20px); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.nav { box-shadow: 0 6px 24px rgba(14,42,94,.045); }
.nav__logo img, .footer__logo img { border-radius: 8px; background: #fff; padding: 3px; height: 32px; }
.nav__links a::after { display: none; }
.nav__links a:hover, .nav__links a.active { color: var(--blue-dark); background: var(--blue-light); }
.nav__cta, .btn { min-height: 44px; font-weight: 800; }
.nav__cta { display: inline-flex; align-items: center; }
.nav__cta, .cta-section .btn--primary { background: var(--blue-hover); }
.text-small, .quote-demo__artist, .usecase-teaser__link, .nav__mobile-menu .mobile-lang a.active { color: var(--blue-dark); }
.lang-toggle { background: #eef2f7; }
.nav__hamburger { border: 1px solid var(--border); border-radius: 10px; width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav__hamburger span { height: 2px; flex-shrink: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile-menu { overflow-y: auto; padding: 24px; }
.nav__mobile-menu > a { font-weight: 700; font-size: 1.1rem; }
.nav__mobile-menu .mobile-cta { margin-bottom: 0; padding-top: 24px; }
.hero { min-height: 0; padding-top: 144px; padding-bottom: 64px; }
.hero h1 { max-width: 940px; font-size: clamp(2.6rem, 5.2vw, 4.375rem); line-height: 1.02; letter-spacing: -.055em; }
.hero__sub { max-width: 600px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero__scroll { display: none; }
.hero--sub { padding: 136px 24px 64px; }
.hero--sub h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -.045em; }
.hero--sub p { font-size: 1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }.skip-link { position: fixed; top: 12px; left: 16px; z-index: 200; padding: 12px 18px; border-radius: 10px; background: var(--blue-dark); color: #fff; font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
main:focus { outline: none; }
.section-block h2 { margin-bottom: 20px; }
.section-block .text-small { margin-bottom: 12px; }
.btn--arrow { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-dark); }
.contact-help { color: var(--text-muted); font-size: .9rem; line-height: 1.65; }
.form-group input, .form-group select { min-height: 46px; }
.lang-toggle a, .mobile-lang a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.nav__mobile-menu { overscroll-behavior: contain; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.footer__bottom-links { flex-wrap: wrap; justify-content: center; }
.footer__col a, .footer__family a, .footer__bottom a { overflow-wrap: anywhere; }
@media (min-width: 769px) and (max-width: 1024px) {
  .usecase-teasers, .testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
  .usecase-teaser, .speech-bubble { padding: 24px; }
}
.speech-bubble::after { display: none; }
.speech-bubble blockquote { font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.speech-bubble cite { color: var(--text-muted); text-align: left; }
.usecase-teaser, .contact-info, .contact-form, .custom-block { box-shadow: var(--shadow-md); }
.usecase-teaser h3 { font-size: 1.25rem; }
.usecase-teaser:hover { border-color: #83aaff; }
.flow-step__number { border-radius: 12px; background: var(--blue-light); color: var(--blue-dark); }
.flow-step__content { min-width: 0; }
.flow-step__content h3 { font-size: 1.15rem; }
.use-case-tab { font-weight: 700; }
.use-case-tab.active { color: var(--blue); }
.use-case-panel.active { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-md); }
.use-case-for { background: var(--sage-light); }
.use-case-for li::before { background: #527449; }
.science-block h4 { color: var(--text-muted); }
.cta-section { background: radial-gradient(circle at 90% 10%, rgba(141,171,127,.14), transparent 24rem), var(--blue-dark); }
.cta-section .btn--primary { background: var(--blue-hover); }
.cta-section .btn--primary:hover { background: var(--blue-hover); }
.footer { background: var(--blue-dark); border: 0; }
.footer .nav__logo-text, .footer__col h4 { color: #fff; }
.footer .nav__logo-text span { color: #9bbcff !important; }
.footer__tagline, .footer__col li, .footer__col a, .footer__bottom, .footer__bottom a, .footer__family a { color: #bcc9df; }
.footer__bottom, .footer__family { border-color: rgba(255,255,255,.16); }
.footer a[style] { color: #bcc9df !important; }
.footer a:hover { color: #fff !important; }
.legal-page .container--narrow { max-width: 900px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-md); }
.legal-page .container--narrow h2 { font-size: 1.3rem; }
.legal-page .container--narrow .note { background: var(--blue-light); border: 1px solid var(--border); }
.legal-page .container--narrow th, .legal-page .container--narrow td { border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.legal-page .container--narrow table { display: block; overflow-x: auto; }
@media (max-width: 1100px) {
  /* A backdrop filter contains fixed descendants and clips the full-height menu. */
  .nav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__links, .nav__right .lang-toggle, .nav__right .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
}
@media (max-width: 768px) {
  .hero { min-height: 0; padding: 132px 20px 64px; }
  .hero--sub { padding: 120px 20px 48px; }
  .section-block { padding: 48px 0; }
  .cta-section { padding: 56px 0; }
  .hiphop-split { gap: 24px; }
  .legal-page { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Compact introduction and embedded recruitment example. */
.hero--visual { padding: 120px 0 56px; text-align: left; }
.hero__layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; width: 100%; }
.hero--visual h1 { font-size: clamp(2.4rem, 4.2vw, 3.5rem); }
.hero--visual .hero__sub { margin: 24px 0; font-size: 1.05rem; max-width: 550px; }
.hero--visual .hero__actions { justify-content: flex-start; }
.hero__preview { display: block; max-width: 360px; width: 100%; justify-self: end; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md); transition: box-shadow var(--ease); }
.hero__preview:hover { box-shadow: var(--shadow-lg); }
.hero__preview img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.section-intro { color: var(--text-muted); margin-top: -8px; }
.background-copy { max-width: 760px; }
.practice-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 28px; align-items: start; }
.linkedin-post { min-width: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.linkedin-post iframe { display: block; width: 100%; height: 700px; border: 0; background: #fff; }
.linkedin-post__link { display: flex; align-items: center; justify-content: center; padding: 14px 18px; min-height: 48px; border-top: 1px solid var(--border); color: var(--blue-dark); font-size: .9rem; font-weight: 700; gap: 8px; }
.linkedin-post__link:hover { background: var(--blue-light); }
.practice-media .practice-videos { grid-template-columns: minmax(0, 1fr); }
.footer--compact { padding: 28px 0 24px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; padding-bottom: 20px; }
.footer--compact .footer__logo { margin: 0; }
.footer__nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; color: #d1dced; font-size: .88rem; }
.footer--compact .footer__bottom { gap: 8px 24px; flex-wrap: wrap; padding-top: 16px; font-size: .75rem; }
.footer__bottom p { margin: 0; color: inherit; }
.footer--compact .footer__bottom-links { gap: 8px 16px; align-items: center; }
.footer__bottom-links a { display: inline-flex; align-items: center; min-height: 32px; }
@media (max-width: 768px) {
  .hero--visual { padding: 112px 0 40px; }
  .hero__layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero--visual h1 { font-size: clamp(2rem, 7.5vw, 2.8rem); }
  .hero--visual .hero__sub { margin: 20px 0; font-size: 1rem; }
  .hero__preview { max-width: 240px; justify-self: center; border-radius: 18px; }
  .hero--visual .hero__actions { flex-direction: row; }
  .hero--visual .hero__actions .btn { width: auto; padding: 12px 18px; }
  .practice-media { grid-template-columns: minmax(0, 1fr); }
  .linkedin-post { max-width: 550px; width: 100%; justify-self: center; }
  .footer__top { flex-wrap: wrap; gap: 8px 24px; padding-bottom: 12px; }
  .footer__nav { gap: 8px 20px; }
  .footer--compact .footer__bottom { align-items: flex-start; text-align: left; gap: 4px; }
  .footer--compact .footer__bottom-links { justify-content: flex-start; }
}

/* Consistent reading edges, card alignment and room for both languages. */
.nav__logo { flex-shrink: 0; }
.nav__right { gap: 16px; min-width: 0; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.section-summary .container > p:not(.text-small) { max-width: 74ch; }
.usecase-teasers { margin-top: 28px; }
.usecase-teaser, .speech-bubble, .custom-item { min-width: 0; }
.speech-bubble { display: flex; flex-direction: column; }
.speech-bubble blockquote { flex: 1; }
.usecase-teaser h3, .custom-item h4 { text-wrap: balance; }
.use-case-panel > p, .custom-block > p { max-width: 74ch; }
.use-case-tab.active { color: var(--blue-dark); }
.use-case-tab { min-height: 48px; }
.flow-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); }
.privacy-note { max-width: none; }
.practice-media { align-items: stretch; }
.linkedin-post { display: flex; flex-direction: column; }
.linkedin-post iframe { flex: 1 1 auto; height: 0; min-height: 620px; }
.linkedin-post__link { flex-shrink: 0; }
.practice-video figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: 76px; gap: 12px; }
.practice-video figcaption a { white-space: nowrap; }
.footer__bottom p { line-height: 1.6; }
.footer__bottom-links { row-gap: 0; }
.legal-page .container--narrow th, .legal-page .container--narrow td { min-width: 100px; }
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
@media (min-width: 769px) and (max-width: 1024px) { .custom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .testimonials-grid { max-width: none; }
  .linkedin-post { max-width: none; }
  .linkedin-post iframe { flex: none; height: 660px; min-height: 0; }
}
@media (max-width: 480px) {
  .flow-step { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
  .flow-step__number { width: 32px; height: 32px; font-size: .9rem; border-radius: 9px; }
  .practice-video figcaption { padding: 14px 16px; font-size: .8rem; }
}

/* Scroll effects enhance content that remains visible without JavaScript. */
.reveal { transition: opacity .45s ease, transform .45s ease; }
.reveal.is-pending { opacity: 0; transform: translateY(16px); }
.hero h1 { animation-duration: .55s; }
.hero__sub { animation-duration: .55s; animation-delay: .08s; }
.hero__actions { animation-duration: .55s; animation-delay: .16s; }
.scroll-to-top { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 80; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: var(--blue-dark); color: #fff; box-shadow: 0 6px 20px rgba(14,42,94,.2); cursor: pointer; animation: fadeUp .2s ease both; transition: background .2s ease, box-shadow .2s ease; }
.scroll-to-top[hidden] { display: none; }
.scroll-to-top svg { width: 22px; height: 22px; }
.scroll-to-top:hover { background: #17478f; box-shadow: var(--shadow-lg); }
@media (max-width: 480px) { .scroll-to-top { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero__sub, .hero__actions, .reveal.is-pending { opacity: 1; transform: none; }
  *, *::before, *::after { animation-delay: 0s !important; }
}
