/* ============================================
   Forbes Wreck — PT Nautik Recovery Asia
   Dark Oceanic Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

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

:root {
  --navy:       #020b18;
  --deep:       #041226;
  --ocean:      #07213d;
  --mid:        #0a3155;
  --teal:       #1a7a8a;
  --accent:     #4ec9d4;
  --gold:       #c8a96e;
  --gold-light: #e8c98e;
  --white:      #f0f4f8;
  --muted:      #8aa0b8;
  --border:     rgba(78, 201, 212, 0.15);
  --font-head:  'Josefin Sans', sans-serif;
  --font-body:  'Cormorant Garamond', Georgia, serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.3s;
}

#navbar.scrolled {
  background: rgba(2, 11, 24, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.6rem 3rem;
  border-bottom: 1px solid var(--border);
}

.nav-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(78, 201, 212, 0.3));
  transition: height 0.3s;
}
#navbar.scrolled .nav-logo img { height: 40px; }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.85;
  position: relative;
  padding-bottom: 4px;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy) !important;
  background: var(--accent);
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  opacity: 1 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
/* Hamburger → X when menu is open */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Language toggle ── */
.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-left: 0.75rem;
  flex-shrink: 0;
}
.lang-toggle button {
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  padding: 0.38rem 0.65rem;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.lang-toggle button:last-child { border-right: none; }
.lang-toggle button.active {
  background: var(--accent);
  color: var(--navy);
  font-weight: 600;
}
.lang-toggle button:hover:not(.active) { color: var(--accent); }

/* ============================================
   HERO
   ============================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-spline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 130%; /* extra height so parallax never shows a gap */
  top: -15%;
  pointer-events: none;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 11, 24, 0.55) 0%,
    rgba(2, 11, 24, 0.35) 40%,
    rgba(2, 11, 24, 0.80) 85%,
    var(--navy) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 2rem;
  animation: fadeUp 1.2s ease both;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic;
  color: rgba(240, 244, 248, 0.78);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-block;
}
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(78,201,212,0.25); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(240,244,248,0.4); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  animation: bounce 2s infinite;
}
.hero-scroll span {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-scroll svg { color: var(--accent); }

/* ============================================
   SECTION BASE
   ============================================ */
section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section-divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 2.5rem;
}

.section-text {
  font-size: 1.1rem;
  color: rgba(240, 244, 248, 0.78);
  line-height: 1.8;
  max-width: 680px;
}

/* ============================================
   STORY SECTION
   ============================================ */
#story { background: var(--navy); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story-text .section-text { max-width: 100%; }
.story-text p + p { margin-top: 1.2rem; }
.story-p-dramatic {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-top: 1.6rem !important;
  margin-bottom: 0.2rem;
}

.story-images {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.story-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.story-image-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 2px;
  filter: brightness(0.88) saturate(0.85);
  transition: filter 0.3s, transform 0.3s;
}
.story-image-wrap img:hover {
  filter: brightness(1) saturate(1);
  transform: scale(1.02);
}
.story-image-wrap--second img {
  height: auto;
  object-fit: contain;
  filter: brightness(0.9) saturate(0.85);
  transition: filter 0.3s, transform 0.3s;
}
.story-image-wrap--second img:hover {
  filter: brightness(1) saturate(1);
}
.story-image-wrap::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  pointer-events: none;
  z-index: -1;
}
.story-image-wrap--second::before { display: none; }

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* ============================================
   TIMELINE (used in Recovery)
   ============================================ */
#recovery { background: var(--deep); }

.timeline {
  position: relative;
  margin-top: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  position: relative;
  padding-left: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 6px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.timeline-year {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 2px;
}
.timeline-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.timeline-body p {
  font-size: 1rem;
  color: rgba(240, 244, 248, 0.72);
  line-height: 1.75;
}

.recovery-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}
.recovery-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 2px;
  filter: brightness(0.8) saturate(0.75);
  transition: filter 0.3s, transform 0.3s;
}
.recovery-images img:hover { filter: brightness(1) saturate(1); transform: scale(1.02); }

/* ============================================
   COINS SECTION
   ============================================ */
#coins { background: var(--navy); }

/* ---- Coins intro — cinematic hero ---- */
.coins-intro {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  overflow: hidden;
  border-radius: 3px;
}

/* Left-to-right gradient: solid navy fades to transparent so coins show through */
.coins-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    var(--navy)            28%,
    rgba(2, 11, 24, 0.90)  46%,
    rgba(2, 11, 24, 0.55)  62%,
    rgba(2, 11, 24, 0.10)  80%,
    transparent            100%
  );
  z-index: 1;
  pointer-events: none;
}

.coins-intro-bg-img {
  position: absolute;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 64%;
  z-index: 0;
  pointer-events: none;
}

.coins-intro-bg-img img {
  width: 100%;
  height: auto;
  /* drop-shadow respects PNG transparency — halos around the actual coins */
  filter:
    drop-shadow(0 24px 60px rgba(0, 0, 0, 0.75))
    drop-shadow(0  0  50px rgba(78, 201, 212, 0.07));
}

