/* Public website. Bootstrap 5 grid + this file. */
:root {
  --ink: #0b1220;
  --ink-2: #111a2e;
  --ink-3: #1a2540;
  --paper: #ffffff;
  --paper-2: #f5f6f9;
  --line: #e6e8ef;
  --text: #1b2333;
  --muted: #5d6779;
  --muted-dark: #a9b3c6;
  --accent: #e2b04a;
  --accent-2: #c8902a;
  --accent-soft: rgba(226, 176, 74, .14);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(11, 18, 32, .08);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, .16);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-bn: "Noto Sans Bengali", "Inter", system-ui, sans-serif;
  --header-h: 96px;
}
html[lang="bn"] { --font: var(--font-bn); }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.site {
  font-family: var(--font); color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
html[lang="bn"] body.site { line-height: 1.75; }
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--accent); color: var(--ink); padding: .5rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ------------------------------------------------------------ Buttons */
.btn-site {
  display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  min-height: 48px;
}
.btn-site:hover { transform: translateY(-2px); }
.btn-site-primary { background: var(--accent); color: var(--ink); box-shadow: 0 8px 24px rgba(226, 176, 74, .35); }
.btn-site-primary:hover { background: #ecc066; color: var(--ink); }
.btn-site-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-site-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-site-dark { background: var(--ink); color: #fff; }
.btn-site-dark:hover { background: var(--ink-3); color: #fff; }
.btn-site-light { background: #fff; color: var(--ink); }
.btn-site-light:hover { color: var(--ink); background: #f1f1f1; }
.btn-site-sm { padding: .55rem 1.05rem; font-size: .88rem; min-height: 40px; }

/* ------------------------------------------------------------ Header */
/* A floating dark bar on every page; the Contact button opens a small popup. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding-top: 14px; pointer-events: none; }
.nav-shell, .site-header .mobile-nav { pointer-events: auto; }
.nav-shell {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 10px 10px 10px 14px; border-radius: 24px; color: #fff;
  background: rgba(11, 18, 32, .82); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18); transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled .nav-shell, .site-header.is-open .nav-shell { background: rgba(11, 18, 32, .96); box-shadow: 0 14px 40px rgba(0, 0, 0, .3); }
.site-brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 700; letter-spacing: -.01em; color: inherit; }
.brand-initial { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-weight: 800; font-size: 1.35rem; }
.brand-name { font-size: 1.2rem; white-space: nowrap; }
.nav-right { display: flex; align-items: center; gap: .6rem; }
.site-nav { list-style: none; margin: 0 .25rem 0 0; padding: 0; gap: .15rem; }
.site-nav a { display: block; padding: .55rem .75rem; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap; opacity: .9; transition: opacity .2s, background .2s; }
.site-nav a:hover, .site-nav a.active { opacity: 1; background: rgba(255, 255, 255, .1); }
.site-nav a.active { color: var(--accent); }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); gap: 2px; }
.lang-switch a { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .55rem; border-radius: 999px; color: #fff; text-decoration: none; font-size: .75rem; font-weight: 700; opacity: .7; min-height: 34px; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a.active { background: #fff; color: var(--ink); opacity: 1; }
.lang-switch .fi { border-radius: 3px; width: 1.15em; line-height: .9em; }
.lang-switch .lang-code { display: none; }
.nav-contact {
  display: inline-flex; align-items: center; gap: .5rem; border: 0; border-radius: 999px; padding: .85rem 1.5rem;
  background: var(--accent); color: var(--ink); font-weight: 700; font-size: 1rem; line-height: 1;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.nav-contact:hover, .nav-contact[aria-expanded="true"] { background: #ecc066; box-shadow: 0 8px 24px rgba(226, 176, 74, .35); }
.nav-contact:focus-visible, .nav-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nav-toggle { width: 46px; height: 46px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.5rem; display: grid; place-items: center; }

.contact-pop {
  position: absolute; top: calc(100% + 12px); right: 0; width: min(420px, 100%); padding: 1.5rem;
  border-radius: 24px; color: #fff; background: #05080f; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45); animation: pop-in .18s ease-out;
}
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.contact-pop-close { position: absolute; top: .9rem; right: .9rem; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; }
.contact-pop-close:hover { background: rgba(255, 255, 255, .16); }
.contact-pop-title { font-size: 1.35rem; font-weight: 700; margin: 0 2.5rem .6rem 0; }
.contact-pop-text { color: rgba(255, 255, 255, .75); margin: 0 0 1.25rem; line-height: 1.6; }
.contact-pop-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1rem; border-radius: 16px;
  background: #4fa258; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: background .2s;
}
.contact-pop-whatsapp:hover { background: #43914c; color: #fff; }
.contact-pop-email { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem 1rem .2rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.contact-pop-email:hover { color: var(--accent); }

.mobile-nav { margin-top: 10px; padding: .5rem 1rem 1rem; border-radius: 24px; background: rgba(11, 18, 32, .97); color: #fff; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-lg); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav ul a { display: block; padding: .85rem .25rem; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav ul a.active { color: var(--accent); }
.lang-switch-mobile { display: flex; margin-top: 1rem; }
.lang-switch-mobile a { flex: 1; justify-content: center; font-size: .85rem; }

@media (max-width: 575.98px) {
  .site-header { padding-top: 10px; }
  .nav-shell { padding: 8px; gap: .5rem; border-radius: 20px; }
  .brand-initial { width: 40px; height: 40px; font-size: 1.15rem; border-radius: 11px; }
  .brand-name { font-size: 1rem; }
  .nav-right { gap: .4rem; }
  .nav-contact { padding: .7rem 1rem; font-size: .92rem; }
  .nav-toggle { width: 42px; height: 42px; }
  .contact-pop { left: 0; width: auto; padding: 1.25rem; }
  .hero-actions .btn-site { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 379.98px) { .brand-name { display: none; } }

/* ------------------------------------------------------------ Hero */
.hero { position: relative; min-height: clamp(560px, 100vh, 980px); min-height: clamp(560px, 100svh, 980px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-fallback { background: radial-gradient(1200px 600px at 75% 20%, rgba(226, 176, 74, .25), transparent 60%), radial-gradient(900px 500px at 10% 90%, rgba(56, 120, 255, .22), transparent 60%), linear-gradient(160deg, #0b1220, #121c33 55%, #0b1220); }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 18, 32, calc(var(--hero-overlay) * .9)) 0%, rgba(11, 18, 32, var(--hero-overlay)) 55%, rgba(11, 18, 32, min(calc(var(--hero-overlay) + .25), .95)) 100%); }
.hero-inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 6rem; max-width: 980px; margin-left: auto; margin-right: auto; text-align: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .85rem; font-weight: 500; margin-bottom: 1.4rem; backdrop-filter: blur(6px); }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin: 0 0 1.1rem; text-wrap: balance; }
html[lang="bn"] .hero-title { letter-spacing: 0; line-height: 1.25; }
.hero-headline { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 500; color: var(--accent); margin: 0 auto 1.1rem; max-width: 46rem; text-wrap: balance; }
.hero-intro { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255, 255, 255, .82); max-width: 40rem; margin: 0 auto 2rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.social-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.social-row a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; font-size: 1.1rem; background: rgba(127, 127, 127, .12); transition: background .2s, transform .2s, color .2s; }
.social-row a:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.social-row-sm a { width: 34px; height: 34px; font-size: .95rem; }
.hero-scroll { position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 14px; }
.hero-scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ------------------------------------------------------------ Sections */
.site-section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.site-section-alt { background: var(--paper-2); }
.site-section-dark { background: var(--ink); color: #fff; }
.section-heading { margin: 0 auto 3rem; max-width: 46rem; }
.section-heading.text-start { margin-left: 0; margin-bottom: 1.5rem; }
.section-heading h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin: 0 0 .75rem; position: relative; }
html[lang="bn"] .section-heading h2 { letter-spacing: 0; }
.section-heading h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--accent); margin: 1rem auto 0; }
.section-heading.text-start h2::after { margin-left: 0; }
.section-heading p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-heading.is-dark p { color: var(--muted-dark); }
.subsection-title { font-size: 1.35rem; font-weight: 700; margin: 3.5rem 0 1.5rem; }
.prose { font-size: 1.08rem; line-height: 1.85; color: #2c3546; }
.prose p { margin-bottom: 1.15em; }
.prose-lg { font-size: 1.15rem; }
html[lang="bn"] .prose { line-height: 2; }

/* About */
.about-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); max-width: 460px; margin: 0 auto; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }

/* Companies */
.venture-card { height: 100%; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.venture-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.venture-card.is-founder { padding: 2.25rem; border-top: 4px solid var(--accent); }
.venture-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.venture-logo { width: 64px; height: 64px; border-radius: 16px; object-fit: contain; background: var(--paper-2); }
.venture-logo-text { display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: var(--ink); background: var(--accent-soft); }
.venture-badge { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-soft); padding: .35rem .75rem; border-radius: 999px; }
.venture-name { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .25rem; }
.venture-role { font-weight: 600; color: var(--muted); margin-bottom: .9rem; }
.venture-text { color: #3a4456; line-height: 1.75; }
.venture-foot { margin-top: auto; padding-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.venture-domain { font-size: .85rem; color: var(--muted); }

/* YouTube */
.channel-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.5rem; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: transform .25s, border-color .25s, background .25s; }
a.channel-card:hover { transform: translateY(-4px); border-color: rgba(226, 176, 74, .6); background: var(--ink-3); color: #fff; }
.channel-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #ff0033; color: #fff; font-size: 1.35rem; }
.channel-title { font-size: 1.15rem; font-weight: 700; margin: 1.1rem 0 .5rem; }
.channel-text { color: var(--muted-dark); font-size: .95rem; line-height: 1.65; }
.channel-meta { margin-top: auto; padding-top: .75rem; font-size: .83rem; color: var(--muted-dark); display: flex; align-items: center; gap: .4rem; }
.channel-link { margin-top: .75rem; font-weight: 600; color: var(--accent); font-size: .92rem; }
.status-pill { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; }
.status-pill.is-soon { background: var(--accent); color: var(--ink); }
.status-pill.is-planned { background: rgba(255, 255, 255, .12); color: #fff; }
.video-card { margin: 0; }
.video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius-sm); overflow: hidden; background: #000; cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s; opacity: .9; }
.video-thumb:hover img { transform: scale(1.04); opacity: 1; }
.video-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 0, 51, .92); color: #fff; font-size: 2rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .2s; }
.video-thumb:hover .video-play { transform: scale(1.08); }
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-sm); display: block; }
.video-card figcaption { padding-top: .75rem; display: flex; flex-direction: column; gap: .15rem; }
.video-title { font-weight: 600; }
.video-channel { font-size: .85rem; color: var(--muted-dark); }

/* Education timeline */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 9px; width: 2px; background: linear-gradient(var(--accent), var(--line)); }
.timeline-item { position: relative; padding-left: 3rem; margin-bottom: 1.75rem; }
.timeline-item::before { content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 4px solid var(--line); }
.timeline-item.is-current::before { border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.timeline-years { font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--accent-2); margin-bottom: .45rem; }
.timeline-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.25rem 1.4rem; box-shadow: 0 2px 6px rgba(11, 18, 32, .03); }
.timeline-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 .25rem; }
.timeline-place { color: var(--muted); font-weight: 500; }
.timeline-card p { margin: .65rem 0 0; color: #3a4456; line-height: 1.7; }
@media (min-width: 992px) {
  .timeline::before { left: 50%; margin-left: -1px; }
  .timeline-item { width: 50%; padding-left: 0; padding-right: 3rem; text-align: right; }
  .timeline-item::before { left: auto; right: -10px; }
  .timeline-item:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 3rem; text-align: left; }
  .timeline-item:nth-child(even)::before { right: auto; left: -10px; }
}

