.landing-page {
  --section-padding: clamp(4.5rem, 8vw, 7.5rem);
}

.site-navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  backdrop-filter: blur(18px);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-navbar.is-scrolled {
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--heading);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.site-brand-logo {
  width: auto;
  height: auto;
  max-height: 2.75rem;
}

.site-brand-text {
  color: var(--heading);
}

.navbar-toggler {
  padding: 0.25rem;
  color: var(--heading);
  border-radius: 0.9rem;
}

.navbar-toggler-icon {
  filter: none;
}

.site-nav-link {
  color: var(--text-muted);
  font-size: 0.97rem;
  font-weight: 500;
  transition: color 160ms ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
  color: var(--heading);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.language-switcher-link {
  min-width: 2.7rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.language-switcher-link:hover,
.language-switcher-link:focus-visible {
  color: var(--heading);
}

.language-switcher-link.is-active {
  background: var(--heading);
  color: #fff;
  box-shadow: 0 10px 18px rgba(11, 16, 32, 0.14);
}

.site-btn {
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-btn:hover {
  transform: translateY(-1px);
}

.site-btn-primary {
  background: var(--heading);
  border-color: var(--heading);
  color: #fff;
  box-shadow: 0 14px 28px rgba(11, 16, 32, 0.14);
}

.site-btn-primary:hover,
.site-btn-primary:focus-visible {
  background: #161d33;
  border-color: #161d33;
  color: #fff;
}

.site-btn-secondary {
  border-color: var(--border-strong);
  color: var(--heading);
  background: rgba(255, 255, 255, 0.8);
}

.site-btn-secondary:hover,
.site-btn-secondary:focus-visible {
  border-color: rgba(56, 189, 248, 0.34);
  background: rgba(56, 189, 248, 0.08);
  color: var(--heading);
}

.hero-section {
  position: relative;
  padding: calc(var(--navbar-height) + 3rem) 0 4.5rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: min(38rem, 100%);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  pointer-events: none;
}

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

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.hero-brand-logo {
  width: auto;
  height: auto;
  max-height: 3.1rem;
  flex: 0 0 auto;
}

.hero-brand-meta {
  display: grid;
  gap: 0.15rem;
}

.hero-brand-name {
  color: var(--heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-brand-role {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero-title,
.section-heading h2,
.quote-panel blockquote {
  color: var(--heading);
  letter-spacing: -0.03em;
}

.hero-title {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.9rem, 7vw, 5.2rem);
  line-height: 0.98;
}

.hero-text,
.section-heading p,
.focus-card p,
.timeline-list,
.cert-list,
.quote-panel p,
.contact-panel p,
.footer-copy,
.about-points p {
  color: var(--text-muted);
}

.hero-text {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-signals {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.hero-signals li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text);
}

.hero-signals i {
  color: var(--accent);
}

.hero-panel,
.about-panel,
.focus-card,
.timeline-card,
.cert-group,
.stack-card,
.quote-panel,
.contact-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.hero-panel {
  padding: 1.5rem;
}

.hero-panel-head,
.cert-group-head,
.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-panel-label,
.hero-panel-status,
.timeline-period,
.timeline-role,
.stat-label {
  color: var(--text-muted);
}

.hero-panel-label {
  font-weight: 600;
  color: var(--heading);
}

.hero-panel-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.hero-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.hero-highlight-card,
.stat-card {
  padding: 1.2rem;
  background: var(--surface-muted);
  border: 1px solid rgba(11, 16, 32, 0.06);
  border-radius: var(--radius-md);
}

.hero-highlight-value,
.stat-value {
  display: block;
  color: var(--heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-highlight-label {
  display: block;
  margin-top: 0.45rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.content-section {
  padding: var(--section-padding) 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(11, 16, 32, 0.015), rgba(255, 255, 255, 0));
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 2.5rem;
}

.section-heading.narrow {
  max-width: 44rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.section-heading p {
  margin: 1rem 0 0;
  line-height: 1.75;
}

.about-panel {
  padding: 2rem;
  height: 100%;
}

.about-points {
  display: grid;
  gap: 1.5rem;
}

.about-points h3,
.focus-card h3,
.timeline-card h3,
.cert-group h3,
.stack-card h3 {
  margin: 0 0 0.75rem;
  color: var(--heading);
  font-size: 1.2rem;
}

.stats-stack {
  display: grid;
  gap: 1rem;
}

.stat-label {
  display: block;
  margin-top: 0.4rem;
  line-height: 1.6;
}

.focus-card,
.cert-group,
.stack-card {
  padding: 1.7rem;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.focus-card:hover,
.cert-group:hover,
.stack-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.24);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.08);
}

.focus-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.25rem;
}

.focus-card p,
.about-points p {
  margin: 0;
  line-height: 1.7;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.4), rgba(148, 163, 184, 0.08));
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 1.4rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  border: 5px solid #f4f7fb;
  background: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2);
}

.timeline-card {
  padding: 1.75rem;
}

.timeline-role,
.timeline-period {
  display: inline-block;
  font-size: 0.95rem;
}

.timeline-period {
  margin-bottom: 0.4rem;
  color: var(--accent);
}

.timeline-role {
  margin: 0;
}

.timeline-list,
.cert-list {
  padding-left: 1.15rem;
  margin: 1rem 0 0;
}

.timeline-list li,
.cert-list li {
  padding-left: 0.3rem;
  line-height: 1.7;
}

.cert-group-head {
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.cert-group-head i {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--heading);
  border-radius: 0.95rem;
  font-size: 1.1rem;
}

.stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stack-badges span {
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid rgba(11, 16, 32, 0.08);
  color: var(--text);
  font-size: 0.94rem;
}

.quote-section {
  padding-top: 1rem;
}

.quote-panel {
  padding: clamp(2rem, 4vw, 3rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.96)),
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 36%);
}

