:root {
  --navy: #0b1220;
  --navy-soft: #121b2e;
  --copper: #b87333;
  --copper-bright: #d48a47;
  --amber: #e8a855;
  --paper: #f5f1e8;
  --muted: #9aa3b5;
  --line: rgba(245, 241, 232, 0.14);
  --line-dark: rgba(11, 18, 32, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--navy);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4)), url("/images/port_night.jpg");
}

.num {
  font-variant-numeric: tabular-nums;
}

a {
  color: inherit;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  /*min-height: 100vh;*/
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(180deg, rgba(6, 10, 20, 0.55) 0%, rgba(6, 10, 20, 0.15) 22%, rgba(6, 10, 20, 0.05) 45%, rgba(7, 10, 18, 0.65) 78%, rgba(6, 9, 16, 0.92) 100%), url("/images/port_night.jpg");
  background-size: cover;
  background-position: center 38%;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /*padding: 26px 5vw;*/
  padding: 20px 3vw;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 4px;
  /*border: 1px solid #d4d4d4;*/
}

.brand-logo--footer {
  height: 34px;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--paper);
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links .cta-small {
  border: 1px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  opacity: 1;
}

.nav-links .cta-small:hover {
  border-color: var(--copper-bright);
  color: var(--copper-bright);
}

.nav-links .lang-switch {
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-family: "Space Grotesk", sans-serif;
  opacity: 1;
}

.nav-links .lang-switch:hover {
  border-color: var(--copper-bright);
  color: var(--copper-bright);
}

.hero-body {
  /*margin-top: auto;*/
  margin-top: 0.3rem;
  /*padding: 0 5vw 64px;*/
  padding: 0 5vw 1.5rem;
  max-width: 620px;
}

.hero-kicker {
  font-family: "Space Grotesk", sans-serif;
  color: var(--copper-bright);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  color: white;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--paper);
  opacity: 0.88;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--copper);
  color: #1a0d02;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: var(--copper-bright);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--paper);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

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

/* ---------- TICKER ---------- */

.ticker-wrap {
  border-top: 1px solid var(--line-dark);
  background: var(--navy-soft);
  padding: 0;
}

.ticker-note {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 10px 5vw 0;
}

.ticker {
  display: flex;
  overflow-x: auto;
  gap: 44px;
  padding: 14px 5vw 14px;
  scrollbar-width: none;
}

.ticker::-webkit-scrollbar {
  display: none;
}

.ticker-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.ticker-sym {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--copper-bright);
}

.ticker-price {
  font-size: 0.95rem;
}

.ticker-delta.up {
  color: #8fbf8a;
}

.ticker-delta.down {
  color: #d97a6c;
}

/* ---------- SECTIONS ---------- */

section {
  padding: 100px 5vw;
  /*max-width: 1180px;*/
  max-width: 100vw;
  text-align: center;
  /*margin: 0 auto;*/
}

.section-head {
  /*max-width: 640px;*/
  max-width: 100vw;
  margin-bottom: 56px;
}

.section-head h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--copper-bright);
}

.section-head p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* producer / buyer split */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.split-col {
  padding: 40px 40px 8px 0;
  border-bottom: 1px solid var(--line);
}

.split-col:first-child {
  border-right: 1px solid var(--line);
  padding-right: 44px;
}

.split-col:last-child {
  padding-left: 44px;
}

.split-tag {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  color: var(--copper-bright);
  margin-bottom: 12px;
}

.split-col h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--copper-bright);
}

.split-col p.desc {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 420px;
}

.split-col ul {
  list-style: none;
}

.split-col li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--paper);
  opacity: 0.9;
}

/* facts strip */

.facts {
  background: var(--navy-soft);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

#services {
  border-top: 1px solid var(--line);
}

.fact h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--copper-bright);
  margin-bottom: 10px;
}

.fact p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* closing cta */

.closing {
  text-align: left;
  border-top: 1px solid var(--line);
  background: var(--navy-soft);
  padding-left: 2rem;
}

.closing h2 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  max-width: 560px;
  margin-bottom: 30px;
  line-height: 1.32;
}

/* footer */

footer {
  border-top: 1px solid var(--line);
  padding: 40px 5vw 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

footer .brand {
  margin-bottom: 10px;
}

footer .foot-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

footer .foot-links {
  display: flex;
  gap: 26px;
  font-size: 0.85rem;
  color: var(--muted);
}

footer .foot-links a {
  text-decoration: none;
}

footer .foot-links a:hover {
  color: var(--paper);
}

@media (max-width: 760px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split-col:first-child {
    border-right: none;
    padding-right: 0;
  }

  .split-col:last-child {
    padding-left: 0;
  }

  .facts-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  section {
    /*padding: 70px 6vw;*/
    padding: 70px 0;
    /*background: var(--navy-soft);*/
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a:not(.cta-small):not(.lang-switch) {
    display: none;
  }
}

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

.grid2fr {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: auto;
}
