:root {
  --bg: #ffffff;
  --bg-soft: #f5f3ee;
  --ink: #121723;
  --ink-soft: #5a6273;
  --line: rgba(18, 23, 35, 0.1);
  --gold: #e3bd61;
  --gold-deep: #c99834;
  --navy: #0f3158;
  --navy-deep: #071a34;
  --sea: #0b5b8f;
  --shadow: 0 22px 60px rgba(12, 31, 58, 0.16);
  --radius: 28px;
  --shell: min(1200px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Montserrat", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
}

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.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;
}

.floating-feedback {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 20;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #171717;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(13, 26, 45, 0.18);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(3, 22, 43, 0.08) 0%, rgba(3, 22, 43, 0.38) 100%),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.55), transparent 22%),
    linear-gradient(180deg, #82c4ef 0%, #1684c5 34%, #0c4f7b 70%, #08355e 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 8%, rgba(255, 255, 255, 0.1) 9%, transparent 13%),
    linear-gradient(115deg, transparent 0 15%, rgba(255, 255, 255, 0.08) 16%, transparent 19%),
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.3), transparent 14%);
  opacity: 0.75;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(30px, 8vw, 120px);
  bottom: 15%;
  width: min(48vw, 620px);
  aspect-ratio: 1.45;
  border-radius: 32px 20px 18px 110px;
  background:
    linear-gradient(180deg, #ccb86e 0 18%, #9a8548 18% 20%, transparent 20% 100%),
    linear-gradient(90deg, #6f0f18 0 12%, #173c60 12% 100%);
  clip-path: polygon(8% 56%, 14% 40%, 36% 27%, 74% 19%, 92% 24%, 97% 34%, 92% 68%, 80% 77%, 25% 82%, 5% 74%);
  box-shadow:
    0 35px 55px rgba(0, 0, 0, 0.24),
    inset -14px -18px 0 rgba(255, 255, 255, 0.06);
  transform: rotate(-11deg);
  opacity: 0.92;
  animation: heroShipFloat 8s ease-in-out infinite;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 0;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 29;
  background: rgba(7, 26, 52, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: min(360px, calc(100vw - 28px));
  height: 100vh;
  padding: 28px 24px 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 70px rgba(7, 26, 52, 0.22);
  transform: translateX(-108%);
  transition: transform 0.32s ease;
}

.menu-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.menu-drawer-header p {
  margin: 0;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #edf1f6;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.menu-links {
  display: grid;
  gap: 10px;
}

.menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f4f6fa;
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease;
}

.menu-links a::after {
  content: ">";
  color: var(--gold-deep);
}

.menu-links a:hover,
.menu-links a:focus-visible {
  transform: translateX(4px);
  background: #eef3f9;
}

.menu-links a.is-current {
  background: var(--gold);
  color: var(--navy-deep);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open .menu-drawer {
  transform: translateX(0);
}

.icon-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 52px;
  height: 52px;
  padding: 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button span {
  width: 100%;
  height: 3px;
  background: #1e232d;
  border-radius: 999px;
}

.topbar-links {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px auto 0;
  flex-wrap: wrap;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.topbar-links a:hover,
.topbar-links a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.topbar-links a.is-current {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.brand {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  display: block;
}

.brand-logo {
  width: auto;
  height: clamp(46px, 4.2vw, 62px);
  filter: brightness(0) saturate(100%);
  transform-origin: center;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: #1f232c;
  font-size: 0.74rem;
  margin-top: 2px;
}

.nav-tool {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 60px;
}

.nav-tool span:last-child {
  font-size: 0.76rem;
  line-height: 1;
}

.nav-tool-icon {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
}

.search-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border: 2px solid #1f232c;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 4px;
  width: 9px;
  height: 2px;
  background: #1f232c;
  transform: rotate(45deg);
  transform-origin: center;
}

.tracking-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 10px;
  height: 16px;
  border: 2px solid #1f232c;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
}

.tracking-icon::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: #1f232c;
}

.globe-icon::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 2px solid #1f232c;
  border-radius: 50%;
}

.globe-icon::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 2px;
  width: 2px;
  height: 18px;
  background: #1f232c;
  box-shadow:
    -7px 0 0 rgba(31, 35, 44, 0.12),
    7px 0 0 rgba(31, 35, 44, 0.12);
}

