/* =========================================================
   Captain Nemo – coming soon
   Serif: Literata (has Greek glyphs for the company name)
   ========================================================= */

:root {
  --sea: #012e3d;
  --navy: #0a1e3c;
  --white: #fff;
  --text-soft: rgba(255, 255, 255, .86);
  --serif: "Literata", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  /* flat sea tone the photo's faded edges blend into */
  background: radial-gradient(ellipse at 50% 60%, #023445 0%, var(--sea) 45%, #011c27 100%) fixed var(--sea);
  color: var(--white);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Layout ---------- */
.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto auto 1fr auto;   /* top mark · headline · ship stage · footer */
  overflow: hidden;
}
.top, .hero, .footer { position: relative; z-index: 2; }

/* darken the top for the headline + soft vignette (above photo, below text) */
.page::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 18, 28, .5) 0%, rgba(0, 18, 28, .12) 30%, rgba(0, 18, 28, 0) 50%),
    radial-gradient(ellipse at 50% 60%, transparent 50%, rgba(0, 10, 18, .4) 100%);
}

/* ---------- Ship stage ---------- */
/* The ship occupies roughly the middle third of the photo's height and
   ~36% of its width, centred at (50%, 51.5%). The photo is centred on the
   stage and scaled from the stage height, capped by the viewport width so
   the whole ship stays visible on phones. */
.stage {
  position: relative; z-index: 0;
  min-height: 220px;
}
.stage img {
  position: absolute;
  left: 50%; top: 50%;
  height: min(250%, 190vw);
  width: auto; max-width: none;
  transform: translate(-50%, -51.5%);
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
@media (min-width: 700px) {
  .stage img { height: min(250%, 120vw); }   /* ship ≈ 58% of the width at most */
}

/* ---------- Top mark ---------- */
.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  width: min(890px, 100% - 32px);
  margin: clamp(20px, 3vw, 32px) auto 0;
}
.rule {
  height: 1px;
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
.mark {
  width: clamp(72px, 8vw, 100px);
  height: auto;
  color: var(--white);
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .4));
}

/* ---------- Headline ---------- */
.hero {
  text-align: center;
  padding: clamp(28px, 6vh, 64px) 16px clamp(12px, 3vh, 32px);
}
.hero h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.6rem, 7.4vw, 6rem);
  font-variation-settings: "opsz" 72;
  line-height: 1;
  letter-spacing: -.01em;
  text-shadow: 0 2px 3px rgba(0, 0, 0, .35), 0 6px 30px rgba(0, 0, 0, .45);
}

/* ---------- Footer ---------- */
.footer {
  padding: 16px 16px 12px;
  text-align: center;
  background: linear-gradient(180deg, rgba(10, 30, 60, .72) 0%, rgba(8, 24, 50, .9) 100%);
  border-top: 1px solid rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.company p { margin: 0; }
.company-name {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .06em;
  margin-bottom: 6px !important;
}
.company-meta {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-soft);
}
.sep { margin-inline: .6em; opacity: .7; }
.company a { color: var(--white); text-decoration: none; }
.company a:hover, .company a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 2px solid #ffd479; outline-offset: 3px; }

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  .hero { padding-top: 40px; }
  .company-name { font-size: .95rem; letter-spacing: .04em; }
  .company-meta { font-size: .85rem; }
  .sep { margin-inline: .35em; }
}