.quote-panel blockquote {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
}

.quote-panel p {
  max-width: 44rem;
  margin: 1.25rem 0 0;
  line-height: 1.8;
}

.contact-section {
  padding-bottom: 5.5rem;
}

.contact-panel {
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 2rem;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.contact-item:hover,
.contact-item:focus-visible {
  border-color: rgba(56, 189, 248, 0.28);
  color: var(--heading);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer {
  padding: 0 0 2.5rem;
}

.footer-content {
  display: grid;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--heading);
  font-weight: 600;
}

.footer-brand-logo {
  width: auto;
  height: auto;
  max-height: 2.4rem;
}

.footer-copy {
  margin: 0.5rem 0 0;
  max-width: 34rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-links a,
.footer-meta {
  color: var(--text-muted);
}

@media (min-width: 992px) {
  .footer-content {
    grid-template-columns: 1.3fr auto auto;
    align-items: end;
  }
}

@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-lg);
  }

  .site-navbar .navbar-nav {
    gap: 0.45rem;
  }

  .site-navbar .nav-item {
    width: 100%;
  }

  .site-nav-link {
    display: block;
    padding: 0.9rem 0.25rem;
    border-radius: 0.85rem;
  }

  .site-navbar .nav-item:last-child {
    margin-top: 0.75rem;
  }

  .language-switcher {
    width: 100%;
    justify-content: center;
    padding: 0.35rem;
  }

  .language-switcher-link {
    flex: 1 1 0;
  }

  .site-navbar .site-btn {
    width: 100%;
    justify-content: center;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
  }

  .hero-highlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .landing-page {
    --section-padding: 4.25rem;
  }

  .site-brand {
    gap: 0.75rem;
    font-size: 0.98rem;
  }

  .site-brand-logo {
    max-height: 2.35rem;
  }

  .hero-section {
    padding-top: calc(var(--navbar-height) + 1.5rem);
    padding-bottom: 3.5rem;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-brand-lockup {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 1.25rem;
    padding: 0.8rem 0.95rem;
  }

  .hero-brand-logo {
    max-height: 2.7rem;
  }

  .hero-brand-role {
    font-size: 0.9rem;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(2.35rem, 11vw, 3.35rem);
    line-height: 1.02;
    text-wrap: balance;
  }

  .section-eyebrow {
    margin-bottom: 0.95rem;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }

  .hero-text {
    margin-top: 1.2rem;
    font-size: 1rem;
    line-height: 1.72;
  }

  .hero-actions {
    margin: 1.6rem 0 1.4rem;
    gap: 0.85rem;
  }

  .hero-actions .site-btn {
    width: 100%;
    justify-content: center;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
  }

  .hero-signals {
    gap: 0.7rem;
  }

  .hero-signals li {
    gap: 0.6rem;
    line-height: 1.6;
  }

  .hero-panel {
    padding: 1.2rem;
  }

  .hero-panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .hero-highlight-grid {
    gap: 0.85rem;
    margin-top: 1rem;
  }

  .hero-highlight-card,
  .stat-card,
  .focus-card,
  .cert-group,
  .stack-card,
  .timeline-card {
    padding: 1.2rem;
  }

  .content-section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .section-heading h2 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
    line-height: 1.12;
    text-wrap: balance;
  }

  .section-heading p {
    margin-top: 0.9rem;
    line-height: 1.7;
  }

  .about-panel {
    padding: 1.4rem;
  }

  .about-points {
    gap: 1.25rem;
  }

  .stats-stack {
    gap: 0.85rem;
  }

  .focus-card h3,
  .timeline-card h3,
  .cert-group h3,
  .stack-card h3,
  .about-points h3 {
    margin-bottom: 0.65rem;
    font-size: 1.08rem;
  }

  .focus-icon {
    width: 2.65rem;
    height: 2.65rem;
    margin-bottom: 1rem;
    border-radius: 0.9rem;
    font-size: 1.05rem;
  }

  .timeline-item {
    padding-left: 2.5rem;
  }

  .timeline::before {
    left: 0.65rem;
  }

  .timeline-marker {
    width: 1.35rem;
    height: 1.35rem;
  }

  .timeline-card {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .timeline-period,
  .timeline-role {
    font-size: 0.9rem;
  }

  .timeline-list,
  .cert-list {
    margin-top: 0.85rem;
    padding-left: 1rem;
  }

  .stack-badges {
    gap: 0.6rem;
  }

  .stack-badges span {
    padding: 0.58rem 0.85rem;
    font-size: 0.9rem;
  }

  .quote-section {
    padding-top: 0;
  }

  .quote-panel,
  .contact-panel {
    padding: 1.5rem;
  }

  .quote-panel {
    text-align: left;
  }

  .quote-panel blockquote {
    max-width: 100%;
    font-size: clamp(1.85rem, 8vw, 2.6rem);
    line-height: 1.08;
  }

  .quote-panel p {
    margin-top: 1rem;
    line-height: 1.72;
  }

  .contact-panel {
    gap: 1.5rem;
  }

  .contact-details,
  .contact-actions {
    display: grid;
    gap: 0.85rem;
  }

  .contact-item,
  .contact-actions .site-btn {
    width: 100%;
    justify-content: center;
  }

  .contact-item {
    min-height: 3.5rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
  }

  .site-footer {
    padding-bottom: 2rem;
  }

  .footer-content {
    gap: 1.15rem;
    padding-top: 1.25rem;
  }

  .footer-links {
    gap: 0.85rem 1rem;
  }
}

@media (max-width: 575.98px) {
  .site-navbar {
    padding: 0.85rem 0;
  }

  .site-brand-text {
    font-size: 0.92rem;
  }

  .hero-section {
    padding-top: calc(var(--navbar-height) + 1.15rem);
    padding-bottom: 3.15rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 10.5vw, 2.8rem);
  }

  .hero-text,
  .section-heading p,
  .focus-card p,
  .timeline-list li,
  .cert-list li,
  .quote-panel p,
  .contact-panel p,
  .stat-label,
  .hero-highlight-label {
    font-size: 0.96rem;
  }

  .hero-highlight-value,
  .stat-value {
    font-size: 1.05rem;
  }

  .content-section {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .hero-panel,
  .about-panel,
  .focus-card,
  .cert-group,
  .stack-card,
  .timeline-card,
  .quote-panel,
  .contact-panel {
    border-radius: 1.25rem;
  }

  .footer-links a {
    padding: 0.15rem 0;
  }
}
