/* A Star Maritime Services Limited — demo site */

:root {
  --navy: #0A2463;
  --ocean: #3E92CC;
  --sky: #D6EAF8;
  --gold: #D4AF37;
  --white: #FFFFFF;
  --ink: #1A1A2E;
  --muted: #4A5568;
  --line: #C5D4E0;
  --header-h: 5.5rem;
  --radius: 0.75rem;
  --shadow: 0 8px 30px rgba(10, 36, 99, 0.08);
  --shadow-hover: 0 16px 40px rgba(10, 36, 99, 0.16);
  --max: 70rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; }

h1, h2, h3, .logo-text, .eyebrow, .hero-tagline, .contact-name {
  font-family: Montserrat, "Open Sans", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.02em; margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.02em; margin: 0; }
h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--ocean); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  font-weight: 700;
  border-radius: 0 0 0.35rem 0.35rem;
}
.skip-link:focus { top: 0; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(10, 36, 99, 0.08);
  box-shadow: 0 2px 16px rgba(10, 36, 99, 0.06);
  min-height: var(--header-h);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.logo:hover { color: var(--navy); text-decoration: none; }
.logo-mark {
  width: 4.5rem;
  height: 4.5rem;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.logo-text {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: inherit;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.45rem 0.7rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0.35rem;
}
.site-nav a:hover {
  color: var(--ocean);
  text-decoration: none;
}
.site-nav a[aria-current="page"] {
  color: var(--ocean);
  text-decoration: none;
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.nav-toggle-bar {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(0.45rem) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-0.45rem) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=1920&q=80")
    center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 36, 99, 0.55) 0%, rgba(10, 36, 99, 0.72) 55%, rgba(10, 36, 99, 0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 5rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  width: min(100% - 2rem, var(--max));
}
.hero h1,
.hero .hero-tagline,
.hero .hero-lead,
.hero .hero-kicker,
.hero .hero-meta,
.hero a { color: var(--white); }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
}
.hero-tagline {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: 1.125rem;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.hero-meta {
  font-size: 0.95rem;
  color: var(--sky);
}
.hero-meta a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.hero-meta a:hover { color: var(--gold); }
.meta-sep { margin: 0 0.6rem; opacity: 0.7; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border-radius: 0.4rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: #e0c04a; color: var(--navy); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--ocean); border-color: var(--ocean); color: var(--white); }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--sky); }
.section-header { margin-bottom: 2rem; max-width: 40rem; }
.section-header-light h2,
.section-header-light .eyebrow { color: var(--white); }
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ocean);
  margin: 0 0 0.6rem;
  font-weight: 700;
}
.section-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.about-copy p { font-size: 1.0625rem; }
.about-points {
  list-style: none;
  margin: 0;
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}
.about-points li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.5rem;
  font-weight: 600;
  color: var(--navy);
}
.about-points li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--ocean);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--ocean);
  margin-bottom: 0.85rem;
}
.card-icon svg { width: 100%; height: 100%; }
.service-card p { color: var(--muted); font-size: 0.98rem; }

/* Why choose us */
.section-why {
  background: var(--navy);
  color: var(--white);
  padding: 4.5rem 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(214, 234, 248, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}
.why-card h3 { color: var(--white); }
.why-card p { color: var(--sky); }
.why-star { color: var(--gold); font-size: 1.35rem; display: block; margin-bottom: 0.6rem; }

/* Fleet */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.capability-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--gold);
}
.capability-card p { color: var(--muted); font-size: 0.98rem; }
.fleet-note {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* Safety */
.safety-copy { max-width: 46rem; margin-bottom: 2rem; }
.standards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.standards-list li {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--sky);
  border: 1px solid var(--ocean);
  border-radius: 2rem;
  padding: 0.45rem 0.95rem;
}

