/* Heading One — Premium Maritime Design System */

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../assets/fonts/PlayfairDisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-deep: #081628;
  --navy: #0A1628;
  --marine: #0E3A5E;
  --marine-light: #1E5AA8;
  --teal: #4ECDC4;
  --gold: #D4A84B;
  --gold-light: #E8C878;
  --white: #FFFFFF;
  --off-white: #F4F7FA;
  --gray-100: #E8ECF0;
  --gray-300: #A8B4C4;
  --gray-500: #6B7A8F;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 64px rgba(8, 22, 40, 0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 88px;
  --max-w: 1320px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--navy-deep);
  color: var(--off-white);
  line-height: 1.65;
  overflow-x: clip;
  min-width: 0;
  -webkit-font-smoothing: antialiased;
}

main {
  width: 100%;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--gray-300);
  max-width: 620px;
  overflow-wrap: break-word;
}

.text-center .section-desc {
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(8, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 0.75rem;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.logo-wordmark {
  height: 52px;
  width: auto;
  max-width: min(240px, 62vw);
  flex-shrink: 1;
}

.logo-compact {
  display: none;
  max-width: min(188px, 50vw);
}

.logo img:not(.logo-wordmark) { width: 40px; height: 40px; }

.logo span { color: var(--white); }
.logo em { color: var(--gold); font-style: normal; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: color var(--transition);
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--white); }

.nav-desktop a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep) !important;
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 75, 0.35);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--white);
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-toggle img { width: 24px; height: 24px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  padding: 0.35rem 1rem;
  text-align: center;
}

.mobile-nav .btn {
  margin-top: 0.5rem;
  min-width: min(100%, 280px);
}

.mobile-close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top, 0));
  right: max(1rem, env(safe-area-inset-right, 0));
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-close img { width: 28px; height: 28px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 168, 75, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--glass);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn img { width: 16px; height: 16px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg picture,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 22, 40, 0.94) 0%, rgba(8, 22, 40, 0.82) 42%, rgba(8, 22, 40, 0.68) 100%),
    linear-gradient(0deg, rgba(8, 22, 40, 0.82) 0%, transparent 42%);
  z-index: 1;
}

.hero-ocean {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 2;
  pointer-events: none;
}

.hero-ocean svg { width: 100%; height: 100%; }

.hero-ship {
  position: absolute;
  bottom: 8%;
  right: 5%;
  width: min(45vw, 520px);
  opacity: 0.15;
  z-index: 1;
  animation: ship-drift 12s ease-in-out infinite alternate;
}

@keyframes ship-drift {
  from { transform: translateX(0) translateY(0); }
  to { transform: translateX(-20px) translateY(-8px); }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: var(--header-h);
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 100%;
  padding: 0.45rem 1rem;
  background: rgba(8, 22, 40, 0.72);
  border: 1px solid rgba(78, 205, 196, 0.35);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ee8e0;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  text-align: center;
  box-shadow: 0 4px 20px rgba(8, 22, 40, 0.35);
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
  text-shadow: 0 2px 28px rgba(8, 22, 40, 0.55);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.25rem;
  max-width: 580px;
  overflow-wrap: break-word;
  text-shadow: 0 1px 16px rgba(8, 22, 40, 0.7);
}

.hero-actions .btn-outline {
  background: rgba(8, 22, 40, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(8, 22, 40, 0.25);
}

.hero-actions .btn-outline:hover {
  background: rgba(8, 22, 40, 0.72);
  border-color: rgba(255, 255, 255, 0.55);
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: rgba(8, 22, 40, 0.62);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(8, 22, 40, 0.35);
}

.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
  text-shadow: 0 1px 12px rgba(8, 22, 40, 0.45);
}

.hero-stat span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px rgba(8, 22, 40, 0.5);
}

/* Glass cards */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 168, 75, 0.3);
  box-shadow: var(--shadow);
}

/* About highlights */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  gap: 0.875rem;
  padding: 1.125rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
}

.highlight-item img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.highlight-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.highlight-item p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* Services cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  overflow: hidden;
  cursor: pointer;
}

