/* ===========================
   CGE SOURCING — Design tokens
   =========================== */
:root {
  --navy: #0F2A4A;
  --navy-deep: #081A2E;
  --gold: #C8954A;
  --gold-light: #E0B97D;
  --cream: #FAF7F1;
  --teal: #1B6E7C;
  --slate: #5A6472;
  --line: rgba(15, 42, 74, 0.10);
  --white: #FFFFFF;

  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "Space Mono", monospace;

  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ===========================
   Route line — signature element
   =========================== */
.route-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 50%, var(--teal) 100%);
  z-index: 100;
}

/* ===========================
   Header
   =========================== */
.site-header {
  position: sticky;
  top: 3px;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  border-radius: 4px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--navy);
  font-size: 18px;
  font-family: var(--font-display);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.logo-accent {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.55em;
  letter-spacing: 0.28em;
  margin-left: 6px;
  vertical-align: middle;
}

.main-nav {
  display: flex;
  gap: 36px;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
}

.nav-cta {
  font-size: 14px;
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
}

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

.btn-ghost {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* ===========================
   Hero
   =========================== */
.hero {
  padding: 88px 0 96px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  color: var(--navy);
}

.hero-lede {
  font-size: 18px;
  color: var(--slate);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero visual — port card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.port-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 36px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 24px 60px -20px rgba(15, 42, 74, 0.4);
}

.port-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  opacity: 0.4;
}

.port-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.port-card-row:not(:last-of-type) {
  border-bottom: 1px dashed rgba(250, 247, 241, 0.18);
}

.port-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-light);
  flex-shrink: 0;
}

.destination .port-dot {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(27, 110, 124, 0.25);
}

.port-label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
}

.port-line {
  flex: 1;
  height: 1px;
  background: rgba(250, 247, 241, 0.2);
  min-width: 24px;
}

.port-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(200, 149, 74, 0.4);
  border-radius: 3px;
  padding: 4px 10px;
}

.port-card-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(250, 247, 241, 0.55);
}

/* ===========================
   Section helpers
   =========================== */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
  max-width: 640px;
}

/* ===========================
   Brand banner
   =========================== */
.brand-banner {
  padding: 0 0 64px;
}

.brand-banner-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 60px -28px rgba(15, 42, 74, 0.35);
}

/* ===========================
   Escales (signature: route stops)
   =========================== */
.escales {
  padding: 96px 0;
  background: var(--navy);
  color: var(--cream);
  position: relative;
}

.escales h2 {
  color: var(--cream);
}

.escales-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  padding-top: 8px;
}

.escales-track::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--teal) 100%);
}

.escale-stop {
  position: relative;
  padding-top: 32px;
  text-align: left;
}

.escale-marker {
  position: absolute;
  top: -3px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy);
  box-shadow: 0 0 0 1px var(--gold);
}

.escale-stop:nth-child(2) .escale-marker {
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 0 0 6px rgba(27, 110, 124, 0.2);
}

.escale-stop h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.escale-stop p {
  font-size: 14px;
  color: rgba(250, 247, 241, 0.6);
}

.escales-note {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(250, 247, 241, 0.12);
  color: rgba(250, 247, 241, 0.75);
  font-size: 15px;
  max-width: 560px;
}

/* ===========================
   Field section (terrain photos)
   =========================== */
.field-section {
  padding: 96px 0;
}

.field-lede {
  font-size: 17px;
  color: var(--slate);
  max-width: 560px;
  margin-top: -24px;
  margin-bottom: 40px;
}

.field-img-single {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 8px;
  box-shadow: 0 24px 60px -28px rgba(15, 42, 74, 0.25);
}

/* ===========================
   Services preview
   =========================== */
.services-preview {
  padding: 96px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 36px;
}

.service-card {
  background: var(--cream);
  padding: 32px 24px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 18px 0 10px;
  line-height: 1.3;
}

.service-card p {
  font-size: 14px;
  color: var(--slate);
}

.link-arrow {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.link-arrow:hover {
  color: var(--gold);
}

/* ===========================
   Categories
   =========================== */
.categories {
  padding: 0 0 96px;
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-chip {
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1.5px solid var(--navy);
  border-radius: 100px;
  padding: 10px 22px;
  color: var(--navy);
  transition: all 0.2s ease;
}

.category-chip:hover {
  background: var(--navy);
  color: var(--cream);
}

/* ===========================
   CTA band
   =========================== */
.cta-band {
  background: var(--gold);
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.cta-band p {
  color: var(--navy-deep);
  max-width: 460px;
  opacity: 0.85;
}

.cta-band .btn-primary {
  background: var(--navy);
  color: var(--cream);
  flex-shrink: 0;
}

.cta-band .btn-primary:hover {
  background: var(--navy-deep);
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(250, 247, 241, 0.7);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250, 247, 241, 0.1);
}

.footer-brand .logo-text,
.footer-brand .logo-mark {
  color: var(--cream);
}

.footer-brand .logo-mark {
  border-color: var(--gold);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  max-width: 280px;
  color: rgba(250, 247, 241, 0.55);
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-contact a {
  font-family: var(--font-mono);
  font-size: 14px;
}

.footer-bottom {
  padding: 24px 0;
  font-size: 13px;
  color: rgba(250, 247, 241, 0.4);
}

/* ===========================
   Page header (sub-pages)
   =========================== */
.page-header {
  padding: 72px 0 48px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: var(--slate);
  max-width: 600px;
}

.page-banner {
  padding: 0 0 64px;
}

.page-banner-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 60px -28px rgba(15, 42, 74, 0.35);
}

.page-banner-img-tall {
  height: 480px;
  object-position: center 30%;
}

/* ===========================
   Services page
   =========================== */
.services-detail {
  padding: 80px 0;
}

.service-detail-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.service-detail-row:first-child {
  border-top: 1px solid var(--line);
}

.service-detail-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-top: 8px;
}

.service-detail-row h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-detail-row p {
  color: var(--slate);
  max-width: 620px;
  font-size: 16px;
}

/* ===========================
   About page
   =========================== */
.about-content {
  padding: 80px 0 96px;
}

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

.about-grid h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 18px;
  max-width: none;
}

.about-grid p {
  color: var(--slate);
  font-size: 16px;
  margin-bottom: 16px;
}

.founders {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founders-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 8px;
}

.founder-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.founder-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.founder-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.founder-card p {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.stat {
  text-align: left;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: var(--slate);
}

/* ===========================
   Contact page
   =========================== */
.contact-content {
  padding: 80px 0 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.contact-method:first-child {
  border-top: 1px solid var(--line);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 16px;
  flex-shrink: 0;
}

.contact-method h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-method a,
.contact-method span {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--teal);
}

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

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--cream);
  color: var(--navy);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
}

.contact-note {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--slate);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .escales-track { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .escales-track::before { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-row { grid-template-columns: 1fr; gap: 24px; }
  .field-img-single { height: 240px; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .header-inner { padding-top: 14px; padding-bottom: 14px; }
  .hero { padding: 56px 0 64px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-detail-row { grid-template-columns: 1fr; gap: 12px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .page-banner-img { height: 200px; }
  .page-banner-img-tall { height: 280px; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