/* Blog */
.post-card { height: 100%; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-cover img { transform: scale(1.05); }
.post-cover-fallback { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.4rem; color: var(--accent-2); background: linear-gradient(135deg, var(--accent-soft), #eef1f7); }
.post-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted); margin-bottom: .7rem; }
.post-meta.is-light { color: rgba(255, 255, 255, .8); }
.post-category { font-weight: 700; color: var(--accent-2); text-decoration: none; text-transform: uppercase; letter-spacing: .05em; font-size: .75rem; }
.post-meta.is-light .post-category { color: var(--accent); }
.post-title { font-size: 1.22rem; font-weight: 700; line-height: 1.35; margin: 0 0 .6rem; }
.post-title a { text-decoration: none; }
.post-title a:hover { color: var(--accent-2); }
.post-excerpt { color: #4a5466; font-size: .97rem; line-height: 1.65; margin-bottom: 1rem; }
.post-more { margin-top: auto; font-weight: 600; text-decoration: none; color: var(--ink); font-size: .92rem; }
.post-more:hover { color: var(--accent-2); }
.page-hero { background: var(--ink); color: #fff; padding: calc(var(--header-h) + 1rem) 0 3.5rem; }
.page-hero .section-heading { margin-bottom: 2rem; }
.page-hero + .site-section:not(.site-section-dark) { padding-top: clamp(2.5rem, 5vw, 4rem); }
.category-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.category-pills a { padding: .5rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.category-pills a.active, .category-pills a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.site-pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 3rem; font-weight: 600; }
.site-pagination a { text-decoration: none; padding: .6rem 1rem; border-radius: 999px; background: var(--paper-2); }
.empty-note { text-align: center; color: var(--muted); font-size: 1.1rem; padding: 3rem 0; }

.post-hero { position: relative; background: var(--ink); color: #fff; padding: calc(var(--header-h) + 2.5rem) 0 4rem; overflow: hidden; isolation: isolate; }
.post-hero.has-cover { padding-top: calc(var(--header-h) + 8rem); padding-bottom: 4.5rem; }
.post-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.post-hero.has-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 18, 32, .35), rgba(11, 18, 32, .88)); }
.post-hero-inner { max-width: 820px; }
.post-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin: .5rem 0 1rem; text-wrap: balance; }
html[lang="bn"] .post-hero h1 { letter-spacing: 0; line-height: 1.35; }
.post-lead { font-size: 1.2rem; color: rgba(255, 255, 255, .82); margin: 0; }
.back-to-blog { display: inline-flex; gap: .4rem; align-items: center; text-decoration: none; font-weight: 600; font-size: .9rem; color: rgba(255, 255, 255, .8); margin-bottom: 1.5rem; }
.back-to-blog:hover { color: #fff; }
.post-content { max-width: 760px; margin: 0 auto; padding: 3.5rem 0 5rem; }
.language-note { display: flex; gap: .6rem; align-items: center; padding: .85rem 1.1rem; border-radius: var(--radius-sm); background: var(--accent-soft); color: #6b4a0c; font-weight: 500; margin-bottom: 2rem; }

/* Contact */
.contact-band { background: radial-gradient(800px 400px at 50% 0%, rgba(226, 176, 74, .18), transparent 70%), var(--ink); color: #fff; }
.contact-email { display: inline-block; font-size: clamp(1.4rem, 4vw, 2.4rem); font-weight: 700; color: var(--accent); text-decoration: none; letter-spacing: -.01em; word-break: break-all; }
.contact-email:hover { color: #ecc066; }
.contact-social { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.25rem; }
.contact-social a { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.2rem; border-radius: 999px; text-decoration: none; font-weight: 600; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s, color .2s; }
.contact-social a:hover { background: var(--accent); color: var(--ink); }

/* Footer */
.site-footer { background: #070c16; color: rgba(255, 255, 255, .78); padding: 4rem 0 2rem; }
.site-footer .site-brand { color: #fff; }
.footer-text { margin: 1rem 0 1.25rem; max-width: 26rem; }
.site-footer .social-row a { background: rgba(255, 255, 255, .08); color: #fff; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 1rem; font-size: .95rem; letter-spacing: .02em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current] { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 3rem; padding-top: 1.5rem; font-size: .88rem; }
.footer-bottom a { text-decoration: none; }

/* Scroll reveal (only when JS runs, and never for reduced motion) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .hero-scroll span { animation: none; } }
.hero-links { margin: 2.5rem auto 0; max-width: 1040px; display: grid; gap: 1rem; }
.hero-links-row { display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: 1.25rem; background: rgba(11, 18, 32, .35); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-align: left; }
.hero-links-lang { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.hero-links-lang .fi { width: 1.4em; line-height: 1; border-radius: 2px; }
.hero-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-link { display: inline-flex; align-items: center; gap: .65rem; padding: .45rem 1rem .45rem .45rem; border-radius: 999px; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); transition: background .2s, transform .2s, border-color .2s; }
.hero-link:hover, .hero-link:focus-visible { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .4); color: #fff; transform: translateY(-2px); }
.hero-link-icon { width: 2.1rem; height: 2.1rem; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.05rem; }
.is-youtube .hero-link-icon { background: #ff0033; color: #fff; }
.is-facebook .hero-link-icon { background: #1877f2; color: #fff; }
.is-instagram .hero-link-icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff; }
.is-tiktok .hero-link-icon { background: #000; color: #fff; }
.is-linkedin .hero-link-icon { background: #0a66c2; color: #fff; }
.is-x .hero-link-icon, .is-github .hero-link-icon { background: #0b1220; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.is-website .hero-link-icon { background: var(--accent); color: var(--ink); }
.hero-link-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero-link-name { font-weight: 700; font-size: .95rem; }
.hero-link-topic { font-size: .78rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 767.98px) {
  .hero-links-row { grid-template-columns: 1fr; gap: .6rem; padding: .8rem; }
  .hero-links-lang { justify-content: center; }
  .hero-links ul { justify-content: center; }
}
}
.footer-note { display: inline-flex; align-items: center; gap: .35rem; margin-left: .75rem; opacity: .75; }

/* ------------------------------------------------------------ Tech & Engineering / Film & Media pages */
.skill-tags { list-style: none; margin: -.5rem auto 0; padding: 0; max-width: 900px; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.skill-tags li { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: .9rem; font-weight: 600; }
.skill-tags .bi { color: var(--accent); }
.service-card { height: 100%; padding: 1.75rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem; background: var(--accent-soft); color: var(--accent-2); font-size: 1.5rem; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.service-card p { color: var(--muted); margin: 0; line-height: 1.6; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; max-width: 820px; border-left: 2px solid var(--line); }
.timeline-item { position: relative; padding: 0 0 2.25rem 1.25rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: calc(-1.5rem - 7px); top: .3rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--paper-2); }
.timeline-period { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .3rem; }
.timeline-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 .2rem; }
.timeline-sub { color: var(--muted); font-weight: 600; margin-bottom: .5rem; }
.timeline-sub a { color: inherit; }
.timeline-text { color: var(--text); line-height: 1.65; }
.timeline-text p:last-child { margin-bottom: 0; }
.project-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-image { aspect-ratio: 16 / 9; background: var(--paper-2); }
.project-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.project-period { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); margin-bottom: .35rem; }
.project-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .25rem; }
.project-sub { color: var(--muted); font-size: .92rem; font-weight: 600; margin-bottom: .6rem; }
.project-body p { color: var(--muted); line-height: 1.6; }
.project-link { margin-top: auto; font-weight: 700; color: var(--ink); text-decoration: none; }
.project-link:hover { color: var(--accent-2); }

/* Content Hub: the hero link rows on the dark page head. */
.content-hub .hero-links { margin-top: 0; }

