@font-face {
  font-family: 'Anton';
  src: url('../fonts/Anton-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/bebas_neue/BebasNeue-Regular.woff2') format('woff2');
  font-weight: 400;
}
@font-face {
  font-family: 'Gondens';
  src: url('../fonts/Gondens DEMO.otf') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'Aeromove';
  src: url('../fonts/AeromoveDemoRegular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Nippo';
  src: url('../fonts/Nippo-Bold.woff2') format('woff2');
  font-weight: 700;
}
@font-face {
  font-family: 'Paquito';
  src: url('../fonts/Paquito-Bold.woff2') format('woff2');
  font-weight: 700;
}
@font-face {
  font-family: 'Sharpie';
  src: url('../fonts/Sharpie-Bold.woff2') format('woff2');
  font-weight: 700;
}

/* Base Variables & Reset */
:root {
  --bg: #f7f5f2;
  --ink: #2d2422;
  --ink-soft: #4a3c38;
  --muted: #736e68;
  --line: rgba(15,15,15,0.10);
  --accent: #b84522;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  pointer-events: auto;
  opacity: 0;
  animation: fadeInDown 1s cubic-bezier(0.2, 0.8, 0.2, 1) 1s forwards;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-logo img {
  height: 40px;
  width: auto;
  filter: none;
}

.site-nav {
  display: flex;
  gap: 40px;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  position: relative;
  transition: opacity 0.3s;
}

.site-nav a:hover {
  opacity: 0.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.25 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

body::after {
  content: "";
  position: fixed;
  top: -20%;
  right: -15%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle at center, rgba(184,69,34,0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.glow-2 {
  position: fixed;
  bottom: -25%;
  left: -15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle at center, rgba(15,15,15,0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Vector Hero Section */
.hero-section {
  position: relative;
  width: 100vw;
  min-height: 720px;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  overflow: hidden;
  isolation: isolate;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.16) 32%, transparent 62%),
    linear-gradient(135deg, rgba(184,69,34,0.05), transparent 38%, rgba(45,36,34,0.035));
}

.hero-section::before {
  display: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 14vh;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45,36,34,0.24), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin-top: -10vh;
  will-change: transform;
}

.hero-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18% -9%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.76), rgba(255,255,255,0) 70%);
  filter: blur(8px);
  pointer-events: none;
}

.eyebrow {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Paquito', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  margin-bottom: 40px;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255,255,255,0.6);
  opacity: 0;
  animation: 
    slideDownFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
    float 6s ease-in-out infinite 0.8s;
}

.eyebrow::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine 7s linear infinite;
  pointer-events: none;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(184,69,34,0.4);
  animation: pulse 2.4s infinite;
}

.hero-section h1 {
  font-family: 'Nippo', sans-serif;
  font-weight: 700;
  font-size: clamp(68px, 13vw, 210px);
  line-height: 1.15; /* Increased from 0.92 to prevent overlap */
  letter-spacing: -0.03em;
  color: var(--ink);
  text-shadow: 0 20px 40px rgba(0,0,0,0.07);
}

.text-top,
.text-bottom {
  position: relative;
  will-change: transform, opacity;
}