.service-card-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 22, 40, 0.95) 0%, transparent 60%);
}

.service-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 1;
}

.service-card-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.service-card-body p {
  font-size: 0.8125rem;
  color: var(--gray-300);
  margin-bottom: 0.75rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-link img { width: 14px; height: 14px; }

/* World map */
.network-section {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--marine) 50%, var(--navy-deep) 100%);
}

.map-container {
  position: relative;
  margin-top: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 2 / 1;
  max-width: 100%;
}

.map-container svg,
.map-container img,
.map-container object {
  width: 100%;
  display: block;
  pointer-events: none;
}

.world-map-base {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--navy-deep);
}

.world-map-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-routes .route {
  stroke-dasharray: 8 6;
  animation: route-flow 4s linear infinite;
}

.route-1 { animation-delay: 0s; }
.route-2 { animation-delay: 0.6s; }
.route-3 { animation-delay: 1.2s; }
.route-4 { animation-delay: 1.8s; }
.route-5 { animation-delay: 2.4s; }
.route-6 { animation-delay: 3s; }

@keyframes route-flow {
  to { stroke-dashoffset: -28; }
}

.office-pins {
  position: absolute;
  inset: 0;
}

.office-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
  z-index: 2;
}

.pin-marker {
  display: block;
  width: 22px;
  height: 31px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
  animation: pin-pulse 2.5s ease infinite;
}

.pin-marker.hq {
  width: 28px;
  height: 40px;
}

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

.pin-body {
  fill: var(--gold);
  stroke: var(--white);
  stroke-width: 1.5;
}

.pin-marker .pin-dot {
  fill: var(--white);
  fill-opacity: 0.92;
}

.pin-marker.hq .pin-body {
  fill: var(--teal);
  filter: drop-shadow(0 0 8px rgba(78, 205, 196, 0.55));
}

@keyframes pin-pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.05); }
}

.pin-label {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0.35rem 0.65rem;
  background: rgba(8, 22, 40, 0.92);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.office-pin:hover .pin-label { opacity: 1; }

.office-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.office-tag {
  padding: 0.5rem 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.office-tag.hq { border-color: var(--teal); color: var(--teal); }

.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin-top: 1.25rem;
}

.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.legend-line {
  display: inline-block;
  width: 28px;
  height: 0;
  border-top: 2px solid var(--gold);
}

.legend-line.legend-teal { border-color: var(--teal); }
.legend-line.legend-muted { border-color: var(--gray-500); border-top-style: dashed; }
.legend-line.legend-gold { border-color: var(--gold); }

/* Stats / Transaction */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  padding: 2rem;
  text-align: center;
}

.stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
}

.stat-value-md {
  font-size: clamp(1.65rem, 5vw, 2rem);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-300);
}

.stat-card.featured {
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.12), rgba(78, 205, 196, 0.08));
  border-color: rgba(212, 168, 75, 0.25);
}

.transaction-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.transaction-visual {
  padding: 2.5rem;
  text-align: center;
}

.transaction-arrow {
  font-size: 2rem;
  color: var(--teal);
  margin: 1rem 0;
}

