/* ═══════════════════════════════════════════════════════════════
   PIONEER FOUNDATIONS TRADING SPC — pioneerfnd.com
   Design language: "Ink & Seal" — a merchant house ledger.
   Warm paper, ink typography, Omani seal-red accent.
   Type: Marcellus (display roman) · Hanken Grotesk (text & labels)
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --paper:    #F7F5F0;   /* page surface — warm white */
  --paper-2:  #EFEBE1;   /* alternate section */
  --card:     #FCFBF8;
  --sand:     #E7DFCD;   /* warm tone surface */
  --ink:      #1C1A16;   /* warm black — text & dark sections */
  --ink-2:    #252119;
  --ink-3:    #312C22;
  --soot:     #EDE9DF;   /* text on dark */
  --soot-soft:#A69E8E;   /* muted on dark */
  --ink-soft: #5A5347;   /* muted on light */
  --red:      #9E2B25;   /* Omani seal red */
  --red-hi:   #BC3A32;
  --red-deep: #741E1A;
  --red-lav:  #CE7268;   /* red for small text on dark */
  --hairline: rgba(28, 26, 22, 0.16);
  --hairline-d: rgba(237, 233, 223, 0.16);
  --serif: "Marcellus", "Times New Roman", Georgia, serif;
  --sans:  "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

/* ── Reset / base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: var(--paper); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: #C7C0B1; border-radius: 6px; border: 2px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

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

/* subtle paper grain */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 80;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 0.6rem 1.1rem;
  background: var(--red);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 14px; }

.wrap {
  width: min(1240px, 100% - clamp(2.5rem, 6vw, 7rem));
  margin-inline: auto;
}

/* ── Loader ─────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  background: var(--paper);
  transition: opacity 0.7s var(--ease-out) 0.25s, visibility 0.7s 0.25s;
}
body.loaded .loader { opacity: 0; visibility: hidden; }
.loader__text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.loader__bar {
  width: 148px;
  height: 1px;
  background: var(--hairline);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--red);
  animation: loadbar 1.2s var(--ease-out) infinite;
}
@keyframes loadbar {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(280%); }
}
.loader-ring { animation: spin 7s linear infinite; transform-origin: center; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  transition: transform 0.35s var(--ease-out), background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
  will-change: transform;
}
.btn__arrow { transition: transform 0.35s var(--ease-out); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--brass {
  background: var(--red);
  color: var(--paper);
}
.btn--brass:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(126, 30, 23, 0.6);
}

.btn--ghost {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(28, 26, 22, 0.35);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: transform 0.5s var(--ease-out), background 0.4s, box-shadow 0.4s;
}
.nav__inner {
  width: min(1240px, 100% - clamp(2rem, 6vw, 7rem));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav--solid {
  background: rgba(247, 245, 240, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav--hidden { transform: translateY(-100%); }

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
}
html.menu-open .nav__brand { color: var(--soot); }
.brand__mark { flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.24rem;
  letter-spacing: 0.02em;
}
.brand__sub {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--red);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.3s, color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__link.is-active { opacity: 1; color: var(--red); }

.nav__cta {
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 1;
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease-out);
}
.nav__cta::after { display: none; }
.nav__cta:hover {
  background: var(--red);
  color: var(--paper);
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  z-index: 120;
}
.nav__burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out), background 0.3s;
}
html.menu-open .nav__burger span { background: var(--soot); }
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 26px; }
html.menu-open .nav__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
html.menu-open .nav__burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  padding: clamp(2rem, 8vw, 4rem);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.65s var(--ease-out), visibility 0.65s;
}
html.menu-open .menu {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
}
.menu__nav { display: flex; flex-direction: column; gap: 0.4rem; }
.menu__link {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  color: var(--soot);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--hairline-d);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
.menu__link em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red-lav);
  letter-spacing: 0.15em;
}
.menu__link:hover { color: var(--red-lav); }
html.menu-open .menu__link {
  opacity: 1;
  transform: none;
  transition-delay: 0.18s;
}
html.menu-open .menu__link:nth-child(2) { transition-delay: 0.24s; }
html.menu-open .menu__link:nth-child(3) { transition-delay: 0.30s; }
html.menu-open .menu__link:nth-child(4) { transition-delay: 0.36s; }
html.menu-open .menu__link:nth-child(5) { transition-delay: 0.42s; }
.menu__meta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--soot-soft);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
html.menu-open .menu__meta { opacity: 0; animation: menuFade 0.5s 0.5s forwards; }
@keyframes menuFade { to { opacity: 1; } }

/* ═══════════════════════════════════════════════════════════
   HERO — a chart plate on paper
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(1000px 640px at 84% 26%, rgba(231, 223, 205, 0.6) 0%, transparent 62%),
    radial-gradient(760px 520px at 4% 96%, rgba(231, 223, 205, 0.55) 0%, transparent 58%),
    var(--paper);
  color: var(--ink);
  padding: calc(var(--nav-h) + 2.8rem) 0 4rem;
  overflow: hidden;
}
/* engraved plate frame */
.hero::before {
  content: "";
  position: absolute;
  inset: clamp(12px, 1.6vw, 22px);
  border: 1px solid var(--hairline);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  left: -12%;
  bottom: -30%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(231, 223, 205, 0.55) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.hero__eyebrow .dia { font-size: 0.6rem; color: var(--red); }

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 5.4vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin-bottom: clamp(1.4rem, 2.2vw, 1.9rem);
}
.hero__title em { font-style: normal; color: var(--red); }