.coins-intro-text {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 3.5rem 0;
}

.coins-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.coin-feature {
  background: rgba(7, 33, 61, 0.6);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.5rem;
}
.coin-feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.coin-feature h4 {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.coin-feature p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.coins-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}
.coin-card {
  background: var(--ocean);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.coin-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.coin-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter 0.3s;
}
.coin-card:hover img { filter: brightness(1.05); }
.coin-card-body { padding: 1rem; }
.coin-card-body h4 {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.coin-card-body span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Purchase block */
.purchase-block {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--mid) 100%);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.purchase-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(78,201,212,0.06) 0%, transparent 70%);
}
.purchase-block h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.purchase-block p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  position: relative;
}
.purchase-block .btn { position: relative; font-size: 0.8rem; padding: 1rem 2.5rem; margin-bottom: 2rem; }
.purchase-note {
  margin-top: 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  position: relative;
}

/* ============================================
   SHIP SECTION
   ============================================ */
#ship {
  background: var(--deep);
  position: relative;
  overflow: hidden;
}

.ship-drawing-bg {
  position: absolute;
  top: 8%;
  right: -4%;
  width: 58%;
  max-width: 820px;
  opacity: 0.13;
  pointer-events: none;
  filter: drop-shadow(0 0 60px rgba(78, 201, 212, 0.18));
  z-index: 0;
}

.ship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ship-specs {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.spec-key {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-val {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  text-align: right;
}

.ship-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 280px 240px 220px;
  gap: 1.5rem;
}
.ship-mosaic img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 2px;
  filter: brightness(0.82) saturate(0.8);
  transition: filter 0.3s;
}
.ship-mosaic img:hover { filter: brightness(1) saturate(1); }

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact { background: var(--navy); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.contact-info p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 36px; height: 36px;
  background: rgba(78, 201, 212, 0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  padding: 8px;
}
.contact-detail-icon svg {
  width: 100%; height: 100%;
  display: block;
}
.contact-detail-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.contact-detail-text strong {
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}
.contact-detail-text span {
  font-size: 0.97rem;
  color: var(--white);
  line-height: 1.3;
}

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(7, 33, 61, 0.7);
  border: 1px solid rgba(78, 201, 212, 0.2);
  border-radius: 2px;
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(138, 160, 184, 0.5); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(78, 201, 212, 0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select option { background: var(--deep); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  text-align: center;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-logo img {
  height: 48px;
  margin: 0 auto 1.5rem;
  filter: brightness(0.7);
}
.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  list-style: none;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.85rem;
  color: rgba(138, 160, 184, 0.5);
}
.footer-copy a { color: rgba(138, 160, 184, 0.5); }
.footer-copy a:hover { color: var(--accent); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  #navbar { padding: 1rem 1.5rem; }
  #navbar.scrolled { padding: 0.6rem 1.5rem; }

  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(2, 11, 24, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    z-index: 999;
    padding: 4.5rem 2rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open li:first-child { border-top: 1px solid var(--border); }
  .nav-links.open a {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.22em;
    padding: 1.1rem 0;
    opacity: 1;
    color: var(--light);
  }
  .nav-links.open a:hover,
  .nav-links.open a.active { color: var(--accent); }
  .nav-links.open a::after { display: none; }
  /* Show CTA inside mobile menu */
  .nav-links.open .nav-cta {
    display: block;
    margin-top: 1rem;
    padding: 0.9rem 2.5rem;
    font-size: 0.75rem;
    border-top: none !important;
    background: var(--accent);
    color: var(--navy) !important;
    border-radius: 2px;
    width: auto;
  }
  .nav-links.open .nav-cta:hover { background: #7dd8e0 !important; }

  /* Hide desktop nav-cta (the one outside nav-links) */
  #navbar > .nav-cta { display: none; }
  .nav-cta { display: none; }

  .nav-toggle { display: flex; z-index: 1001; }

  /* Mobile lang toggle — smaller, tuck it next to hamburger */
  .lang-toggle { margin-left: 0.5rem; }
  .lang-toggle button { padding: 0.35rem 0.5rem; font-size: 0.55rem; }

  .story-grid, .ship-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .coins-intro { min-height: 420px; }
  .coins-intro-bg-img { width: 75%; right: -2rem; opacity: 0.5; }
  .coins-intro-text { max-width: 100%; }
  .story-image-wrap::before { display: none; }
  .story-image-wrap img { height: 260px; }
  .story-image-wrap--second img { height: auto; }

  .ship-mosaic { grid-template-rows: 200px 180px 160px; }

  .recovery-images { grid-template-columns: 1fr 1fr; }
  .coins-gallery { grid-template-columns: 1fr 1fr; }
  .artifact-gallery { grid-template-columns: 1fr 1fr; }

  section { padding: 4rem 1.5rem; }
  .purchase-block { padding: 2.5rem 1.5rem; }
}

@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .story-stats { grid-template-columns: 1fr; }
  .coins-features { grid-template-columns: 1fr; }
  .coins-gallery { grid-template-columns: 1fr; }
  .recovery-images { grid-template-columns: 1fr; }
  .ship-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.25rem; }
  .artifact-gallery { grid-template-columns: 1fr; }
  .modal-artifact { grid-template-columns: 1fr; }
  .coin-3d-viewer { height: 260px; }
}

/* ============================================
   TIMELINE IMAGES
   ============================================ */
.timeline-images {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.timeline-images--2 { grid-template-columns: 1fr 1fr; }
.timeline-images--3 { grid-template-columns: 1fr 1fr 1fr; }

.timeline-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
  filter: brightness(0.82) saturate(0.8);
  transition: filter 0.3s;
}
.timeline-images img:hover { filter: brightness(1) saturate(1); }

@media (max-width: 700px) {
  .timeline-images--2,
  .timeline-images--3 { grid-template-columns: 1fr; }
  .timeline-images img { height: 180px; }
}

/* ============================================
   ARTIFACTS SECTION
   ============================================ */
#artifacts { background: var(--ocean); }

.artifact-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.artifact-card {
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
}
.artifact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
  border-color: rgba(78, 201, 212, 0.4);
}

.artifact-img-wrap {
  background: radial-gradient(ellipse at center, #0d2240 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  overflow: hidden;
  padding: 1.5rem;
}
.artifact-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.6));
}
.artifact-card:hover .artifact-img-wrap img { transform: scale(1.04); }