/* Singapore section */
.sg-section {
  background: var(--navy);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.sg-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.sg-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sg-feature {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
}

.sg-feature h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.sg-feature p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* Blog / Insights */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.insight-card {
  overflow: hidden;
}

.insight-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.insight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.insight-card-body {
  padding: 1.5rem;
}

.insight-category {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.insight-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.insight-card-body p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.insight-date {
  font-size: 0.75rem;
  color: var(--gray-500);
}

a.insight-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

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

.insights-grid-page {
  margin-top: 0;
}

.insight-card-body h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Article pages */
.page-hero-compact {
  padding: calc(var(--header-h) + 1.5rem) 0 1rem;
}

.article-layout {
  max-width: 820px;
  margin-inline: auto;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  color: var(--white);
  margin: 0.75rem 0 1rem;
}

.article-lead {
  font-size: 1.0625rem;
  color: var(--gray-300);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.article-meta {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.article-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--glass-border);
}

.article-hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-body {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}

.article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: var(--white);
  margin: 2rem 0 0.75rem;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  font-size: 0.9375rem;
  color: var(--gray-300);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.article-cta {
  padding: clamp(1.25rem, 4vw, 2rem);
  text-align: center;
}

.article-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.article-cta p {
  font-size: 0.9375rem;
  color: var(--gray-300);
  margin-bottom: 1.25rem;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-form {
  padding: 2rem;
}

.contact-form-title {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: var(--white);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-300);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-group select option { background: var(--navy); }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 1rem;
  overflow-wrap: break-word;
}

.form-note code {
  word-break: break-word;
  font-size: 0.7rem;
}

.form-note a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-success {
  color: var(--teal);
  margin-top: 1rem;
  font-size: 0.875rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background: linear-gradient(180deg, var(--marine) 0%, var(--navy-deep) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/animations/world-map.png') center/cover no-repeat;
  opacity: 0.08;
}

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

.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.page-hero .section-desc {
  max-width: 100%;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover { color: var(--gold); }

/* Services detail */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: start;
}

.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/11;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-list {
  margin-top: 1.5rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.9375rem;
  color: var(--gray-300);
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.cargo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cargo-tag {
  padding: 0.35rem 0.75rem;
  background: rgba(30, 90, 168, 0.2);
  border: 1px solid rgba(30, 90, 168, 0.35);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--gray-300);
}

/* About page */
.team-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  padding: 2rem;
  text-align: center;
}

.value-card img {
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.timeline {
  margin-top: 3rem;
  border-left: 2px solid var(--glass-border);
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-2rem - 5px);
  top: 0.35rem;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
}

.timeline-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.timeline-item p {
  font-size: 0.9375rem;
  color: var(--gray-300);
}

/* Footer */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 max(2rem, env(safe-area-inset-bottom, 0));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { margin-bottom: 0.5rem; }

.footer-brand .logo-wordmark {
  height: 52px;
  max-width: min(240px, 90vw);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-500);
  padding: 0.35rem 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.footer-keywords {
  font-size: 0.6875rem;
  color: var(--gray-500);
  opacity: 0.7;
}

/* Legal pages */
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
}

.legal-nav h2 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.legal-nav a {
  display: block;
  font-size: 0.8125rem;
  color: var(--gray-300);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color var(--transition);
}

.legal-nav a:hover { color: var(--white); }

.legal-content {
  max-width: 760px;
}

.legal-content.glass-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.legal-meta {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  overflow-wrap: break-word;
}

.legal-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: var(--white);
  margin: 2.25rem 0 0.75rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--off-white);
  margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.9375rem;
  color: var(--gray-300);
  margin-bottom: 0.85rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0.5rem 0 1rem 1.25rem;
}

.legal-content li { margin-bottom: 0.4rem; }