/* Partner certificate gallery */
.cert-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 24rem));
  gap: 1.35rem;
}
.cert-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cert-thumb {
  display: block;
  background: #f4f7fa;
  padding: 0.85rem 0.85rem 0;
  text-decoration: none;
}
.cert-thumb img {
  width: 100%;
  height: 24rem;
  object-fit: contain;
  object-position: center top;
  display: block;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(10, 36, 99, 0.06);
}
.cert-thumb:hover img,
.cert-thumb:focus-visible img {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.cert-card figcaption {
  padding: 0.85rem 1rem 1.05rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.cert-lightbox {
  border: 0;
  padding: 0;
  max-width: min(52rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(10, 36, 99, 0.28);
  overflow: auto;
}
.cert-lightbox::backdrop {
  background: rgba(10, 36, 99, 0.62);
}
.cert-lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  background: #f4f7fa;
}
.cert-lightbox-caption {
  margin: 0;
  padding: 0.85rem 2.75rem 1.1rem 1.1rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.cert-lightbox-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(10, 36, 99, 0.25);
}
.cert-lightbox-close:hover {
  background: var(--gold);
  color: var(--navy);
}

@media (max-width: 960px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .cert-grid { grid-template-columns: 1fr; max-width: 22rem; }
}

/* Careers */
.careers-layout .btn { margin-top: 0.25rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-name { font-size: 1.15rem; margin-bottom: 0.75rem; }
.contact-details p { margin-bottom: 0.4rem; }
.contact-note { margin-top: 1.1rem; font-weight: 600; color: var(--navy); }
.phone-placeholder { color: var(--muted); }
.placeholder-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ocean);
}

.contact-form-wrap {
  background: var(--sky);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
.form-field input:hover,
.form-field textarea:hover { border-color: var(--ocean); }
.form-hint, .form-error {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  color: var(--muted);
}
.form-error { color: #9B1C1C; font-weight: 600; }
.form-success {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--sky);
  padding: 3rem 0 1.5rem;
}
.site-footer a { color: var(--sky); }
.site-footer a:hover { color: var(--gold); }
.site-footer .logo { color: var(--white); margin-bottom: 0.6rem; }
.site-footer .logo-mark { filter: none; width: 3.75rem; height: 3.75rem; }
.site-footer .logo-text { color: var(--white); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(214, 234, 248, 0.18);
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1rem;
}
.footer-nav a {
  font-weight: 600;
  font-size: 0.95rem;
}
.footer-tagline { color: var(--gold); font-family: Montserrat, sans-serif; font-weight: 600; }
.footer-bottom {
  padding-top: 1.25rem;
  font-size: 0.85rem;
}
.footer-agent {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.footer-bottom p:not(.footer-agent) {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 960px) {
  .card-grid,
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .contact-grid,
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 4.25rem; }
  .nav-toggle { display: flex; }
  .logo { gap: 0.5rem; }
  .logo-mark { width: 3rem; height: 3rem; }
  .logo-text { font-size: 0.98rem; }
  .site-footer .logo-mark { width: 3.25rem; height: 3.25rem; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(10, 36, 99, 0.08);
    box-shadow: var(--shadow);
    padding: 0.5rem 1rem 1rem;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 0.75rem 0.5rem; font-size: 1rem; }
  .card-grid,
  .capability-grid,
  .why-grid { grid-template-columns: 1fr; }
  .hero { min-height: 32rem; }
  .hero-content { padding: 3.25rem 0 3.5rem; }
  .section { padding: 3.25rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card,
  .btn,
  .nav-toggle-bar { transition: none; }
  .service-card:hover { transform: none; }
}

/* Inner page banner */
.page-banner {
  background: var(--navy);
  color: var(--white);
  padding: 3.25rem 0 2.85rem;
  border-bottom: 4px solid var(--gold);
}
.page-banner h1 { color: var(--white); margin: 0; }
.page-banner-sub {
  margin: 0.7rem 0 0;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--gold);
}

/* Home teasers */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.teaser-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--ocean);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.teaser-card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.teaser-link {
  margin-top: 1rem;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
}
.teaser-link:hover { color: var(--ocean); text-decoration: underline; }

/* Card headings when used as h2 on inner pages */
.service-card h2,
.capability-card h2,
.teaser-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

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

@media (max-width: 760px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .page-banner { padding: 2.4rem 0 2.1rem; }
  .footer-inner { grid-template-columns: 1fr; }
}


/* Service category lists */
.content-heading {
  margin: 0 0 0.75rem;
}
.supply-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-bottom: 0.5rem;
}
.supply-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--ocean);
}
.supply-card p { color: var(--muted); font-size: 0.98rem; }
.supply-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.supply-card li { margin: 0.3rem 0; }
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.split-block p { color: var(--muted); }

@media (max-width: 960px) {
  .supply-grid,
  .split-block { grid-template-columns: 1fr; }
}


