/* ==========================================================================
   RHOINCA MARINE SUPPLY, LLC — Corporate Maritime Web Design System
   Palette anchored to official brand brochure:
   Deep Maritime Navy (#0B2545), Corporate Blue (#1B4985), Signal Gold (#F7C628)
   ========================================================================== */

:root {
  /* Brand Colors */
  --navy-950: #06162B;
  --navy-900: #0B2545;
  --navy-800: #133663;
  --blue-700: #1B4985;
  --blue-600: #255FA8;
  --ocean-500: #0EA5E9;
  --ocean-400: #38BDF8;
  --gold-500: #F7C628;
  --gold-600: #E0AE14;
  --gold-400: #FBD65B;
  --gold-soft: rgba(247, 198, 40, 0.14);

  /* Neutrals */
  --white: #FFFFFF;
  --surface-50: #F7F9FC;
  --surface-100: #EEF2F7;
  --surface-200: #DDE5F0;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0F172A;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radii & Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(6, 22, 43, 0.06);
  --shadow-md: 0 12px 32px rgba(6, 22, 43, 0.10);
  --shadow-lg: 0 24px 60px rgba(6, 22, 43, 0.18);
  --shadow-gold: 0 10px 28px rgba(247, 198, 40, 0.30);

  /* Layout */
  --container-max: 1240px;
  --nav-height: 82px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2.5px solid var(--gold-500);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Container & Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section--light {
  background-color: var(--surface-50);
}

.section--navy {
  background-color: var(--navy-900);
  color: var(--white);
}

.section--deep {
  background: linear-gradient(180deg, #06172E 0%, #0A2240 55%, #071930 100%);
  color: var(--white);
}

/* Technical Dot Matrix Pattern (Brochure Signature Detail) */
.dot-pattern {
  background-image: radial-gradient(rgba(27, 73, 133, 0.22) 2px, transparent 2px);
  background-size: 20px 20px;
}

.dot-pattern--light {
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.75px, transparent 1.75px);
  background-size: 22px 22px;
}

/* Section Headers */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 3px;
  background-color: var(--gold-500);
  border-radius: 2px;
}

.section--navy .section-eyebrow,
.section--deep .section-eyebrow,
.ally-band .section-eyebrow {
  color: var(--gold-400);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  margin-bottom: 1.15rem;
}

.section--navy .section-title,
.section--deep .section-title {
  color: var(--white);
}

.section-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--slate-600);
  max-width: 66ch;
  line-height: 1.7;
}

.section--navy .section-lead,
.section--deep .section-lead {
  color: rgba(226, 232, 240, 0.86);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.22s var(--ease-out), background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--gold {
  background-color: var(--gold-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  background-color: var(--gold-400);
  box-shadow: 0 14px 32px rgba(247, 198, 40, 0.42);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.50);
}

.btn--navy {
  background-color: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--navy:hover {
  background-color: var(--blue-700);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--surface-200);
}

.btn--outline:hover {
  border-color: var(--blue-700);
  color: var(--blue-700);
}

.btn--sm {
  padding: 0.62rem 1.15rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(6, 22, 43, 0.78) 0%, rgba(6, 22, 43, 0.35) 100%);
  backdrop-filter: blur(8px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--surface-200);
  box-shadow: 0 8px 28px rgba(6, 22, 43, 0.08);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 52px;
  width: auto;
  transition: opacity 0.25s ease;
}

.brand-logo--dark {
  display: none;
}

.site-header.is-scrolled .brand-logo--light {
  display: none;
}

.site-header.is-scrolled .brand-logo--dark {
  display: block;
}

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

