/* Traverse shipping Co., Limited — corporate stylesheet */

:root {
  --navy: #071A2B;
  --navy-2: #0D2B45;
  --navy-3: #123552;
  --gold: #D6A85F;
  --gold-hover: #c4964b;
  --gold-soft: rgba(214, 168, 95, 0.16);
  --light: #F5F7F9;
  --white: #ffffff;
  --ink: #1C2733;
  --muted: #6F7B86;
  --line: rgba(28, 39, 51, 0.1);
  --line-light: rgba(255, 255, 255, 0.12);
  --shadow: 0 10px 30px rgba(7, 26, 43, 0.08);
  --radius: 14px;
  --header-h: 76px;
  --max: 1120px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

:focus {
  outline: none;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--gold);
  color: var(--navy);
  padding: 0.65rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 26, 43, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled,
.subpage .site-header {
  background: rgba(7, 26, 43, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border-bottom-color: var(--line-light);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(7, 26, 43, 0.96);
  }
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
}

.logo:hover {
  color: var(--white);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-transform: uppercase;
}

.logo-text span:first-child {
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.logo-text span:last-child {
  font-size: 0.62rem;
  letter-spacing: 0.38em;
  color: var(--gold);
  margin-top: 0.12rem;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li + li {
  margin-left: 1.75rem;
}

.nav-list a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--gold);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: rgba(13, 43, 69, 0.55);
  cursor: pointer;
  z-index: 130;
  -webkit-appearance: none;
  appearance: none;
  color: var(--white);
}

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 18px;
}

.menu-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle-bar + .menu-toggle-bar {
  margin-top: 5px;
}

body.nav-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 45%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 20%, transparent 72%);
}

.hero-svg {
  position: absolute;
  right: -6%;
  top: 50%;
  width: min(92vw, 920px);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.95;
}

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

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--gold);
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 5.4vw, 4.15rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.45rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Sections */

.section {
  padding: 5.5rem 0;
}

.section-light {
  background: var(--white);
}

.section-soft {
  background: var(--light);
}

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

.section-intro {
  margin-bottom: 2.6rem;
}

.section h2,
.legal-wrap h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.section-navy h2,
.section-contact h2 {
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-copy p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.value-card,
.service-card,
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-card {
  padding: 1.2rem 1.25rem 1.25rem;
}

.value-card h3,
.service-card h3,
.why-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.value-card p,
.service-card p,
.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.icon-wrap {
  display: inline-flex;
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.icon-wrap svg {
  width: 100%;
  height: 100%;
}

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

.service-card {
  position: relative;
  padding: 1.7rem 1.6rem 1.6rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(7, 26, 43, 0.12);
}

.card-index {
  position: absolute;
  top: 1.35rem;
  right: 1.4rem;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.why-card {
  background: rgba(7, 26, 43, 0.28);
  border: 1px solid var(--line-light);
  box-shadow: none;
  padding: 1.7rem 1.6rem;
}

.why-card h3 {
  color: var(--gold);
  font-weight: 600;
}

.why-card p {
  color: rgba(255, 255, 255, 0.78);
}

.info-card {
  max-width: 760px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.4rem 0;
}

.info-list {
  margin: 0;
}

.info-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  padding: 1.25rem 1.8rem;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row dt {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.info-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.info-row a {
  color: var(--navy-2);
  font-weight: 600;
}

.section-contact {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}

.contact-inner {
  max-width: 640px;
}

.contact-text {
  color: rgba(255, 255, 255, 0.76);
  margin: 1rem auto 0.4rem;
}

.contact-email {
  margin: 0 0 1.8rem;
}

.contact-email a {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.section-contact .btn-primary {
  min-width: 168px;
}

/* Footer */

.site-footer {
  background: #061421;
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1.4rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr auto;
  gap: 1.5rem 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-light);
}

.footer-name {
  margin: 0 0 0.3rem;
  color: var(--white);
  font-weight: 600;
}

.site-footer p {
  margin: 0;
}

.footer-label {
  display: inline-block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}

.footer-bottom {
  padding-top: 1.15rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Legal pages */

.legal-main {
  background: var(--light);
  padding: 4.5rem 0 5rem;
}

.legal-wrap {
  max-width: 760px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.4rem 2.2rem 2.6rem;
}

.legal-wrap h1 {
  margin-bottom: 0.4rem;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.6rem;
}

.legal-wrap h2 {
  margin: 1.8rem 0 0.55rem;
  font-size: 1.15rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.legal-wrap p {
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.legal-wrap a {
  color: var(--navy-2);
  font-weight: 600;
}

/* Motion */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.7s ease forwards;
}

.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.14s; }
.reveal:nth-child(4) { animation-delay: 0.2s; }

.hero-content.reveal {
  animation-delay: 0.05s;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}

.js-ready .reveal {
  animation: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal,
  .js-ready .reveal,
  .js-ready .reveal.is-visible,
  .service-card,
  .btn {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */

@media (max-width: 980px) {
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .info-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 68px;
  }

  .header-inner {
    padding-right: 4.5rem;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    background: rgba(7, 26, 43, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open,
  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    -webkit-transform: none;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
  }

  .nav-list li + li {
    margin-left: 0;
    margin-top: 1.4rem;
  }

  .nav-list a {
    font-size: 1.15rem;
  }

  .hero {
    min-height: auto;
    padding: 5.2rem 0 4rem;
  }

  .hero-svg {
    opacity: 0.45;
    right: -28%;
    width: 130vw;
  }

  .section {
    padding: 4rem 0;
  }

  .about-grid,
  .card-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal-wrap {
    padding: 1.7rem 1.2rem 2rem;
  }

  .info-card {
    padding: 0.15rem 0;
  }

  .info-row {
    padding: 1.1rem 1.2rem;
  }
}

@media (max-width: 380px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .logo-text span:first-child {
    font-size: 0.82rem;
    letter-spacing: 0.16em;
  }

  .hero-actions {
    width: 100%;
  }

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

@media (min-width: 1800px) {
  :root {
    --max: 1200px;
  }
}

@media (min-width: 2560px) {
  :root {
    --max: 1280px;
  }
}