.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line-inner {
  display: block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 1.05s var(--ease-out) var(--fd, 0s), opacity 0.9s var(--ease-out) var(--fd, 0s);
}
body.loaded .line-inner { transform: translateY(0); opacity: 1; }

.hero-fade {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease-out) var(--fd, 0s), transform 0.9s var(--ease-out) var(--fd, 0s);
}
body.loaded .hero-fade { opacity: 1; transform: none; }

.hero__lede {
  max-width: 33rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  margin-bottom: clamp(1.5rem, 2.4vw, 2.1rem);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: clamp(2.2rem, 4.5vh, 3.4rem); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(1.4rem, 3vw, 3.2rem);
  justify-content: start;
  border-top: 1px solid var(--hairline);
  padding-top: 1.3rem;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  line-height: 1.1;
  color: var(--ink);
}
.stat__num .counter { color: var(--ink); }
.stat__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.45rem;
}

/* the instrument — engraved chart on paper */
.hero__instrument {
  position: relative;
  display: flex;
  justify-content: center;
  transform: translateX(-2.5%);
}
.instrument {
  width: min(44vw, 620px);
  height: auto;
  overflow: visible;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 1.6s var(--ease-out) 0.3s, transform 1.6s var(--ease-out) 0.3s;
}
body.loaded .instrument { opacity: 1; transform: scale(1); }

.inst-arcs path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--ease-out) var(--d, 0s);
}
body.loaded .inst-arcs path { stroke-dashoffset: 0; }

.rot-slow  { animation: spin 110s linear infinite; }
.rot-med   { animation: spin 70s linear infinite; }
.rot-rev   { animation: spin-rev 55s linear infinite; }
.rot-sweep { animation: spin 26s linear infinite; }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

.node-pulse circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: nodepulse 3.2s ease-out infinite;
}
@keyframes nodepulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

.halo { transform-box: fill-box; transform-origin: center; }
.halo-1 { animation: nodepulse 3.6s ease-out infinite; }
.halo-2 { animation: nodepulse 3.6s ease-out 1.8s infinite; }

.travelers { opacity: 0; transition: opacity 1s ease 2.2s; }
body.loaded .travelers { opacity: 1; }

.port-labels { opacity: 0; transition: opacity 1.2s ease 1.6s; }
body.loaded .port-labels { opacity: 1; }

.hero__scroll {
  position: absolute;
  left: clamp(1.25rem, 3.5vw, 3.4rem);
  bottom: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  writing-mode: vertical-rl;
  transition: color 0.3s;
}
.hero__scroll:hover { color: var(--red); }
.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: var(--hairline);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--red);
  animation: scrollcue 2.2s var(--ease-out) infinite;
}
@keyframes scrollcue {
  0% { top: -40%; }
  100% { top: 110%; }
}