.nav-link {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  padding-block: 0.35rem;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2.5px;
  background-color: var(--gold-500);
  transition: width 0.25s var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.site-header.is-scrolled .nav-link {
  color: var(--slate-700);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active {
  color: var(--navy-900);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Language Switcher Pill */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 3px;
}

.site-header.is-scrolled .lang-switch {
  background: var(--surface-100);
  border-color: var(--surface-200);
}

.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  transition: all 0.2s ease;
}

.site-header.is-scrolled .lang-btn {
  color: var(--slate-600);
}

.lang-btn.is-active {
  background-color: var(--gold-500);
  color: var(--navy-950);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.site-header.is-scrolled .nav-toggle {
  color: var(--navy-900);
  border-color: var(--surface-200);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(6, 22, 43, 0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: var(--navy-900);
  color: var(--white);
  padding: 1.5rem 1.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.35);
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-block: 1.5rem;
}

.mobile-drawer__link {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.8rem 0.75rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-drawer__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-400);
}

.mobile-drawer__footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: rgba(226, 232, 240, 0.75);
}

/* ==========================================================================
   HERO SECTION (Cinematic Full-Bleed Maritime Video + Telemetry Strip)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(var(--nav-height) + clamp(2.5rem, 6vh, 4.5rem));
  background-color: var(--navy-950);
  color: var(--white);
  overflow: hidden;
}

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

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 22, 43, 0.93) 0%, rgba(11, 37, 69, 0.80) 48%, rgba(11, 37, 69, 0.50) 100%),
    linear-gradient(180deg, rgba(6, 22, 43, 0.55) 0%, rgba(6, 22, 43, 0.12) 45%, rgba(6, 22, 43, 0.94) 100%);
}

/* Subtle diagonal accent band referencing brochure geometry */
.hero__accent-bar {
  position: absolute;
  top: 0;
  right: -6%;
  width: 34%;
  height: 100%;
  background: linear-gradient(180deg, rgba(247, 198, 40, 0.08) 0%, rgba(247, 198, 40, 0.0) 65%);
  clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 3rem;
  align-items: center;
  padding-block: clamp(2rem, 5vh, 4rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  background: rgba(247, 198, 40, 0.14);
  border: 1px solid rgba(247, 198, 40, 0.42);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(247, 198, 40, 0.25);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5.2vw, 4.35rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.35rem;
}

.hero__title-accent {
  color: var(--gold-500);
}

.hero__subtitle {
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  color: rgba(226, 232, 240, 0.90);
  max-width: 58ch;
  line-height: 1.7;
  margin-bottom: 2.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Right floating operational preview card inside Hero */
.hero__feature-card {
  background: rgba(11, 37, 69, 0.76);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__feature-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

.hero__feature-card:hover .hero__feature-img {
  transform: scale(1.04);
}

.hero__feature-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(6, 22, 43, 0.85);
  color: var(--gold-400);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  border-left: 3px solid var(--gold-500);
}

.hero__feature-body {
  padding: 1.35rem 1.45rem;
}

.hero__feature-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.hero__feature-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__meta-item span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
}

.hero__meta-item strong {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
}

/* Hero Telemetry Bar */
.hero__telemetry {
  position: relative;
  z-index: 2;
  background: rgba(6, 22, 43, 0.84);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.telemetry-item {
  padding: 1.45rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.telemetry-item:first-child {
  padding-left: 0;
}

.telemetry-item:last-child {
  border-right: none;
  padding-right: 0;
}

.telemetry-value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1.1;
}

.telemetry-label {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.85);
}

/* ==========================================================================
   PROFILE & IDENTITY SECTION
   ========================================================================== */
.profile-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.profile-copy p {
  margin-bottom: 1.15rem;
  font-size: 1.04rem;
  color: var(--slate-600);
  line-height: 1.75;
}

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

.highlight-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--surface-50);
  border: 1px solid var(--surface-200);
}

.highlight-pill__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--gold-500);
  display: grid;
  place-items: center;
}

.highlight-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.15rem;
}

.highlight-pill span {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.45;
}

/* Asymmetric Photo Collage */
.profile-media {
  position: relative;
}

.profile-media__dots {
  position: absolute;
  top: -22px;
  right: -22px;
  width: 140px;
  height: 140px;
  z-index: 0;
}