.globe-icon {
  background:
    linear-gradient(#1f232c, #1f232c) center 7px / 18px 2px no-repeat,
    linear-gradient(#1f232c, #1f232c) center 15px / 18px 2px no-repeat;
}

.account-pill {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 86px;
  height: 102px;
  padding: 10px 6px 8px;
  border-radius: 12px;
  background: var(--gold);
  color: #1f232c;
  font-weight: 700;
  text-transform: none;
}

.account-pill span:last-child {
  font-size: 0.78rem;
  line-height: 1;
}

.account-icon::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #1f232c;
}

.account-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 4px;
  width: 18px;
  height: 9px;
  border-radius: 14px 14px 6px 6px;
  background: #1f232c;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 48px 0 72px;
}

.hero-copy {
  max-width: 520px;
}

.eyebrow,
.kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 5.9rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.hero-copy p:last-child {
  max-width: 440px;
  margin-top: 20px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-copy,
.tracking-panel,
.nav-tools {
  opacity: 0;
  transform: translateY(28px);
}

.brand {
  opacity: 0;
}

body.is-ready .brand {
  animation: brandDrop 0.6s ease forwards;
}

body.is-ready .nav-tools {
  animation: fadeUp 0.6s ease 0.1s forwards;
}

body.is-ready .hero-copy {
  animation: fadeUp 0.8s ease 0.18s forwards;
}

body.is-ready .tracking-panel {
  animation: fadeUp 0.8s ease 0.32s forwards;
}

.tracking-panel {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.panel-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  padding: 10px 12px 16px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.tab.is-active {
  color: var(--ink);
}

.tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 82px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
}

.panel-body {
  display: none;
  gap: 14px;
  padding-top: 22px;
}

.panel-body.is-active {
  display: grid;
  animation: panelFade 0.32s ease;
}

.panel-note {
  margin: 0 0 4px;
  color: var(--ink-soft);
}

.radio-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.radio-line input {
  accent-color: var(--gold-deep);
}

.search-field input {
  width: 100%;
  padding: 18px 20px;
  border: 0;
  border-radius: 16px;
  background: #f0f2f6;
  color: var(--ink);
}

.primary-button,
.outline-button,
.text-link {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  padding: 16px 20px;
  border: 0;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.section {
  padding: 108px 0;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 42px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.light {
  color: #fff;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.02;
}

.section-heading p:last-child {
  margin: 22px auto 0;
  color: var(--ink-soft);
  max-width: 640px;
}

.section-heading.light p:last-child {
  color: rgba(255, 255, 255, 0.86);
}

.kicker::after {
  content: "";
  display: block;
  width: 104px;
  height: 6px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: var(--gold);
}

.solution-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 30px;
  overflow: hidden;
  min-height: 430px;
  box-shadow: var(--shadow);
}

.solution-grid::before,
.solution-grid::after {
  content: "";
  position: absolute;
  inset: 0;
}

.solution-grid::before {
  background-image: var(--solution-bg);
  background-position: center;
  background-size: cover;
  transition: background-image 0.45s ease, transform 0.6s ease;
  transform: scale(1.01);
}

.solution-grid::after {
  background:
    linear-gradient(180deg, rgba(7, 26, 52, 0.18), rgba(7, 26, 52, 0.72)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02));
  z-index: 0;
}

.solution-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  min-height: 430px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  transition: background-color 0.35s ease;
}

.solution-card:last-child {
  border-right: 0;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  transition: opacity 0.35s ease, background-color 0.35s ease;
}

.solution-card.ocean::before {
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 210, 115, 0.32), transparent 22%),
    linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, 0.36) 100%);
}

.solution-card.inland::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 35%),
    linear-gradient(160deg, rgba(240, 196, 96, 0.22), transparent 52%);
}

.solution-card.digital::before {
  background:
    linear-gradient(180deg, rgba(77, 194, 255, 0.12), transparent 40%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.08), transparent 45%);
}

.solution-card.cargo::before {
  background:
    radial-gradient(circle at 74% 28%, rgba(255, 219, 126, 0.24), transparent 24%),
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.42) 100%);
}

.solution-overlay {
  position: relative;
  z-index: 1;
  color: #fff;
  transition: transform 0.35s ease;
}

.solution-overlay h3 {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.05;
}

.solution-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    max-height 0.3s ease;
}

.solution-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 700;
}

.solution-points li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.solution-card.is-active::before,
.solution-card:hover::before,
.solution-card:focus-visible::before {
  opacity: 0.18;
}

.solution-card.is-active .solution-points,
.solution-card:hover .solution-points,
.solution-card:focus-visible .solution-points {
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
}

.solution-card.is-active .solution-overlay,
.solution-card:hover .solution-overlay,
.solution-card:focus-visible .solution-overlay {
  transform: translateY(-4px);
}

.centered-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
}