/* Ship supplies photo galleries (tabbed, per category) */
.supply-category {
  margin-top: 2.75rem;
}
.supply-category:first-of-type {
  margin-top: 1.75rem;
}
.supply-category > h3 {
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
}
.supply-category > p {
  color: var(--muted);
  max-width: 52rem;
  margin-bottom: 1.15rem;
}
.supply-tabs {
  display: grid;
  grid-template-columns: minmax(15rem, 0.4fr) 1fr;
  gap: 1.35rem;
  align-items: start;
}
.supply-tablist {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.supply-tablist [role="tab"] {
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.35;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.supply-tablist [role="tab"]:hover {
  background: var(--sky);
  text-decoration: none;
}
.supply-tablist [role="tab"][aria-selected="true"] {
  border-left-color: var(--gold);
  background: var(--sky);
  color: var(--navy);
  box-shadow: var(--shadow);
}
.supply-tab-panel[hidden] { display: none; }
.supply-photo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.supply-photo-grid figure {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.supply-photo-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: var(--sky);
}
.supply-photo-grid figcaption {
  padding: 0.55rem 0.8rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: Montserrat, sans-serif;
  color: var(--navy);
}

@media (max-width: 760px) {
  .supply-tabs { grid-template-columns: 1fr; }
  .supply-tablist {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.45rem;
    padding: 0 0 0.35rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .supply-tablist [role="tab"] {
    flex: 0 0 auto;
    max-width: 16rem;
    white-space: normal;
    border-left-width: 1px;
    border-bottom: 4px solid var(--line);
    border-radius: var(--radius);
  }
  .supply-tablist [role="tab"][aria-selected="true"] {
    border-left-color: var(--line);
    border-bottom-color: var(--gold);
  }
  .supply-photo-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
}

@media (max-width: 520px) {
  .supply-photo-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .supply-tablist [role="tab"] { transition: none; }
}


/* Fleet photo carousel */
.fleet-carousel {
  margin: 2.25rem 0 1rem;
  --carousel-peek: 14%;
}
.fleet-carousel-stage {
  position: relative;
  padding: 0.35rem 0 0.5rem;
}
.fleet-carousel-track {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1.35rem var(--carousel-peek);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  touch-action: pan-x pan-y pinch-zoom;
}
.fleet-carousel-track::-webkit-scrollbar { display: none; }
.fleet-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.fleet-carousel-slide {
  flex: 0 0 72%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  margin: 0 -1.15%;
  position: relative;
  z-index: 0;
  transform: scale(0.84);
  opacity: 0.45;
  transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
  filter: saturate(0.85);
  pointer-events: none;
}
.fleet-carousel-slide.is-active {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
  filter: none;
  pointer-events: auto;
}
.fleet-carousel-slide.is-prev,
.fleet-carousel-slide.is-next {
  z-index: 1;
  opacity: 0.7;
  transform: scale(0.9);
  filter: saturate(0.95);
}
.fleet-carousel-frame {
  border-radius: 0.9rem;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 10px 28px rgba(10, 36, 99, 0.16);
  aspect-ratio: 16 / 10;
}
.fleet-carousel-slide.is-active .fleet-carousel-frame {
  box-shadow: 0 18px 40px rgba(10, 36, 99, 0.28);
  outline: 2px solid var(--gold);
  outline-offset: 0;
}
.fleet-carousel-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.fleet-carousel-slide figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.fleet-carousel-btn {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.7rem;
  height: 2.7rem;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(10, 36, 99, 0.25);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.fleet-carousel-btn svg { width: 1.2rem; height: 1.2rem; }
.fleet-carousel-btn:hover:not(:disabled) {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-50%) scale(1.06);
}
.fleet-carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.fleet-carousel-btn.is-prev { left: 0.15rem; }
.fleet-carousel-btn.is-next { right: 0.15rem; }
.fleet-carousel-status {
  margin: 0.9rem 0 0.85rem;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}
.fleet-carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}
.fleet-carousel-dots button {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.fleet-carousel-dots button[aria-current="true"] {
  background: var(--gold);
  transform: scale(1.25);
}
.fleet-carousel-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.45rem;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.fleet-carousel-thumbs button {
  flex: 0 0 4.4rem;
  height: 3.1rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.4rem;
  overflow: hidden;
  background: var(--sky);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.fleet-carousel-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.fleet-carousel-thumbs button[aria-current="true"] {
  border-color: var(--gold);
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 36, 99, 0.16);
}
.fleet-carousel-thumbs button:hover { opacity: 1; }

@media (max-width: 760px) {
  .fleet-carousel { --carousel-peek: 9%; }
  .fleet-carousel-slide { flex-basis: 82%; margin: 0 -1.6%; }
  .fleet-carousel-frame { aspect-ratio: 4 / 3; }
  .fleet-carousel-btn {
    width: 2.3rem;
    height: 2.3rem;
  }
  .fleet-carousel-btn.is-prev { left: 0; }
  .fleet-carousel-btn.is-next { right: 0; }
  .fleet-carousel-thumbs button {
    flex-basis: 3.6rem;
    height: 2.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fleet-carousel-track,
  .fleet-carousel-thumbs { scroll-behavior: auto; }
  .fleet-carousel-slide,
  .fleet-carousel-btn,
  .fleet-carousel-dots button,
  .fleet-carousel-thumbs button { transition: none; }
}
.home-photo,
.inline-photo {
  margin: 0 0 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.home-photo img,
.inline-photo img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  display: block;
}
.home-photo figcaption,
.inline-photo figcaption {
  padding: 0.65rem 0.85rem 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--white);
}
@media (max-width: 760px) {
  .home-photo img,
  .inline-photo img { height: 14rem; }
}
