:root {
  --ink: #101820;
  --muted: #5d6875;
  --line: #dfe5e8;
  --paper: #f6f8f5;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #073f3a;
  --blue: #168ac6;
  --gold: #d5a84b;
  --graphite: #202a32;
  --shadow: 0 20px 60px rgba(16, 24, 32, 0.14);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body.is-loading {
  overflow: hidden;
}

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

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

.splash {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(15, 118, 110, 0.16), transparent 34%),
    linear-gradient(135deg, #f7f8f5, #ffffff 54%, #e7eef0);
  transition: opacity 520ms ease, visibility 520ms ease;
}

.splash.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.splash-card {
  position: relative;
  display: grid;
  width: min(620px, 82vw);
  min-height: 245px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: splashRise 1800ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.splash-card::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.88), transparent 62%);
  transform: translateX(-35%) rotate(8deg);
  animation: shineSweep 1500ms ease 360ms both;
}

.splash-card img {
  position: relative;
  z-index: 1;
  width: min(430px, 70vw);
  filter: drop-shadow(0 18px 22px rgba(16, 24, 32, 0.18));
  animation: logoReveal 1600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.splash-line {
  position: absolute;
  bottom: 34px;
  left: 50%;
  width: min(280px, 48vw);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--blue));
  transform: translateX(-50%) scaleX(0);
  transform-origin: left;
  animation: lineLoad 1500ms ease 260ms both;
}

body.splash-done .hero-content,
body.splash-done .hero-panel {
  animation: pageReveal 720ms ease both;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  width: 310px;
  max-width: 50vw;
  height: 78px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.12);
  overflow: hidden;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 800;
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 128px clamp(18px, 5vw, 72px) 46px;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(6, 21, 28, 0.9), rgba(6, 21, 28, 0.58) 52%, rgba(6, 21, 28, 0.16)),
    linear-gradient(0deg, rgba(6, 21, 28, 0.68), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.motion-rails {
  position: absolute;
  z-index: 1;
  inset: auto -10% 16% 38%;
  height: 180px;
  opacity: 0.65;
  pointer-events: none;
  transform: rotate(-8deg);
}

.motion-rails span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), rgba(213, 168, 75, 0.76), transparent);
  animation: railMove 4200ms linear infinite;
}

.motion-rails span:nth-child(1) {
  top: 20px;
}

.motion-rails span:nth-child(2) {
  top: 82px;
  animation-delay: -1200ms;
}

.motion-rails span:nth-child(3) {
  top: 144px;
  animation-delay: -2600ms;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 890px;
  margin-bottom: 20px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.7vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.hero-copy {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(16, 24, 32, 0.18);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
}

.button.gold {
  color: var(--ink);
  background: var(--gold);
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 860px;
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
}

.hero-panel div {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-size: clamp(26px, 4vw, 38px);
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.quick-info {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 24s linear infinite;
}

.ticker-track span {
  display: grid;
  min-width: 210px;
  min-height: 62px;
  place-items: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.section {
  padding: clamp(68px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 850px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 540px);
  gap: 56px;
  align-items: end;
}

.intro p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.group-section {
  padding-top: 0;
}

.group-grid,
.product-grid,
.document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.group-grid article,
.product-card,
.document-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.05);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.group-grid article {
  min-height: 220px;
  padding: 24px;
}

.group-grid article:hover,
.document-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: 0 22px 44px rgba(16, 24, 32, 0.1);
}

.group-grid span,
.product-code,
.document-grid span {
  display: inline-grid;
  min-width: 46px;
  height: 46px;
  margin-bottom: 24px;
  padding: 0 10px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.group-grid p,
.product-card p,
.product-card li,
.timeline p,
.document-grid h3 {
  color: var(--muted);
  line-height: 1.6;
}

.products,
.process {
  background: var(--white);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 24px;
}

.filter {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.filter.active {
  color: var(--white);
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  min-height: 300px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow: 0 18px 40px rgba(16, 24, 32, 0.09);
}

.product-card.is-hidden {
  display: none;
}

.product-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline li {
  min-height: 240px;
  padding: 26px;
  background: var(--white);
}

.timeline span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.documents {
  background: var(--graphite);
  color: var(--white);
}

.documents .document-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.document-grid article {
  min-height: 170px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.document-grid span {
  background: var(--gold);
  color: var(--ink);
}

.document-grid h3 {
  color: rgba(255, 255, 255, 0.84);
}

.ports {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
}

.port-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.port-grid span {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--white);
  font-weight: 900;
  text-align: center;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.85fr);
  gap: 52px;
  align-items: start;
  color: var(--white);
  background: var(--teal-dark);
}

.contact .eyebrow {
  color: #f0bd72;
}

.contact-routes {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-routes a {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 180ms var(--ease-out), background 180ms ease;
}

.contact-routes a:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.12);
}

.contact-routes span {
  color: #f0bd72;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-routes strong {
  overflow-wrap: anywhere;
}

.contact-routes em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 800;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
  outline: 0;
}

textarea {
  resize: vertical;
}

select option {
  color: var(--ink);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: #0b1117;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer a {
  font-weight: 900;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

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

@media (max-width: 1100px) {
  .site-nav {
    gap: 14px;
  }

  .brand {
    width: 270px;
  }
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-cta {
    border-color: var(--line);
  }

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

  .intro,
  .ports,
  .contact {
    grid-template-columns: 1fr;
  }

  .group-grid,
  .product-grid,
  .documents .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .port-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    width: 220px;
    height: 64px;
    max-width: 62vw;
  }

  .hero {
    min-height: 94vh;
    padding: 106px 18px 32px;
  }

  .motion-rails {
    inset: auto -30% 20% 12%;
    opacity: 0.42;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-panel,
  .group-grid,
  .product-grid,
  .documents .document-grid,
  .timeline,
  .port-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 62px 18px;
  }

  .splash-card {
    min-height: 210px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.82) rotateX(22deg);
  }
  58% {
    opacity: 1;
    transform: translateY(0) scale(1.04) rotateX(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes splashRise {
  0% {
    opacity: 0;
    transform: perspective(900px) rotateX(18deg) translateY(32px);
  }
  100% {
    opacity: 1;
    transform: perspective(900px) rotateX(0) translateY(0);
  }
}

@keyframes shineSweep {
  0% {
    transform: translateX(-45%) rotate(8deg);
  }
  100% {
    transform: translateX(45%) rotate(8deg);
  }
}

@keyframes lineLoad {
  0% {
    transform: translateX(-50%) scaleX(0);
  }
  100% {
    transform: translateX(-50%) scaleX(1);
  }
}

@keyframes pageReveal {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.09) translate3d(-18px, -8px, 0);
  }
}

@keyframes railMove {
  0% {
    transform: translateX(-35%);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    transform: translateX(35%);
    opacity: 0;
  }
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