.outline-button:hover,
.primary-button:hover,
.text-link:hover,
.floating-feedback:hover {
  transform: translateY(-2px);
}

.industry-card:hover,
.news-card:hover,
.advisory-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(12, 31, 58, 0.16);
}

.news-card:hover::before {
  transform: scale(1.06);
  opacity: 0.92;
}

.news-card:hover > * {
  transform: translateY(-2px);
}

.industry-card:hover .industry-media,
.route-image:hover img {
  transform: scale(1.05);
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brandDrop {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroShipFloat {
  0%,
  100% {
    transform: rotate(-11deg) translateY(0);
  }

  50% {
    transform: rotate(-11deg) translateY(-10px);
  }
}

.feature-split {
  padding-top: 26px;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border-radius: 30px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.split-copy {
  padding: 72px 64px;
}

.split-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
}

.split-copy p {
  margin: 0 0 28px;
  color: var(--ink-soft);
  max-width: 420px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

.text-link::after {
  content: ">";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  font-size: 0.9rem;
}

.map-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.26), transparent 22%),
    linear-gradient(180deg, #18356f 0%, #0f2250 100%);
}

.route-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.7s ease;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.industry-card,
.advisory-card {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(12, 31, 58, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.industry-media {
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}

.industry-media.ranong {
  background-image: linear-gradient(180deg, rgba(10, 24, 45, 0.18), rgba(10, 24, 45, 0.5)), url("./FK%20Line%20Website/17503_0.jpg");
}

.industry-media.chittagong {
  background-image: linear-gradient(180deg, rgba(10, 24, 45, 0.18), rgba(10, 24, 45, 0.5)), url("./FK%20Line%20Website/FK%20LINE%20Multimodal%20Route%202026-01-01.png");
  background-position: 30% center;
}

.industry-media.chennai {
  background-image: linear-gradient(180deg, rgba(10, 24, 45, 0.12), rgba(10, 24, 45, 0.42)), url("./FK%20Line%20Website/A54AEE49-2342-4DB3-82DC-1BBD0A1C61F4.jpg");
}

.industry-media.colombo {
  background-image: linear-gradient(180deg, rgba(10, 24, 45, 0.18), rgba(10, 24, 45, 0.52)), url("./FK%20Line%20Website/1(1).jpg");
}

.industry-copy {
  padding: 22px 22px 26px;
}

.industry-copy h3 {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.industry-copy p {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.industry-copy a {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.84rem;
}

.stats-band {
  padding: 0;
  background:
    linear-gradient(180deg, rgba(8, 23, 44, 0.2), rgba(8, 23, 44, 0.42)),
    url("./FK%20Line%20Website/FK%20LINE%20Multimodal%20Route%202026-01-01.png")
      center/cover;
  background-attachment: fixed;
}

.stats-overlay {
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(4, 22, 42, 0.48), rgba(4, 22, 42, 0.7));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.stats-grid article {
  text-align: center;
  color: #fff;
}

.stats-grid strong {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.light-outline {
  border-color: #fff;
  color: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.news-card {
  position: relative;
  min-height: 340px;
  padding: 26px 22px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform 0.7s ease, filter 0.35s ease;
}

.news-card.advisory::before {
  background:
    var(--news-card-overlay, linear-gradient(180deg, rgba(21, 75, 133, 0.14), rgba(0, 0, 0, 0.72))),
    var(--news-card-image, url("./FK%20Line%20Website/17503_0.jpg")) center/cover;
}

.news-card.events::before {
  background:
    var(--news-card-overlay, linear-gradient(180deg, rgba(255, 165, 79, 0.18), rgba(0, 0, 0, 0.72))),
    var(--news-card-image, url("./FK%20Line%20Website/FK%20LINE%20Multimodal%20Route%202026-01-01.png")) center/cover;
}

.news-card.breakbulk::before {
  background:
    var(--news-card-overlay, linear-gradient(180deg, rgba(247, 206, 88, 0.14), rgba(0, 0, 0, 0.72))),
    var(--news-card-image, url("./FK%20Line%20Website/A54AEE49-2342-4DB3-82DC-1BBD0A1C61F4.jpg")) center/cover;
}

.news-card.medlog::before {
  background:
    var(--news-card-overlay, linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.72))),
    var(--news-card-image, url("./FK%20Line%20Website/1(1).jpg")) center/cover;
}

.news-card > * {
  position: relative;
  z-index: 1;
  transition: transform 0.35s ease;
}

.badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.news-date {
  margin: 18px 0 10px;
  color: rgba(255, 255, 255, 0.84);
}

.news-card h3 {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1.04;
  max-width: 230px;
}

.news-card a {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.82rem;
}

.advisory-band {
  background: #f2f1ed;
}

.section-header-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-header-inline h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.advisory-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.advisory-card {
  padding: 24px;
}

.advisory-card p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.advisory-card h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.12;
}

.advisory-card span {
  color: var(--ink-soft);
}

.site-footer {
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 40px;
  padding: 78px 0;
}

.site-footer h3 {
  margin: 0 0 20px;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.footer-selects {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-selects span {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  background: #f4f5f7;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li a,
.site-footer p,
.site-footer .text-link {
  color: var(--ink-soft);
}

.footer-bottom {
  background: #171717;
  color: rgba(255, 255, 255, 0.72);
}

.footer-meta {
  padding: 22px 0 28px;
  text-align: center;
}

.footer-meta p {
  margin: 6px 0;
}

@media (max-width: 1180px) {
  .hero-content,
  .split-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .industry-grid,
  .news-grid,
  .advisory-row,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    min-height: auto;
    padding-top: 26px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .split-copy {
    padding: 54px 42px 28px;
  }

  .map-visual {
    min-height: 360px;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: min(100vw - 28px, 100%);
  }

  .floating-feedback {
    right: 14px;
    left: 14px;
    bottom: 14px;
    text-align: center;
  }

  .topbar {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-areas:
      "menu brand"
      "menu tools";
    align-items: start;
    gap: 14px 10px;
    padding-top: 18px;
  }

  .topbar-links {
    justify-content: flex-start;
    margin-top: 18px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .topbar-links a {
    min-width: auto;
    white-space: nowrap;
  }

  .topbar-links::-webkit-scrollbar {
    display: none;
  }

  .icon-button {
    grid-area: menu;
    width: 56px;
    height: 56px;
    padding: 0 10px;
    align-self: start;
    margin-top: 6px;
  }

  .brand {
    grid-area: brand;
    position: static;
    justify-self: center;
    width: auto;
    margin-top: 2px;
    text-align: center;
    transform: none;
  }

  .brand-logo {
    width: auto;
    height: 42px;
    margin: 0 auto;
  }

  .nav-tools {
    grid-area: tools;
    display: grid;
    grid-template-columns: repeat(3, 48px) 70px;
    justify-content: end;
    align-items: start;
    gap: 8px;
    margin: 0;
    width: 100%;
  }

  .nav-tool {
    min-width: 0;
    gap: 4px;
  }

  .nav-tool-icon {
    width: 22px;
    height: 22px;
  }

  .account-pill {
    width: 70px;
    height: 70px;
    gap: 3px;
    padding: 8px 4px 6px;
    border-radius: 14px;
  }

  .account-pill span:last-child {
    font-size: 0.72rem;
  }

  .nav-tool span:last-child {
    font-size: 0.62rem;
  }

  .account-icon::before {
    left: 6px;
    top: 2px;
    width: 10px;
    height: 10px;
  }

  .account-icon::after {
    left: 3px;
    bottom: 4px;
    width: 16px;
    height: 8px;
  }

  .search-icon::before {
    left: 2px;
    top: 2px;
    width: 12px;
    height: 12px;
  }

  .search-icon::after {
    right: 1px;
    bottom: 4px;
    width: 8px;
  }

  .tracking-icon::before {
    left: 6px;
    width: 9px;
    height: 14px;
  }

  .tracking-icon::after {
    left: 10px;
    top: 7px;
  }

  .globe-icon::after {
    left: 10px;
    top: 2px;
    height: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    left: 5%;
    right: 10%;
    width: auto;
    bottom: 34%;
    opacity: 0.45;
  }

  .hero-content {
    gap: 28px;
    padding-bottom: 38px;
  }

  .tracking-panel {
    padding: 18px;
  }

  .panel-tabs {
    grid-template-columns: 1fr;
  }

  .tab.is-active::after {
    width: 60px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading h2,
  .split-copy h2,
  .section-header-inline h2 {
    font-size: 2.3rem;
  }

  .solution-grid,
  .industry-grid,
  .news-grid,
  .advisory-row,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .solution-card:last-child {
    border-bottom: 0;
  }

  .split-copy {
    padding: 42px 22px 10px;
  }

  .map-visual {
    min-height: 260px;
  }

  .section-header-inline {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-selects,
  .site-footer ul {
    flex-direction: column;
  }

  .footer-meta {
    padding-bottom: 94px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-copy,
  .tracking-panel,
  .brand,
  .nav-tools,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .stats-band {
    background-attachment: scroll;
  }
}
