*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy-deep: #0a1628;
  --navy: #1a2744;
  --navy-light: #2a3a5c;
  --navy-muted: #3d5278;
  --blue-grey: #596878;
  --grey-light: #94a3b8;
  --border: #dfe4eb;
  --surface: #f5f7fa;
  --surface-warm: #f8f9fb;
  --white: #ffffff;
  --font-display: 'Noticia Text', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--navy-deep);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out), border-color 0.3s ease;
}

.nav.visible {
  transform: translateY(0);
  border-bottom-color: var(--border);
}

.nav-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-deep);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue-grey);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--navy-deep);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--navy-deep);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 48px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(26, 39, 68, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse at 60% 80%, rgba(42, 58, 92, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 22, 40, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 22, 40, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, black 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-intro {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
}

.hero-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: none;
}

.hero-avatar-initials {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: -0.02em;
  user-select: none;
}

.hero-avatar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
}

.hero-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-muted);
  margin-bottom: 4px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy-deep);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--navy-light);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--blue-grey);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-light);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
}

.social-link:hover {
  border-color: var(--navy-deep);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 22, 40, 0.08);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link i {
  font-size: 1rem;
  line-height: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--grey-light);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--border), transparent);
}

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

/* ---- SECTIONS ---- */
.section {
  padding: 120px 48px;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--navy-muted);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--navy-deep);
  margin-bottom: 48px;
}

.section-intro {
  font-size: 1.0625rem;
  color: var(--blue-grey);
  line-height: 1.75;
  max-width: 640px;
  margin-top: -24px;
  margin-bottom: 48px;
}

/* ---- ABOUT ---- */
.about {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.about-text p {
  font-size: 1.0625rem;
  color: var(--navy);
  line-height: 1.85;
  margin-bottom: 24px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text .lead {
  font-size: 1.25rem;
  color: var(--navy-deep);
  line-height: 1.7;
}

.about-aside {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.aside-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aside-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-grey);
}

.aside-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}

/* ---- INDUSTRY SCROLLER ---- */
.aside-industries-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.industry-scroller {
  height: 1.5rem;
  overflow: hidden;
  position: relative;
  flex: 1;
  min-width: 0;
}

.industry-scroller::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
  z-index: 1;
}

.about .industry-scroller::after {
  background: linear-gradient(to top, var(--white), transparent);
}

.industry-scroller-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out);
}

.industry-scroller-item {
  height: 1.5rem;
  line-height: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy-muted);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .aside-industries-row {
    gap: 12px;
  }
}

/* ---- ARTICLES ---- */
.articles {
  background: var(--surface);
}

.articles-scroller-wrap {
  position: relative;
  /* Bleed off the right side of .section-inner all the way to the viewport edge,
     keeping the left edge aligned with the section heading. */
  margin-right: calc(-1 * max(48px, (100vw - 900px) / 2));
}

.articles-scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: 4px;
  /* Top/left small cushion stops focus rings and shadows clipping;
     right gives breathing room for the last card. */
  padding: 4px 48px 16px 4px;
  /* Hide native scrollbar — overflow is signalled via the fade + nudge instead. */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.articles-scroller::-webkit-scrollbar {
  display: none;
}

.articles-scroller:focus-visible {
  outline: 2px solid var(--navy-light);
  outline-offset: 4px;
  border-radius: 12px;
}

/* Right-edge fade to surface colour hints there is more to scroll. */
.articles-scroller-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 16px;
  width: 96px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(245, 247, 250, 0) 0%, var(--surface) 75%);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}

.articles-scroller-wrap.has-overflow:not(.scrolled-end)::after {
  opacity: 1;
}

.articles-scroll-hint {
  position: absolute;
  right: 24px;
  bottom: 36px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy-deep);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.08), 0 1px 3px rgba(10, 22, 40, 0.06);
  z-index: 2;
  font-size: 0.875rem;
  animation: articleNudge 1.8s ease-in-out infinite;
  transition: transform 0.2s var(--ease-out), opacity 0.25s var(--ease-out), background 0.2s var(--ease-out);
}

.articles-scroller-wrap.has-overflow .articles-scroll-hint {
  display: flex;
}

.articles-scroller-wrap.scrolled-end .articles-scroll-hint {
  display: none;
}

.articles-scroll-hint:hover {
  background: var(--navy-deep);
  color: var(--white);
  animation-play-state: paused;
  transform: translateX(2px);
}

@keyframes articleNudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(5px); }
}

.article-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.article-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08), 0 1px 3px rgba(10, 22, 40, 0.04);
  transform: translateY(-3px);
}

.article-card:hover .article-thumbnail {
  transform: scale(1.03);
}

.article-card:hover .article-cta svg,
.article-card:hover .article-cta i {
  transform: translateX(4px);
}