.profile-media__main {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

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

.profile-media__inset {
  position: relative;
  z-index: 2;
  width: 54%;
  margin-top: -18%;
  margin-left: auto;
  margin-right: 1.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 11;
}

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

.profile-media__badge {
  position: absolute;
  left: -14px;
  bottom: 24px;
  z-index: 3;
  background: var(--navy-900);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold-500);
  box-shadow: var(--shadow-md);
}

.profile-media__badge span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-media__badge strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

/* Mission & Vision Cards */
.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.identity-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.identity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.identity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-700) 0%, var(--gold-500) 100%);
}

.identity-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.identity-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
}

.identity-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-900);
}

.identity-card p {
  color: var(--slate-600);
  font-size: 1rem;
  line-height: 1.75;
}

/* ==========================================================================
   PRESIDENT'S MESSAGE ("A RELIABLE ALLY")
   ========================================================================== */
.ally-band {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--blue-700) 100%);
  color: var(--white);
  overflow: hidden;
}

.ally-band::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-500) 68%, transparent 68%);
}

.ally-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.ally-ribbon {
  display: inline-block;
  background: var(--gold-500);
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 800;
  padding: 0.75rem 2.1rem 0.75rem 1.4rem;
  clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
  margin-bottom: 1.5rem;
}

.ally-quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.7;
  color: rgba(247, 198, 40, 0.32);
  margin-bottom: 1rem;
}

.ally-side-note {
  font-size: 0.92rem;
  color: rgba(226, 232, 240, 0.75);
  line-height: 1.65;
}

.ally-body p {
  font-size: clamp(1.03rem, 1.4vw, 1.16rem);
  line-height: 1.8;
  color: rgba(241, 245, 249, 0.92);
  margin-bottom: 1.25rem;
}

.ally-body p:first-child {
  font-size: clamp(1.12rem, 1.6vw, 1.28rem);
  font-weight: 500;
  color: var(--white);
}

.ally-signature-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.ally-signature-svg {
  height: 54px;
  width: auto;
  color: var(--gold-400);
}

.ally-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
}

.ally-author span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
}

/* ==========================================================================
   LAUNCH FLEET, MARINE SUPPLIES & VESSEL SUPPORT SECTION
   ========================================================================== */
.fleet-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.fleet-intro-copy p {
  font-size: 1.04rem;
  color: var(--slate-600);
  line-height: 1.78;
  margin-bottom: 1.1rem;
}

.fleet-intro-copy p:first-of-type {
  font-size: 1.1rem;
  color: var(--navy-900);
  font-weight: 500;
}

.fleet-visual-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.95rem;
}

.fleet-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  background: var(--navy-900);
}

.fleet-visual-card--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.fleet-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.fleet-visual-card:hover img {
  transform: scale(1.05);
}

.fleet-visual-card__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.25rem 0.9rem;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 22, 43, 0.90) 100%);
  color: var(--white);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.fleet-visual-card__label span {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
}

.fleet-visual-card__tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: var(--gold-500);
  color: var(--navy-950);
  flex-shrink: 0;
}

.services-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.service-pillar-card {
  background: var(--white);
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}

.service-pillar-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--navy-900);
  color: var(--gold-500);
  display: grid;
  place-items: center;
}

.service-pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.25;
}

.service-pillar-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.service-pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.service-pillar-tags span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--surface-100);
  padding: 0.24rem 0.55rem;
  border-radius: 4px;
}

/* ==========================================================================
   SHIP-TO-SHIP (STS) OPERATIONS SECTION
   ========================================================================== */
.sts-header-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 3rem;
}

.sts-capacity-callout {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-left: 5px solid var(--gold-500);
  box-shadow: var(--shadow-md);
}

.sts-capacity-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold-500);
  flex-shrink: 0;
}

.sts-capacity-callout strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.sts-capacity-callout p {
  font-size: 0.86rem;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.5;
}

