/* MRA Marine — modern company profile */
:root {
  --navy-950: #04122f;
  --navy-900: #071d49;
  --navy-800: #082880;
  --blue: #0060c0;
  --gold: #f89000;
  --paper: #f2f4f7;
  --white: #fafbfc;
  --ink: #0b162c;
  --muted: #5c677a;
  --line: rgba(8, 40, 128, .18);
  --display: "Outfit", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--display); font-size: 16px; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--gold); color: var(--navy-950); }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 18px; background: var(--gold); color: var(--navy-950); font-weight: 700; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 64px); color: var(--white); border-bottom: 1px solid rgba(250, 251, 252, .18); transition: background .35s ease, color .35s ease, transform .35s ease; }
.site-header.is-scrolled { color: var(--ink); background: rgba(242, 244, 247, .91); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .14em; }
.brand img { width: auto; height: 42px; object-fit: contain; border-radius: 0; }
.brand__wordmark strong { color: var(--gold); }
.nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); font-size: 14px; font-weight: 500; }
.nav > a:not(.nav__cta) { position: relative; white-space: nowrap; }
.nav > a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .3s ease; }
.nav > a:not(.nav__cta):hover::after { right: 0; }
.nav__cta { padding: 11px 17px; white-space: nowrap; border: 1px solid currentColor; transition: color .25s ease, background .25s ease, transform .25s ease; }
.nav__cta:hover { color: var(--navy-950); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: inherit; }
.nav-toggle span { display: block; width: 24px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .25s ease; }