/* ═══════════════════════════════════════════════════════════
   TICKER
   ═══════════════════════════════════════════════════════════ */
.ticker {
  background: var(--paper-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 1.1rem 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: tick 46s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding-right: 2.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.ticker__group i { font-style: normal; font-size: 0.5rem; color: var(--red); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════════════════════
   SECTION SCAFFOLD
   ═══════════════════════════════════════════════════════════ */
.section { padding: clamp(5rem, 11vw, 9.5rem) 0; position: relative; }
.section--dark {
  background:
    radial-gradient(1000px 600px at 88% -10%, var(--ink-3) 0%, transparent 60%),
    var(--ink);
  color: var(--soot);
}

.s-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
  margin-bottom: clamp(2.8rem, 6vw, 5rem);
}
.s-head--dark { border-top-color: var(--hairline-d); }
.s-head__index {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  padding-top: 0.55rem;
  white-space: nowrap;
}
.s-head__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.s-head--dark .s-head__kicker { color: var(--soot-soft); }
.s-head__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: 0.005em;
  max-width: 20ch;
}
.s-head__title em { font-style: normal; color: var(--red); }
.s-head--dark .s-head__title em { color: var(--red-lav); }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease-out) var(--rd, 0s), transform 1s var(--ease-out) var(--rd, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════
   01 · ABOUT
   ═══════════════════════════════════════════════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: start;
}
.about__body p {
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.5rem;
  max-width: 36rem;
}
.about__body p::first-letter { color: var(--red); }

.about__quote {
  margin-top: 2.8rem;
  padding: 1.9rem 0 0;
  border-top: 1px solid var(--hairline);
}
.about__quote p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.about__quote p em { font-style: normal; color: var(--red); }
.about__quote cite {
  font-size: 0.72rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.media-stack { position: relative; padding-bottom: 3rem; }
.media-stack__main,
.media-stack__float {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 70px -34px rgba(28, 26, 22, 0.5);
}
.media-stack__main { width: 78%; aspect-ratio: 4 / 5; }
.media-stack__main img,
.media-stack__float img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; }
.media-stack__float {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--paper);
}
.media-cap {
  position: absolute;
  left: 0;
  bottom: -1.6rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

/* ═══════════════════════════════════════════════════════════
   02 · SECTORS
   ═══════════════════════════════════════════════════════════ */
.sectors { background: var(--paper-2); }

.sector-list { border-top: 1px solid var(--hairline); }

.sector-row { border-bottom: 1px solid var(--hairline); }
.sector-row > a {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 1fr 3rem;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.3rem) clamp(0.4rem, 2vw, 1.4rem);
  transition: background 0.45s var(--ease-out), padding-left 0.45s var(--ease-out);
}
.sector-row > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--red);
  transition: width 0.5s var(--ease-out);
  z-index: 0;
}
.sector-row > a > * { position: relative; z-index: 1; }
.sector-row:hover > a {
  background: rgba(158, 43, 37, 0.05);
  padding-left: clamp(1.6rem, 3vw, 2.6rem);
}
.sector-row:hover > a::before { width: 4px; }

.sector-row__idx {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  transition: color 0.3s;
}
.sector-row:hover .sector-row__idx { color: var(--red); }

.sector-row__name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.15;
  transition: transform 0.5s var(--ease-out);
}
.sector-row:hover .sector-row__name { transform: translateX(6px); }

.tag {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.34rem 0.7rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.sector-row:first-child .tag {
  border-color: rgba(158, 43, 37, 0.45);
  color: var(--red);
}

.sector-row__desc {
  display: block;
  max-width: 56ch;
  margin-top: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.sector-row:hover .sector-row__desc { color: var(--ink); }

.sector-row__arrow {
  font-size: 1.4rem;
  color: var(--ink-soft);
  text-align: right;
  transition: transform 0.45s var(--ease-out), color 0.3s;
}
.sector-row:hover .sector-row__arrow {
  transform: translateX(8px) rotate(-45deg);
  color: var(--red);
}

/* floating preview */
.preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  pointer-events: none;
  z-index: 70;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85) rotate(-3deg);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  box-shadow: 0 30px 60px -20px rgba(28, 26, 22, 0.45);
  will-change: transform;
}
.preview.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-1.5deg); }
.preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 900px) { .preview { display: none; } }