/* Interactive STS Service Tabs */
.sts-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.sts-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1.5px solid var(--surface-200);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--slate-700);
  transition: all 0.22s ease;
}

.sts-tab__num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--slate-400);
}

.sts-tab:hover {
  border-color: var(--blue-700);
  color: var(--navy-900);
}

.sts-tab.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.sts-tab.is-active .sts-tab__num {
  color: var(--gold-500);
}

/* STS Feature Panel */
.sts-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sts-panel.is-active {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  animation: fadeSlideUp 0.35s var(--ease-out);
}

.sts-panel__info {
  padding: clamp(2rem, 3.8vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sts-panel__tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 0.75rem;
}

.sts-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.18;
  margin-bottom: 1.1rem;
}

.sts-panel__info p {
  color: var(--slate-600);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.sts-specs-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
  margin-bottom: 1.5rem;
}

.sts-specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.94rem;
  color: var(--slate-700);
  font-weight: 500;
}

.sts-specs-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue-700);
}

/* Yokohama Partner Badge */
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--surface-50);
  border: 1px solid var(--surface-200);
  width: fit-content;
}

.partner-badge__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
}

.yokohama-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  color: var(--slate-900);
}

/* STS Photo Mosaic */
.sts-panel__gallery {
  background: var(--surface-100);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  gap: 0.85rem;
}

.gallery-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--navy-900);
  aspect-ratio: 4 / 3;
}

.gallery-tile--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.gallery-tile:hover img {
  transform: scale(1.06);
}

.gallery-tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 0.95rem 0.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 22, 43, 0.88) 100%);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Quick 3-Card STS Overview Row underneath for full scannability */
.sts-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.sts-mini-card {
  background: var(--white);
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.sts-mini-card:hover,
.sts-mini-card.is-active {
  border-color: var(--gold-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.sts-mini-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--navy-900);
  display: grid;
  place-items: center;
}

.sts-mini-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: var(--navy-900);
  margin-bottom: 0.2rem;
}

.sts-mini-card span {
  font-size: 0.84rem;
  color: var(--slate-500);
  line-height: 1.5;
}

/* ==========================================================================
   UNDERWATER OPERATIONS & INDUSTRIAL DIVING SECTION
   ========================================================================== */
.underwater-hero-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(56, 189, 248, 0.22);
  min-height: 310px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: rgba(10, 34, 64, 0.72);
}

.underwater-hero-banner__img {
  position: relative;
  min-height: 280px;
}

.underwater-hero-banner__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.underwater-hero-banner__content {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.underwater-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.18);
  color: var(--ocean-400);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.underwater-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.diving-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3.2vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.diving-card:hover {
  border-color: rgba(247, 198, 40, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.diving-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.diving-card__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
}

.diving-card__num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-500);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: rgba(247, 198, 40, 0.12);
}

.diving-card__desc {
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.72;
}

.diving-checklist {
  display: grid;
  gap: 0.75rem;
}

.diving-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--white);
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--gold-500);
}

.diving-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.diving-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.diving-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.diving-photo:hover img {
  transform: scale(1.08);
}

/* ==========================================================================
   NAVAL WORKSHOP & OPERATIONS VIDEO SHOWCASE
   ========================================================================== */
.video-showcase-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.video-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--surface-200);
  aspect-ratio: 16 / 9;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-specs-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.video-spec-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--surface-200);
  box-shadow: var(--shadow-sm);
}

.video-spec-card__code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy-950);
  background: var(--gold-500);
  padding: 0.3rem 0.55rem;
  border-radius: 5px;
  flex-shrink: 0;
}

.video-spec-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: var(--navy-900);
  margin-bottom: 0.15rem;
}

.video-spec-card p {
  font-size: 0.86rem;
  color: var(--slate-500);
  line-height: 1.5;
}

