@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Merriweather:wght@300;400;700&display=swap');

:root {
  --navy-dark: #050f1f;
  --navy: #0f2744;
  --navy-light: #183a5e;
  --maritime-accent: #4ba6ff;
  --text: #0f172a;
  --text-muted: #5b6578;
  --bg: #f7f8fb;
  --muted: #eef3fb;
  --card: #ffffff;
  --border: #e3e8f0;
  --shadow: 0 25px 60px rgba(5, 15, 31, 0.12);
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.cursor-pointer {
  cursor: pointer;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0 0 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.text-serif {
  font-family: 'Merriweather', serif;
}

.container {
  width: min(1200px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.section--gradient {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy), var(--navy-light));
  color: #fff;
  overflow: hidden;
}

.section--muted {
  background: var(--muted);
}

.section--white {
  background: #fff;
}

.section--navy {
  background: var(--navy-dark);
  color: #fff;
}

.section--navy .section-heading h2 {
  color: #fff;
}

.section--navy .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  color: var(--text);
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.section--gradient .section-heading h2,
.section--gradient .section-heading h3 {
  color: #fff;
}

.section--gradient .section-heading p {
  color: rgba(255, 255, 255, 0.9);
}

.hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  position: relative;
}

body[data-page="home"] .hero {
  min-height: 100vh;
  padding-top: 0;
}

body[data-page="home"] .section--gradient.hero {
  padding-top: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__inner {
  text-align: center;
}

body[data-page="home"] .hero__inner {
  padding-top: 12rem;
}

.hero__inner h1 {
  font-size: clamp(1.5rem, 3vw, 3rem);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: 0.08em;
  font-weight: 900;
}

.hero__subtitle {
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 700;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
  position: relative;
}

.card--glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  color: inherit;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card--glass:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.4);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(75, 166, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--maritime-accent);
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.icon--xs {
  width: 14px;
  height: 14px;
}

.icon--lg {
  width: 36px;
  height: 36px;
}

.card--center {
  text-align: center;
}

.card--bordered {
  border: 1px solid var(--border);
  box-shadow: none;
}

.card--shadow {
  box-shadow: var(--shadow);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Remove max-width and auto margins for cards in grid layouts */
.grid-2 .card--shadow,
.grid-3 .card--shadow,
.grid-4 .card--shadow {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

#cargo.card--shadow {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

#cargo .grid-2 {
  gap: 0.5rem !important;
}

#cargo .card--shadow {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}


.card--muted {
  background: rgba(15, 39, 68, 0.05);
  border: 1px solid var(--border);
  box-shadow: none;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.section--gradient .card--muted {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.card--gradient {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--maritime-accent);
  font-weight: 600;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn--primary {
  background: #fff;
  color: var(--navy-dark);
  box-shadow: 0 10px 30px rgba(11, 62, 125, 0.2);
}

.btn--secondary {
  background: var(--maritime-accent);
  color: #fff;
}

.btn--outline {
  background: transparent;
  border: 1.5px solid currentColor;
  color: inherit;
}

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

.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-2--constrained {
  max-width: 1040px;
  margin: 0 auto;
}

.list-dot,
.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-dot li,
.list-check li {
  display: flex;
  gap: 0.5rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.list-check svg {
  width: 18px;
  height: 18px;
  color: var(--maritime-accent);
  flex-shrink: 0;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stat__value {
  font-size: 2.25rem;
  font-weight: 700;
}

.copy-button {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.copy-button.is-copied {
  color: #22c55e;
  border-color: #22c55e;
}

.copy-button:hover {
  transform: translateY(-2px);
}

.file-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-wrapper {
  position: relative;
}

.form {
  display: grid;
  gap: 1.25rem;
}

.form .btn {
  width: auto;
  justify-self: center;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

.form-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--maritime-accent);
  box-shadow: 0 0 0 3px rgba(75, 166, 255, 0.15);
}

.checkbox-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.checkbox-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
}

.form-success {
  border-radius: var(--radius);
  border: 1px dashed rgba(34, 197, 94, 0.6);
  padding: 2.5rem;
  text-align: center;
  background: rgba(34, 197, 94, 0.05);
  color: var(--text);
}

.form-success svg {
  width: 48px;
  height: 48px;
  color: #22c55e;
  margin-bottom: 1rem;
}

.hidden,
.is-hidden {
  display: none !important;
}

.form-switcher {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.25rem;
  margin: 0 auto 1rem;
  justify-content: center;
}

.form-switcher button {
  border: none;
  background: transparent;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.form-switcher button.is-active {
  background: var(--navy);
  color: #fff;
}

.form-panel {
  display: none;
}

.form-panel.is-active {
  display: block;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-card__meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.office-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.office-card h3 {
  margin-bottom: 0.3rem;
}

.office-card .timezone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--navy);
}

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

.timeline__item {
  border-left: 4px solid var(--navy);
  padding-left: 1.25rem;
}

.timeline__item h3 {
  margin-top: 0;
}

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

.list-columns {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.timezone-bar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  padding: 0.55rem 0;
  position: relative;
  z-index: 20;
}

body[data-page="home"] .timezone-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(5, 15, 31, 0.8);
  backdrop-filter: blur(10px);
}

.timezone-bar__inner {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.timezone-bar__inner svg {
  width: 16px;
  height: 16px;
  color: var(--maritime-accent);
}

.timezone-bar__list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.timezone-bar__list::-webkit-scrollbar {
  display: none;
}

.timezone-item {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
  font-weight: 600;
}

.timezone-item__city {
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--navy-dark);
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  top: 0;
}

.site-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 50;
}

body[data-page="home"] .site-nav-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
}

.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(5, 15, 31, 0.05);
}

body[data-page="home"] .site-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(5, 15, 31, 0.1);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.site-nav__brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--navy-dark);
}