.artifact-card-body {
  padding: 1.25rem 1.25rem 1rem;
}
.artifact-card-body h4 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.artifact-card-body span {
  font-size: 0.9rem;
  color: var(--accent);
  font-family: var(--font-head);
  letter-spacing: 0.05em;
}
.artifact-card-hint {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.6rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.artifact-card:hover .artifact-card-hint { opacity: 1; }

/* ============================================
   COINS SECTION — UPDATES
   ============================================ */

.coins-gallery-label {
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 3rem;
}

.coin-card--clickable {
  cursor: pointer;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.coin-card--clickable:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
  border-color: rgba(78, 201, 212, 0.4);
}
.coin-card--clickable img {
  background: var(--navy);
  object-fit: cover !important;
  height: 280px !important;
  padding: 0;
}

.coin-card--clickable {
  background: var(--navy);
}

/* Silbermünze 2 — force navy background like all other cards */
.coin-card--clickable img.coin-img--light {
  background: var(--navy) !important;
}

.coin-card-click-hint {
  position: absolute;
  inset: 0;
  background: rgba(2, 11, 24, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}
.coin-card--clickable:hover .coin-card-click-hint { opacity: 1; }
.coin-card-click-hint span {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(2,11,24,0.8);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
}

/* ============================================
   MODAL
   ============================================ */
body.modal-open { overflow: hidden; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
  animation: modalFadeIn 0.25s ease;
}
.modal-overlay[hidden] { display: none; }

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 3px;
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 1rem 1rem 0 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(2,11,24,0.9);
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s;
}
.modal-close:hover { background: var(--teal); border-color: var(--teal); }

.modal-content-area { padding: 1.5rem 2rem 2.5rem; clear: both; }

/* Artifact modal layout */
.modal-artifact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.modal-artifact-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-artifact-image {
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 1.5rem;
}
.modal-artifact-image img {
  width: 100%;
  object-fit: contain;
  max-height: 340px;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.7));
}

.modal-artifact-underwater {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.modal-underwater-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.5rem 0.75rem 0.4rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.modal-artifact-underwater img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.modal-artifact-info .modal-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0.5rem 0 0.25rem;
  line-height: 1.2;
}
.modal-date-badge {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}
.modal-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 1.25rem 0;
}
.modal-specs-grid {
  border-top: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.modal-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}
.modal-spec-key {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.modal-spec-val {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  text-align: right;
}
.modal-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(240,244,248,0.72);
  line-height: 1.75;
}

/* Coin modal layout */
.modal-coin-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.modal-coin-header .modal-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.modal-coin-header .modal-date-badge { font-size: 0.7rem; }

/* 3D coin viewer */
.coin-3d-viewer {
  position: relative;
  width: 100%;
  height: 340px;
  margin-bottom: 1.75rem;
  border-radius: 4px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #0d2a45 0%, var(--navy) 100%);
  cursor: grab;
}
.coin-3d-viewer:active { cursor: grabbing; }
.coin-3d-viewer canvas { display: block; }
.coin-3d-hint {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.modal-coin-face-label {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 0.6rem;
  border-bottom: 1px solid var(--border);
  background: rgba(7,33,61,0.5);
}
.modal-coin-face img {
  width: 100%;
  object-fit: contain;
  max-height: 280px;
  padding: 1rem;
}

.modal-coin-specs {
  border-top: 1px solid var(--border);
}
.modal-coin-specs-title {
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}
.modal-coin-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

@media (max-width: 640px) {
  .artifact-gallery { grid-template-columns: 1fr; }
  .modal-artifact { grid-template-columns: 1fr; }
  .coin-3d-viewer { height: 260px; }
  .modal-coin-specs-grid { grid-template-columns: 1fr; }
  .modal-content-area { padding: 1rem 1.25rem 2rem; }
}