.article-thumbnail-wrap {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.article-thumbnail {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease-out);
}

.article-thumbnail-1 {
  background: linear-gradient(135deg, #0a1628 0%, #2a3a5c 60%, #3d5278 100%);
}

.article-thumbnail-2 {
  background: linear-gradient(135deg, #1a2744 0%, #0a1628 70%, #2a3a5c 100%);
}

.article-thumbnail-3 {
  background: linear-gradient(160deg, #2a3a5c 0%, #1a2744 50%, #0a1628 100%);
}

.article-thumbnail-4 {
  background: linear-gradient(120deg, #0a1628 0%, #3d5278 60%, #1a2744 100%);
}

.article-thumbnail-5 {
  background: linear-gradient(145deg, #1a2744 0%, #2a3a5c 40%, #0a1628 100%);
}

.article-thumbnail-6 {
  background: linear-gradient(170deg, #2a3a5c 0%, #0a1628 60%, #1a2744 100%);
}

.article-thumbnail-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.article-thumbnail-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 32px 32px;
}

.article-thumbnail-number {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1;
  letter-spacing: -0.04em;
}

.article-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  margin-bottom: 10px;
  line-height: 1.35;
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--blue-grey);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.article-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-light);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.01em;
}

.article-cta svg,
.article-cta i {
  width: 14px;
  height: 14px;
  font-size: 0.75rem;
  transition: transform 0.3s var(--ease-out);
}

/* ---- PROJECTS ---- */
.projects {
  background: var(--white);
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.project-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.06), 0 1px 3px rgba(10, 22, 40, 0.04);
  transform: translateY(-2px);
}

.project-card:hover .project-arrow {
  color: var(--navy-deep);
  transform: translateX(4px);
}

.project-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.project-icon i {
  font-size: 1.25rem;
  color: var(--white);
}

.project-body {
  flex: 1;
  min-width: 0;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.project-description {
  font-size: 0.9rem;
  color: var(--blue-grey);
  line-height: 1.6;
  margin-bottom: 12px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--navy-muted);
  border: 1px solid var(--border);
}

.project-arrow {
  color: var(--grey-light);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-out);
}

.project-arrow i {
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .project-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }

  .project-arrow {
    display: none;
  }
}

/* ---- SECTION DIVIDER ---- */
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

/* ---- INTERESTS ---- */
.interests {
  background: var(--white);
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.interest-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.interest-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.06), 0 1px 3px rgba(10, 22, 40, 0.04);
  transform: translateY(-2px);
}

.interest-card:hover .interest-image img {
  transform: scale(1.05);
}

.interest-image {
  height: 200px;
  overflow: hidden;
  background: var(--surface);
}

.interest-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  display: block;
}

.interest-body {
  padding: 24px;
}

.interest-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.interest-text {
  font-size: 0.9rem;
  color: var(--blue-grey);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .interests-grid {
    grid-template-columns: 1fr;
  }

  .interest-image {
    height: 180px;
  }
}

/* ---- CONNECT ---- */
.connect {
  background: var(--navy-deep);
  color: var(--white);
  padding: 120px 48px 80px;
}

.connect .section-label {
  color: var(--grey-light);
}

.connect .section-label::before {
  background: var(--grey-light);
}

.connect .section-title {
  color: var(--white);
}

.connect-text {
  font-size: 1.125rem;
  color: var(--grey-light);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.connect-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--white);
  color: var(--navy-deep);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease-out);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-primary svg,
.btn-primary i {
  width: 18px;
  height: 18px;
  font-size: 1rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease-out);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.privacy-choices {color: var(--white);}
.privacy-choices:hover {color: var(--white);}
.privacy-choices:focus {color: var(--white);}
.privacy-choices:focus-visible {color: var(--white);}
.privacy-choices:active {color: var(--white);}
.privacy-choices:visited {color: var(--white);}
.privacy-choices:link {color: var(--white);}
.privacy-choices:hover {color: var(--white);}
.privacy-choices:focus {color: var(--white);}
.privacy-choices:focus-visible {color: var(--white);}
.privacy-choices:active {color: var(--white);}
.privacy-choices:visited {color: var(--white);}
.privacy-choices:link {color: var(--white);}

.connect-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.connect-footer-social {
  display: flex;
  gap: 16px;
}

.connect-footer .social-link {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.6);
}

.connect-footer .social-link:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  box-shadow: none;
}

.copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.hero-content .reveal {
  transform: translateY(32px);
}