.site-nav__links {
  display: flex;
  gap: 1.5rem;
}

.site-nav__links a {
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}

.site-nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--navy);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav__links a:hover::after,
.site-nav__links a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav__toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.site-nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy-dark);
  border-radius: 999px;
}

.site-nav__drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: #fff;
  padding: 2.5rem;
  box-shadow: -20px 0 40px rgba(5, 15, 31, 0.2);
  transition: right 0.3s ease;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.site-nav__drawer a {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-dark);
}

.site-nav__drawer a.is-active {
  color: var(--navy);
}

.site-nav__drawer .btn {
  border-radius: 12px;
  justify-content: center;
}

.site-nav__drawer.is-open {
  right: 0;
}

.site-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 31, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 150;
}

.site-nav__overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer li a {
  color: inherit;
  transition: color 0.2s ease;
}

.footer li a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 980px) {
  .site-nav__links {
    display: none;
  }

  .site-nav__toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .btn-row {
    flex-direction: column;
  }

  .contact-card {
    flex-direction: column;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__subtitle {
    font-size: 2rem;
  }
}

/* Accordion Styles */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.accordion__item {
  background: none !important;
  overflow: hidden;

}

/* .accordion__item:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
} */

/* .accordion__item.is-open {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
} */

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
  transition: background-color 0.2s ease;
  outline: none;
  border: none;
  background-color: var(--card) !important;
  border-radius: 5px;
}

.accordion__header:hover {
  background: rgba(0, 0, 0, 0.02);
}

.accordion__header:focus,
.accordion__header:focus-visible {
  outline: none;
  box-shadow: none;
}

.accordion__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  flex: 1;
}

.accordion__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(180deg);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.accordion__item.is-open .accordion__content {
  max-height: 1000px;
  padding: 0 1.5rem 1.5rem;
  margin-top: 1rem;
}

.accordion__body {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

/* Common utility classes for frequently used inline styles */
.hero-subtitle-standard {
  font-size: 1.15rem;
  max-width: 750px;
  margin: 0 auto 2rem;
}

.hero-subtitle-left {
  font-size: 1.15rem;
  max-width: 750px;
  margin: 0 0 2rem;
}

.text-center-constrained {
  max-width: 700px;
  margin: 0 auto;
}

.card-single-center {
  max-width: 400px;
  margin: 0 auto;
}

/* Profile Card Styles */
.profile-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  align-items: stretch;
  box-shadow: none;
  border: none;
  position: relative;
  overflow: hidden;
  height: 250px;
  min-height: 250px;
  max-height: 250px;
}

.profile-card__image {
  flex-shrink: 0;
  width: 160px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  align-self: stretch;
}

.profile-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-card__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.profile-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.profile-card__focus-toggle {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--maritime-accent);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.profile-card__focus-toggle:hover {
  color: var(--navy);
  text-decoration: underline;
}

.profile-card__focus-toggle svg {
  width: 14px;
  height: 14px;
}

.profile-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  flex: 1;
}

.profile-card__social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.profile-card__social-link:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--text-muted);
}

.profile-card__social-link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.profile-card__social-link svg {
  width: 16px;
  height: 16px;
  color: var(--text);
}

.profile-card__title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 0.75rem 0;
}

.profile-card__bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(250px - 120px);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  position: relative;
  z-index: 5;
}

.profile-card:hover .profile-card__bio {
  z-index: 15;
}

.profile-card__bio::-webkit-scrollbar {
  width: 4px;
}

.profile-card__bio::-webkit-scrollbar-track {
  background: transparent;
}

.profile-card__bio::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.profile-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(5, 15, 31, 0.95);
  color: #fff;
  padding: 2rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 10;
  border-radius: var(--radius);
  overflow-y: auto;
}

.profile-card__overlay.is-visible {
  transform: translateY(0);
}

.profile-card__overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.profile-card__overlay-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.profile-card__overlay-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.profile-card__overlay-close svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.profile-card__focus-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.profile-card__focus-areas {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.profile-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .profile-card__image {
    width: 100%;
    max-width: 160px;
    height: 160px;
    margin: 0 auto;
  }

  .profile-card__header {
    justify-content: center;
    text-align: center;
  }

  .profile-card__bio {
    max-height: none;
    overflow-y: visible;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }
}