/* ==========================================================================
   CONTACT SECTION & PANORAMIC MARITIME BANNER
   ========================================================================== */
.contact-banner {
  position: relative;
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  padding-block: 3rem;
  background: var(--navy-950);
  overflow: hidden;
}

.contact-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.contact-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 22, 43, 0.35) 0%, rgba(11, 37, 69, 0.94) 100%);
}

.contact-banner__inner {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info-box {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(1.85rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gold-500);
}

.contact-info-box h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.contact-info-box > p {
  color: rgba(226, 232, 240, 0.80);
  font-size: 0.94rem;
  margin-bottom: 1.75rem;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a.contact-item:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(247, 198, 40, 0.55);
  transform: translateX(3px);
}

.contact-item__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gold-500);
  color: var(--navy-950);
  display: grid;
  place-items: center;
}

.contact-item__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
}

.contact-item__value {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
}

.ein-box {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(247, 198, 40, 0.10);
  border: 1px dashed rgba(247, 198, 40, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ein-box span {
  font-size: 0.84rem;
  color: rgba(241, 245, 249, 0.9);
  font-weight: 600;
}

.ein-box code {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-400);
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--surface-200);
  border-radius: var(--radius-xl);
  padding: clamp(1.85rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}

.contact-form-card > p {
  color: var(--slate-500);
  font-size: 0.94rem;
  margin-bottom: 1.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.form-group--full {
  grid-column: span 2;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-900);
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--surface-200);
  background: var(--surface-50);
  color: var(--slate-900);
  font-size: 0.93rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

select.form-control {
  height: 46px;
  text-overflow: ellipsis;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-700);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(27, 73, 133, 0.12);
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.form-status {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  font-size: 0.92rem;
  line-height: 1.55;
}

.form-status.is-visible {
  display: block;
  animation: fadeSlideUp 0.3s var(--ease-out);
}

.form-status strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(226, 232, 240, 0.80);
  border-top: 4px solid var(--gold-500);
  padding-top: 4rem;
  padding-bottom: 2.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(203, 213, 225, 0.78);
  max-width: 34ch;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  margin-bottom: 1.1rem;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: rgba(226, 232, 240, 0.80);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold-400);
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--slate-400);
}

.footer-bottom code {
  font-family: var(--font-mono);
  color: var(--gold-400);
}

/* ==========================================================================
   MODALS (LIGHTBOX & VIDEO MODAL)
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 22, 43, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal__close:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

.modal__media {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
  background: #000;
}

.modal__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: #000;
}

.modal__caption {
  margin-top: 1rem;
  color: rgba(241, 245, 249, 0.9);
  font-size: 0.95rem;
  text-align: center;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

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

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero__feature-card {
    max-width: 560px;
  }

  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .telemetry-item:nth-child(2) {
    border-right: none;
  }

  .telemetry-item:nth-child(1),
  .telemetry-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }

  .telemetry-item:nth-child(3) {
    padding-left: 0;
  }

  .profile-grid,
  .fleet-intro-grid,
  .sts-header-grid,
  .sts-panel.is-active,
  .underwater-hero-banner,
  .video-showcase-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sts-panel__gallery {
    min-height: 360px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .identity-grid,
  .ally-layout,
  .underwater-grid,
  .sts-summary-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --nav-height: 72px;
  }

  .brand-logo {
    height: 44px;
  }

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

  .telemetry-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    padding: 1rem 0;
  }

  .telemetry-item:last-child {
    border-bottom: none;
  }

  .profile-highlights,
  .services-pillars-grid,
  .fleet-visual-pair,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .fleet-visual-card--wide {
    grid-column: span 1;
  }

  .form-group--full {
    grid-column: span 1;
  }

  .profile-media__badge {
    position: static;
    margin-top: 1rem;
  }

  .profile-media__inset {
    width: 68%;
    margin-top: -12%;
    margin-right: 0.5rem;
  }

  .diving-photos {
    grid-template-columns: 1fr;
  }

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