/* ---- MOBILE NAV ---- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy-deep);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle i {
  font-size: 1.25rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .section {
    padding: 80px 24px;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-avatar {
    width: 72px;
    height: 72px;
  }

  .hero-avatar-initials {
    font-size: 1.5rem;
  }

  .about-aside {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .articles-scroller-wrap {
    /* Section padding collapses to 24px on mobile */
    margin-right: -24px;
  }

  .articles-scroller {
    padding-right: 24px;
  }

  .article-card {
    flex: 0 0 78vw;
    max-width: 360px;
  }

  .articles-scroll-hint {
    right: 16px;
    bottom: 32px;
  }

  .connect {
    padding: 80px 24px 60px;
  }

  .connect-footer {
    flex-direction: column-reverse;
    gap: 24px;
    align-items: flex-start;
  }

  .connect-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary, .btn-secondary {
    justify-content: center;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .article-thumbnail-wrap {
    height: 140px;
  }
}

/* ---- CONTACT MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(10, 22, 40, 0.2), 0 2px 8px rgba(10, 22, 40, 0.06);
  transform: scale(0.95) translateY(12px);
  transition: transform 0.35s var(--ease-out);
  position: relative;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 32px 20px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  margin: 0;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--blue-grey);
  transition: all 0.25s var(--ease-out);
  flex-shrink: 0;
}

.modal-close:hover {
  border-color: var(--navy-deep);
  color: var(--navy-deep);
  background: var(--surface);
}

.modal-close i {
  font-size: 0.875rem;
  line-height: 1;
}

.modal-form {
  padding: 28px 32px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.modal-field {
  margin-bottom: 20px;
}

.modal-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 8px;
}

.modal-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--navy-deep);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  line-height: 1.5;
}

.modal-input::placeholder {
  color: var(--grey-light);
}

.modal-input:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.08);
}

.modal-input.invalid {
  border-color: #c0392b;
}

.modal-input.invalid:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.modal-textarea {
  resize: vertical;
  min-height: 120px;
}

.modal-feedback {
  margin-bottom: 20px;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 8px;
  display: none;
}

.modal-feedback.visible {
  display: block;
  padding: 12px 16px;
}

.modal-feedback.success {
  background: #eafaf1;
  color: #1e7e34;
  border: 1px solid #c3e6cb;
}

.modal-feedback.error {
  background: #fdf0ef;
  color: #b71c1c;
  border: 1px solid #f5c6cb;
}

.modal-submit {
  width: 100%;
  padding: 14px 32px;
  background: var(--navy-deep);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.25);
}

.modal-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.modal-submit-loading {
  display: none;
  align-items: center;
  gap: 8px;
}

.modal-submit.loading .modal-submit-text {
  display: none;
}

.modal-submit.loading .modal-submit-loading {
  display: flex;
}

/* CAPTCHA */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.captcha-challenge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-deep);
  padding: 10px 16px;
  border-radius: 8px;
  min-width: 130px;
  justify-content: center;
  flex-shrink: 0;
  user-select: none;
}

.captcha-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.captcha-op {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.captcha-eq {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.captcha-loading {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.captcha-input {
  width: 72px;
  text-align: center;
  font-weight: 600;
  flex-shrink: 0;
}

.captcha-refresh {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--blue-grey);
  transition: all 0.25s var(--ease-out);
  flex-shrink: 0;
}

.captcha-refresh:hover {
  border-color: var(--navy-deep);
  color: var(--navy-deep);
  background: var(--surface);
}

.captcha-refresh i {
  font-size: 0.8125rem;
}

/* Body scroll lock when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Modal responsive */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 16px 16px 0 0;
  }

  .modal-header {
    padding: 20px 24px 16px;
  }

  .modal-form {
    padding: 20px 24px 28px;
  }

  .modal-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .modal-header {
    padding: 16px 20px 14px;
  }

  .modal-form {
    padding: 20px 20px 24px;
  }
}

/* ---- ACCESSIBILITY ---- */

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 10px 20px;
  background: var(--navy-deep);
  color: var(--white);
  z-index: 300;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--navy-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.social-link:focus-visible {
  outline-offset: 2px;
}

.connect :focus-visible,
.connect-footer .social-link:focus-visible {
  outline-color: rgba(255, 255, 255, 0.8);
}

.modal-input:focus-visible {
  outline: none;
}

/* Increased touch targets on mobile */
@media (max-width: 768px) {
  .nav-toggle {
    padding: 12px;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-indicator {
    animation: none;
  }

  .industry-scroller-track {
    transition: none;
  }

  .articles-scroll-hint {
    animation: none;
  }

  .articles-scroller {
    scroll-behavior: auto;
  }

  .social-link,
  .article-card,
  .btn-primary,
  .btn-secondary,
  .article-thumbnail,
  .article-cta svg,
  .article-cta i,
  .nav,
  .nav-links a::after,
  .modal-overlay,
  .modal {
    transition: none;
  }

  .article-card:hover,
  .social-link:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .modal-submit:hover:not(:disabled) {
    transform: none;
  }
}

/* No-JS fallback */
.no-js .reveal {
  opacity: 1;
  transform: none;
}