.legal-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover { color: var(--gold-light); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-legal a {
  color: var(--gray-500);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about-grid,
  .transaction-showcase,
  .sg-grid,
  .contact-grid,
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid.reverse { direction: ltr; }
  .service-detail-grid > .service-detail-image { order: -1; }
  .about-grid > .about-visual { order: -1; }
  .stats-grid { grid-template-columns: 1fr; }
  .team-values { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .service-detail-grid { gap: 2rem; margin-bottom: 0; }
  .sg-grid { gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --header-h: 80px; }

  .nav-desktop { display: none; }
  .menu-toggle {
    display: inline-flex;
  }

  .container { width: min(100% - 1.75rem, var(--max-w)); }

  .section { padding: clamp(3rem, 7vw, 5rem) 0; }
  .section-desc { max-width: 100%; }

  .logo-wordmark { height: 46px; max-width: min(240px, 62vw); }
  .footer-brand .logo-wordmark {
    height: 48px;
    max-width: min(260px, 92vw);
  }

  .services-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .sg-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .service-card-image { aspect-ratio: 4/5; }
  .service-card:hover .service-card-image img { transform: none; }

  .hero-content { max-width: 100%; }
  .hero-title { font-size: clamp(2rem, 8.5vw, 2.75rem); }
  .hero-subtitle { max-width: 100%; }
  .hero-stats {
    gap: 1.25rem 1.75rem;
    margin-top: 2.5rem;
    padding: 1.25rem 1rem;
  }
  .hero-stat { min-width: 0; flex: 1 1 calc(50% - 0.875rem); }
  .hero-stat strong { font-size: 1.5rem; }
  .hero-stat span { font-size: 0.75rem; }
  .hero-ship { width: min(65vw, 280px); right: -8%; opacity: 0.08; }
  .hero-actions { width: 100%; }

  .about-grid { gap: 2rem; }
  .transaction-showcase { gap: 2rem; }
  .transaction-visual { padding: 1.5rem; }
  .stat-card { padding: 1.5rem 1rem; }

  .map-container { margin-top: 1.75rem; }
  .map-legend {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding-inline: 0.5rem;
  }
  .map-legend-item { font-size: 0.6875rem; text-align: center; }

  .pin-marker { width: 18px; height: 26px; }
  .pin-marker.hq { width: 22px; height: 32px; }
  .pin-label { display: none; }

  .office-list { gap: 0.5rem; padding-inline: 0.25rem; }
  .office-tag { font-size: 0.75rem; padding: 0.4rem 0.75rem; }

  .contact-grid { gap: 2rem; }
  .contact-form { padding: 1.25rem; }
  .contact-info-item { min-width: 0; }
  .contact-info-item > div { overflow-wrap: anywhere; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }

  .page-hero { padding: calc(var(--header-h) + 2rem) 0 2rem; }
  .page-hero h1 { font-size: clamp(1.85rem, 7vw, 2.5rem); }

  .timeline {
    margin-top: 2rem;
    padding-left: 1.25rem;
  }
  .timeline-item::before { left: calc(-1.25rem - 5px); }

  .team-values { gap: 1rem; }
  .value-card { padding: 1.5rem; }

  .site-footer { padding: 3rem 0 1.5rem; }

  .footer-grid {
    text-align: center;
    justify-items: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    max-width: 100%;
    margin-inline: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-legal {
    justify-content: center;
  }

  .footer-keywords { line-height: 1.5; word-break: break-word; }

  .legal-layout { gap: 2rem; }
  .legal-nav { padding: 1.25rem; }
  .legal-content h2 { font-size: 1.2rem; }

  .mobile-nav {
    padding: max(2rem, env(safe-area-inset-top, 0)) 1.5rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .glass-card:hover { transform: none; }
  .insight-card:hover .insight-card-image img { transform: none; }
}

@media (max-width: 520px) {
  :root { --header-h: 72px; }

  .container { width: min(100% - 1.25rem, var(--max-w)); }

  .site-header .logo-full { display: none; }
  .site-header .logo-compact {
    display: block;
    height: 40px;
    max-width: min(168px, 50vw);
  }

  .footer-brand .logo-full {
    display: block;
    height: 46px;
    max-width: min(250px, 94vw);
  }

  .footer-brand .logo-compact { display: none; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-stat { flex: none; }

  .hero-badge {
    font-size: 0.6875rem;
    padding: 0.4rem 0.85rem;
    letter-spacing: 0.06em;
  }

  .section-title { font-size: clamp(1.65rem, 7vw, 2rem); }

  .highlights { gap: 0.75rem; }
  .highlight-item { padding: 0.875rem; }

  .stat-value,
  .stat-value-md { font-size: clamp(1.65rem, 8vw, 2rem); }

  .service-card-body { padding: 1.25rem; }

  .map-container { border-radius: var(--radius); }

  main .btn { width: 100%; max-width: 100%; }

  .cargo-tag { font-size: 0.6875rem; }

  .article-cta-actions { flex-direction: column; }
  .article-cta-actions .btn { width: 100%; }

  .legal-content.glass-card { padding: 1.15rem; }
}

@media (max-width: 320px) {
  .container { width: min(100% - 1rem, var(--max-w)); }
}