.hero { position: relative; min-height: 100dvh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 4vw; padding: 118px clamp(20px, 6vw, 96px) 52px; color: var(--white); background: var(--navy-950); }
.hero__grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(250,251,252,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(250,251,252,.2) 1px, transparent 1px); background-size: 74px 74px; mask-image: linear-gradient(to right, #000 25%, transparent 80%); }
.hero__wash { position: absolute; inset: 0; background: radial-gradient(circle at 77% 38%, rgba(0,96,192,.32), transparent 34%), linear-gradient(118deg, var(--navy-950) 0 54%, #082880 54% 100%); }
.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__eyebrow { margin: 0 0 24px; color: #d9e0ed; font-family: var(--mono); font-size: clamp(10px, 1vw, 12px); letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 1180px; font-size: clamp(54px, 7vw, 112px); font-weight: 600; letter-spacing: -.065em; line-height: .88; }
.hero h1 span { color: var(--gold); }
.hero__summary { max-width: 560px; margin: 30px 0 0; color: #d4dae6; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.55; }
.hero__actions { display: flex; align-items: center; gap: 30px; margin-top: 36px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid transparent; font-weight: 600; white-space: nowrap; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(-1px) scale(.98); }
.button--gold { background: var(--gold); color: var(--navy-950); }
.button--gold:hover { background: #ffac32; }
.text-link { padding: 12px 0; color: var(--white); font-weight: 500; border-bottom: 1px solid rgba(250,251,252,.5); }
.text-link span { display: inline-block; margin-left: 8px; color: var(--gold); transition: transform .25s ease; }
.text-link:hover span { transform: translate(4px, 4px); }
.hero__media { position: relative; z-index: 2; justify-self: end; width: min(41vw, 610px); height: min(68vh, 670px); margin: 0; overflow: hidden; box-shadow: -28px 36px 0 rgba(0, 31, 112, .5); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,18,47,.9), transparent 45%); pointer-events: none; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.76) contrast(1.1); }
.hero__media figcaption { position: absolute; left: 28px; right: 28px; bottom: 25px; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.hero__media figcaption span { color: #d9e0ed; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.hero__media figcaption strong { max-width: 180px; text-align: right; font-size: 16px; font-weight: 500; }
.hero__index { position: absolute; right: 20px; bottom: 22px; z-index: 3; color: rgba(250,251,252,.62); font-family: var(--mono); font-size: 10px; line-height: 1.5; }

.proof { display: grid; grid-template-columns: repeat(3, minmax(150px, .55fr)) 2fr; min-height: 190px; background: var(--white); border-bottom: 1px solid var(--line); }
.proof > * { display: flex; flex-direction: column; justify-content: center; padding: 34px clamp(20px, 3vw, 50px); border-right: 1px solid var(--line); }
.proof__item strong { color: var(--navy-800); font-size: clamp(36px, 4vw, 62px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.proof__item span { margin-top: 11px; color: var(--muted); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.proof__statement { color: var(--navy-900); font-size: clamp(20px, 2.2vw, 32px); line-height: 1.25; border-right: 0; }

.manifesto { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: clamp(100px, 13vw, 190px) clamp(20px, 8vw, 130px); background: var(--paper); }
.manifesto__label { margin: 0 0 48px; color: var(--blue); font-family: var(--mono); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.manifesto h2 { max-width: 1280px; margin: 0; color: var(--navy-900); font-size: clamp(38px, 5.7vw, 86px); font-weight: 500; letter-spacing: -.05em; line-height: 1.06; }
.manifesto h2 .word { opacity: .13; }
.manifesto__foot { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--line); }
.manifesto__foot p { max-width: 660px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.manifesto__foot span { justify-self: end; color: var(--navy-800); font-family: var(--mono); font-size: 11px; }

.capabilities { padding: clamp(90px, 12vw, 180px) clamp(20px, 5vw, 80px); background: var(--navy-950); color: var(--white); }
.chapter-heading { display: block; max-width: 1360px; margin: 0 auto 72px; }
.chapter-heading h2 { margin: 0; max-width: 780px; color: var(--white); font-size: clamp(50px, 7vw, 104px); font-weight: 500; letter-spacing: -.055em; line-height: .96; }
.chapter-heading p { max-width: 570px; margin: 30px 0 0; color: #aeb9cc; font-size: 18px; line-height: 1.6; }
.service-stack { position: relative; max-width: 1360px; margin: 0 auto; }
.service-panel { position: sticky; top: 92px; min-height: min(70vh, 690px); display: grid; grid-template-columns: 80px minmax(300px, .85fr) minmax(420px, 1.15fr); gap: clamp(25px, 4vw, 68px); align-items: center; margin-bottom: 11vh; padding: clamp(28px, 4vw, 64px); overflow: hidden; border: 1px solid rgba(250,251,252,.13); background: #0b285e; transform-origin: center top; }
.service-panel--port { background: #092455; }
.service-panel--cargo { background: #0b326d; }
.service-panel--oil { background: #071d49; }
.service-panel__number { align-self: start; color: var(--gold); font-family: var(--mono); font-size: 13px; }
.service-panel__copy h3 { margin: 0; max-width: 500px; color: var(--white); font-size: clamp(36px, 4vw, 62px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.service-panel__copy > p { max-width: 500px; margin: 25px 0 32px; color: #c4cddd; font-size: 17px; line-height: 1.65; }
.service-panel__copy ul { margin: 0; padding: 0; list-style: none; }
.service-panel__copy li { position: relative; max-width: 480px; padding: 13px 0 13px 22px; border-top: 1px solid rgba(250,251,252,.15); color: #e8ebf1; font-family: var(--mono); font-size: 11px; }
.service-panel__copy li::before { content: ""; position: absolute; left: 0; top: 19px; width: 6px; height: 6px; border: 1px solid var(--gold); border-radius: 50%; }
.service-panel__image { height: clamp(360px, 52vh, 560px); overflow: hidden; }
.service-panel__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.08); transition: transform 1s cubic-bezier(.16,1,.3,1), filter .6s ease; }
.service-panel:hover .service-panel__image img { transform: scale(1.04); filter: saturate(.9) contrast(1.08); }

.experience { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 9vw, 150px); padding: clamp(100px, 13vw, 190px) clamp(20px, 7vw, 110px); background: var(--white); }
.experience__lead { position: sticky; top: 140px; align-self: start; }
.experience__lead > p:first-child { margin: 0 0 24px; color: var(--blue); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.experience__lead h2 { max-width: 580px; margin: 0; color: var(--navy-900); font-size: clamp(48px, 6vw, 86px); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
.experience__lead > p:last-child { max-width: 510px; margin: 32px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 84px 1fr auto; gap: 28px; align-items: start; padding: 34px 0 58px; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--gold); font-family: var(--mono); font-size: 13px; }
.timeline strong { color: var(--navy-900); font-size: 24px; font-weight: 500; }
.timeline p { max-width: 560px; margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.timeline li > span { padding: 7px 10px; color: var(--navy-800); border: 1px solid var(--line); font-family: var(--mono); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }

.partner-strip { padding: 55px 0; overflow: hidden; color: var(--white); background: var(--navy-800); }
.partner-strip > p { margin: 0 0 28px; padding: 0 clamp(20px, 5vw, 80px); color: #b7c2d6; font-family: var(--mono); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 38px; will-change: transform; }
.marquee__track span { font-size: clamp(26px, 3.1vw, 46px); font-weight: 500; white-space: nowrap; }
.marquee__track i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

.contact { position: relative; min-height: 88vh; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 8vw; overflow: hidden; padding: clamp(100px, 12vw, 175px) clamp(20px, 7vw, 110px); color: var(--white); background: var(--navy-950); }
.contact__map { position: relative; min-height: 500px; }
.contact__ring { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(248,144,0,.5); border-radius: 50%; transform: translate(-50%, -50%); }
.contact__ring--one { width: 270px; height: 270px; }
.contact__ring--two { width: 480px; height: 480px; border-color: rgba(0,96,192,.6); }
.contact__dot { position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; background: var(--gold); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 12px rgba(248,144,0,.15); }
.contact__map p { position: absolute; top: calc(50% + 28px); left: calc(50% + 28px); margin: 0; color: var(--gold); font-family: var(--mono); font-size: 20px; line-height: 1; }
.contact__map small { color: #9dabc1; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.contact__content h2 { margin: 0; color: var(--white); font-size: clamp(48px, 6.5vw, 94px); font-weight: 500; letter-spacing: -.055em; line-height: .96; }
.contact__content > p { max-width: 590px; margin: 30px 0 36px; color: #b8c2d3; font-size: 18px; line-height: 1.65; }
.contact__offices { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-top: 35px; border-top: 1px solid rgba(250,251,252,.15); color: #aeb9cc; font-style: normal; font-size: 14px; line-height: 1.7; }
.contact__offices div:last-child { justify-self: end; min-width: 330px; }
.contact__offices span { display: block; margin-bottom: 8px; color: var(--gold); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.contact__offices a { color: var(--white); border-bottom: 1px solid rgba(250,251,252,.35); }

.footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; align-items: start; padding: 58px clamp(20px, 6vw, 96px) 34px; color: var(--navy-900); background: var(--gold); }
.footer__brand { font-size: 29px; font-weight: 700; letter-spacing: -.04em; }
.footer__brand span { font-weight: 400; }
.footer p { margin: 0; font-size: 14px; line-height: 1.6; }
.footer__contact { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__contact a { width: fit-content; border-bottom: 1px solid currentColor; }
.footer__legal { grid-column: 1 / -1; margin-top: 42px !important; padding-top: 24px; border-top: 1px solid rgba(7,29,73,.3); font-family: var(--mono); font-size: 10px !important; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1.1fr .9fr; }
  .hero h1 { font-size: clamp(52px, 8.6vw, 86px); }
  .service-panel { grid-template-columns: 50px 1fr 1fr; }
  .proof { grid-template-columns: repeat(3, 1fr); }
  .proof__statement { grid-column: 1 / -1; min-height: 140px; border-top: 1px solid var(--line); }
}

@media (max-width: 767px) {
  .site-header { height: 66px; padding: 0 18px; }
  .brand img { width: auto; height: 36px; }
  .brand__wordmark { font-size: 12px; }
  .nav-toggle { position: relative; z-index: 2; display: block; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 30px; padding: 90px 24px; color: var(--white); background: var(--navy-950); font-size: 28px; transform: translateX(100%); transition: transform .45s cubic-bezier(.16,1,.3,1); }
  .nav.is-open { transform: translateX(0); }
  .nav__cta { margin-top: 12px; font-size: 16px; }
  .site-header.is-scrolled .nav { color: var(--white); }
  .hero { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 30px; padding: 102px 20px 30px; }
  .hero__wash { background: linear-gradient(to bottom, rgba(4,18,47,.62), var(--navy-950) 76%), url("assets/hero-ship.jpg") center 15% / cover no-repeat; }
  .hero__content { margin-top: auto; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); line-height: .91; }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero__summary { margin-top: 22px; font-size: 16px; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 26px; }
  .hero__media { display: none; }
  .hero__index { display: none; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof > * { min-height: 145px; padding: 25px 20px; }
  .proof__item:nth-child(2) { border-right: 0; }
  .proof__statement { grid-column: 1 / -1; min-height: 160px; font-size: 22px; }
  .manifesto { min-height: auto; padding: 105px 20px; }
  .manifesto__label { margin-bottom: 35px; }
  .manifesto h2 { font-size: clamp(37px, 11vw, 54px); }
  .manifesto__foot { grid-template-columns: 1fr; gap: 28px; margin-top: 52px; }
  .manifesto__foot span { justify-self: start; }
  .capabilities { padding: 100px 16px; }
  .chapter-heading { margin-bottom: 52px; }
  .chapter-heading h2 { font-size: clamp(47px, 13vw, 68px); }
  .service-panel { position: relative; top: auto; min-height: auto; grid-template-columns: 1fr; gap: 25px; margin-bottom: 18px; padding: 24px; }
  .service-panel__number { order: 0; }
  .service-panel__copy { order: 2; }
  .service-panel__image { order: 1; height: 290px; }
  .service-panel__copy h3 { font-size: 38px; }
  .experience { display: block; padding: 100px 20px; }
  .experience__lead { position: relative; top: auto; margin-bottom: 65px; }
  .experience__lead h2 { font-size: clamp(48px, 14vw, 68px); }
  .timeline li { grid-template-columns: 58px 1fr; gap: 16px; padding: 28px 0 40px; }
  .timeline li > span { grid-column: 2; width: fit-content; }
  .timeline strong { font-size: 21px; }
  .contact { min-height: auto; display: block; padding: 100px 20px; }
  .contact__map { min-height: 340px; transform: scale(.8); }
  .contact__ring--two { width: 390px; height: 390px; }
  .contact__content h2 { font-size: clamp(47px, 13vw, 67px); }
  .contact__offices { grid-template-columns: 1fr; gap: 30px; margin-top: 70px; }
  .contact__offices div:last-child { justify-self: start; min-width: 0; }
  .footer { grid-template-columns: 1fr; gap: 25px; padding: 48px 20px 28px; }
  .footer__legal { grid-column: 1; margin-top: 20px !important; }
}

/* Paywall — 40s preview lock */
.paywall {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.paywall.is-active {
  opacity: 1;
  pointer-events: auto;
}
.paywall__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(248,144,0,.16), transparent 42%),
    rgba(4, 18, 47, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.paywall__card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: clamp(28px, 5vw, 44px);
  color: var(--white);
  background: linear-gradient(160deg, #0b285e 0%, #04122f 100%);
  border: 1px solid rgba(250,251,252,.16);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  transform: translateY(18px) scale(.98);
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.paywall.is-active .paywall__card {
  transform: translateY(0) scale(1);
}
.paywall__eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.paywall__card h2 {
  margin: 0;
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
}
.paywall__copy {
  margin: 18px 0 0;
  color: #c4cddd;
  font-size: 16px;
  line-height: 1.65;
}
.paywall__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 14px 0;
  border-top: 1px solid rgba(250,251,252,.14);
  border-bottom: 1px solid rgba(250,251,252,.14);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.paywall__meta span { color: #9dabc1; }
.paywall__meta strong { color: var(--gold); font-weight: 500; }
.paywall__cta {
  width: 100%;
  margin-top: 28px;
}
.paywall__note {
  margin: 16px 0 0;
  color: #8e9bb0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
body.paywall-locked {
  overflow: hidden;
}
body.paywall-locked .site-header,
body.paywall-locked main,
body.paywall-locked .footer {
  filter: blur(2px);
  pointer-events: none;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .manifesto h2 .word { opacity: 1; }
  .paywall,
  .paywall__card { transition: none; }
}