/* ═══════════════════════════════════════════════════════════
   BAND
   ═══════════════════════════════════════════════════════════ */
.band {
  position: relative;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.band__bg {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
}
.band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.65) contrast(1.02);
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(28,26,22,0.78) 0%, rgba(28,26,22,0.38) 45%, rgba(28,26,22,0.82) 100%);
}
.band .wrap { position: relative; z-index: 2; }
.band__quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.14;
  color: var(--soot);
  max-width: 22ch;
  text-shadow: 0 6px 60px rgba(28, 26, 22, 0.95), 0 2px 18px rgba(28, 26, 22, 0.85);
}
.band__quote em { font-style: normal; color: var(--red-lav); }

/* ═══════════════════════════════════════════════════════════
   03 · WHY OMAN
   ═══════════════════════════════════════════════════════════ */
.oman__lede {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 34ch;
  margin: -2rem 0 clamp(3rem, 6vw, 5rem) auto;
  text-align: right;
}
.oman__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.reason {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s;
}
.reason:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -30px rgba(28, 26, 22, 0.35);
  border-color: rgba(158, 43, 37, 0.45);
}
.reason__num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--red);
  letter-spacing: 0.2em;
}
.reason__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  margin: 1.1rem 0 0.8rem;
}
.reason__text { font-size: 0.98rem; line-height: 1.7; color: var(--ink-soft); }

/* corridor strip */
.corridor {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding: 0 clamp(0.5rem, 2vw, 1rem);
}
.corridor__line {
  position: relative;
  height: 1px;
  background: var(--hairline);
  margin-bottom: 1.4rem;
}
.corridor__line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(158, 43, 37, 0.5), transparent);
  mask: linear-gradient(90deg, transparent 5%, black 15% 85%, transparent 95%);
}
.corridor__dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(158, 43, 37, 0.18), 0 0 22px rgba(158, 43, 37, 0.7);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: corridor-run 13s linear infinite;
}
@keyframes corridor-run {
  0% { left: 0%; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.corridor__cities {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.corridor__cities .is-muscat {
  color: var(--red);
}

/* ═══════════════════════════════════════════════════════════
   04 · PROCESS
   ═══════════════════════════════════════════════════════════ */
.process { background: var(--paper-2); }

.proc__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--hairline);
}
.step {
  position: relative;
  border-right: 1px solid var(--hairline);
  padding: 0 clamp(1.2rem, 2vw, 2rem) 0.5rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.step::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 3px;
  background: var(--red);
  transition: width 0.6s var(--ease-out);
}
.step:hover::after { width: 100%; }

.step__num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 2.4rem;
}
.step__icon {
  width: 34px;
  height: 34px;
  color: var(--ink);
  margin-bottom: 1.3rem;
  transition: transform 0.5s var(--ease-out), color 0.4s;
}
.step:hover .step__icon { transform: translateY(-5px) rotate(-4deg); color: var(--red); }
.step__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
}
.step__text { font-size: 0.95rem; line-height: 1.65; color: var(--ink-soft); }