/* Towing cables move with their corresponding words. */
.text-top::before,
.text-bottom::after {
  content: "";
  position: absolute;
  top: 54%;
  width: clamp(42px, 7vw, 116px);
  border-top: 3px solid rgba(45,36,34,0.72);
  box-shadow: 0 1px 5px rgba(45,36,34,0.18);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.text-top::before {
  right: calc(100% + 4px);
  width: clamp(30px, 10vw, 80px);
  transform: rotate(-3deg);
  transform-origin: right center;
}

.text-bottom::after {
  left: calc(100% + 4px);
  width: clamp(40px, 11vw, 90px);
  border-color: rgba(184,69,34,0.9);
  transform: rotate(-2deg);
  transform-origin: left center;
}

.hero-section.plane-delivered .text-top::before,
.hero-section.ship-delivered .text-bottom::after {
  opacity: 0;
}

.hero-section h1 .accent {
  font-family: 'Sharpie', sans-serif;
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.hero-section .sub {
  max-width: 650px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-top: 36px;
  margin-left: auto;
  margin-right: auto;
}

/* Vector Elements */
.vector-ship {
  position: absolute;
  top: clamp(185px, 22vh, 300px);
  bottom: auto;
  left: 82%;
  transform: translateX(-50%);
  width: clamp(560px, 64vw, 980px);
  max-width: none;
  opacity: 0.98;
  z-index: 11;
  pointer-events: none;
  filter: drop-shadow(0 -10px 30px rgba(0,0,0,0.05));
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.vector-plane {
  position: absolute;
  top: clamp(130px, 19vh, 235px);
  left: -3vw;
  width: clamp(245px, 27vw, 450px);
  opacity: 0.9;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 14px 18px rgba(45,36,34,0.16));
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

/* Animations */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(184,69,34,0.4); }
  70% { box-shadow: 0 0 0 8px rgba(184,69,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,69,34,0); }
}

@keyframes blurReveal {
  0% { opacity: 0; filter: blur(12px); transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; filter: blur(0px); transform: translateY(0) scale(1); }
}

@keyframes slideDownFade {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes shine {
  0% { left: -70%; }
  40% { left: 140%; }
  100% { left: 140%; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.mobile-only {
  display: none;
}

@media (max-width: 640px) {
  .mobile-only {
    display: block;
  }
  .hero-section {
    min-height: 620px;
    padding: 40px 16px;
  }
  .hero-section::before {
    width: 120vw;
    top: 46%;
  }
  .hero-section::after {
    bottom: 19vh;
  }
  .eyebrow {
    font-size: 14px;
    padding: 10px 22px;
    margin-bottom: 40px;
    letter-spacing: 0.12em;
  }
  .hero-section h1 {
    font-size: clamp(60px, 18vw, 96px);
    line-height: 1.02;
    letter-spacing: -0.02em;
  }
  .hero-section .sub {
    margin-top: 40px;
    padding: 0 8px;
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.35;
    letter-spacing: 0.04em;
  }
  .vector-ship {
    top: 35vh;
    bottom: auto;
    left: 98%;
    width: 110vw;
  }
  .vector-plane {
    top: 18vh;
    left: -18vw;
    width: 72vw;
  }
  .text-top::before {
    width: 12vw;
    border-top-width: 2px;
  }
  .text-bottom::after {
    width: 30vw;
    border-top-width: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}


/* Interactive Website Sections */
#interactive-content {
  position: relative;
  z-index: 20;
  background: var(--bg);
  min-height: 100vh;
  padding-bottom: 20vh;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw;
}

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

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4vw;
  padding: 5vw 0;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  flex: 1 1 300px;
  max-width: 380px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px 32px 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.service-image {
  width: 100%;
  height: 320px;
  background: transparent;
  border-radius: 8px;
  margin-bottom: 16px;
  object-fit: contain;
}

.service-card h4 {
  font-family: 'Sharpie', sans-serif;
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--ink);
}

.service-card p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.team-role {
  margin-bottom: 12px;
  color: var(--ink) !important;
  font-weight: 600;
}

.team-contact {
  font-size: 16px !important;
}

.team-contact a {
  color: inherit;
  text-decoration-color: rgba(184,69,34,0.45);
  text-underline-offset: 3px;
}

/* Contact Section */
.contact-section {
  position: relative;
  width: 100vw;
  min-height: 80vh;
  background: var(--ink); /* Dark background matching theme */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}

.contact-container {
  text-align: center;
  max-width: 600px;
  width: 100%;
  padding: 40px;
}

.contact-container h1 {
  font-family: "Nippo", sans-serif;
  font-size: clamp(40px, 5vw, 60px);
  margin-bottom: 20px;
  color: #fff;
}

.contact-container > p {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  font-family: inherit;
}

.contact-form input:focus, 
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,69,34,0.22);
}

.contact-form button {
  padding: 15px 40px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #ff9875;
  color: #000;
}

.contact-status {
  min-height: 1.5em;
  margin: 0;
  color: #fff;
  font-size: 14px;
}

@media (max-width: 640px) {
  .services-grid {
    gap: 24px;
    padding: 64px 0;
  }

  .service-card {
    padding: 28px;
  }

  .service-image {
    height: 250px;
  }
}

/* Preloader */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}
.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