/* ═══════════════════════════════════════════════════════════
   05 · CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact__lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--soot-soft);
  max-width: 36rem;
  margin-bottom: 2.6rem;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.6rem;
}
.field { display: flex; flex-direction: column; gap: 0.55rem; }
.field--full { grid-column: 1 / -1; }
.field__label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soot-soft);
}
.field__label .opt { color: rgba(166, 158, 142, 0.6); }
.field__input {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--soot);
  background: rgba(237, 233, 223, 0.05);
  border: 1px solid var(--hairline-d);
  border-radius: 8px;
  padding: 0.95rem 1.1rem;
  transition: border-color 0.35s, background 0.35s, box-shadow 0.35s;
}
.field__input::placeholder { color: rgba(166, 158, 142, 0.55); }
.field__input:focus {
  outline: none;
  border-color: var(--red-lav);
  background: rgba(237, 233, 223, 0.08);
  box-shadow: 0 0 0 3px rgba(206, 114, 104, 0.18);
}
.field__input--area { resize: vertical; min-height: 120px; }
.field__input:user-invalid { border-color: #C96A5F; }

.contact__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.contact__note { font-size: 0.85rem; color: var(--soot-soft); max-width: 26ch; }
.contact__note a { color: var(--red-lav); border-bottom: 1px solid rgba(206, 114, 104, 0.35); transition: border-color 0.3s; }
.contact__note a:hover { border-color: var(--red-lav); }

.contact__details {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline-d);
}
.cd-item {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--hairline-d);
  transition: padding-left 0.45s var(--ease-out);
}
.cd-item:hover { padding-left: 0.6rem; }
.cd-item__label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-lav);
  margin-bottom: 0.6rem;
}
.cd-item__value {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--soot);
}
a.cd-item__value {
  display: inline-block;
  border-bottom: 1px solid rgba(206, 114, 104, 0.3);
  transition: color 0.3s, border-color 0.3s;
}
a.cd-item__value:hover { color: var(--red-lav); border-color: var(--red-lav); }
.cd-item--coords .cd-item__value {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--soot-soft);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--ink);
  color: var(--soot);
  border-top: 1px solid var(--hairline-d);
  padding: clamp(4rem, 8vw, 6.5rem) 0 2.2rem;
  position: relative;
  overflow: hidden;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
.footer .nav__brand { color: var(--soot); }
.footer__tagline {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--soot-soft);
  max-width: 38ch;
}
.footer__col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__col-title {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-lav);
  margin-bottom: 0.7rem;
}
.footer__col a {
  color: var(--soot-soft);
  font-size: 0.95rem;
  width: fit-content;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}
.footer__col a:hover { color: var(--red-lav); transform: translateX(4px); }
.footer__addr { font-size: 0.9rem; color: var(--soot-soft); line-height: 1.7; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--hairline-d);
  padding-top: 1.8rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(166, 158, 142, 0.8);
}
.footer__coords { text-transform: uppercase; }
.footer__top { color: var(--soot-soft); transition: color 0.3s; }
.footer__top:hover { color: var(--red-lav); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__instrument {
    position: absolute;
    top: 6%;
    right: -26%;
    width: 74vw;
    opacity: 0.3;
    pointer-events: none;
  }
  .instrument { width: 100%; }
  .hero__copy { position: relative; z-index: 2; max-width: 40rem; }
  .proc__grid { grid-template-columns: repeat(2, 1fr); border-left: 0; }
  .step { border-left: 1px solid var(--hairline); border-top: 1px solid var(--hairline); min-height: 0; padding-bottom: 2rem; }
}

@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .oman__grid { grid-template-columns: 1fr; }
  .oman__lede { text-align: left; margin-left: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .hero { padding-bottom: 4rem; }
  .hero::before { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.4rem; }
  .hero__scroll { display: none; }
  .sector-row > a { grid-template-columns: 1fr; gap: 0.6rem; padding-right: 1rem; }
  .sector-row__idx { order: -1; }
  .sector-row__arrow { display: none; }
  .corridor__cities { font-size: 0.54rem; gap: 0.4rem; flex-wrap: wrap; }
  .contact__form { grid-template-columns: 1fr; }
  .proc__grid { grid-template-columns: 1fr; }
  .media-stack__main { width: 100%; }
  .media-stack__float { width: 46%; }
}

@media (max-width: 540px) {
  .hero__instrument { right: -46%; width: 100vw; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .loader { display: none; }
  .line-inner, .hero-fade, .instrument, .reveal { opacity: 1 !important; transform: none !important; }
  .inst-arcs path { stroke-dashoffset: 0 !important; }
  .travelers, .node-pulse, .halo { display: none; }
  body::after { animation: none; }
  .ticker__track { animation: none; }
}
