/* ============================================================
   Unicorn Maritime Recruitment (Lucy Masters)
   Light Maritime Theme — DROP-IN REPLACEMENT
   File: styles.css
   Polished + logo-aligned + consistent across all pages
   ============================================================ */

/* ---------- Base / Tokens ---------- */
:root{
  /* Logo-aligned palette */
  --ocean-950:#071a2a;
  --ocean-900:#08243a;
  --ocean-800:#0b3350;
  --ocean-700:#0f446b;

  --teal-800:#075c64;
  --teal-700:#0b6b74;
  --teal-600:#0f7f86;
  --teal-500:#18a1a6;

  --mist-50:#f7fbfc;
  --mist-100:#eef7f9;
  --mist-200:#dceff3;

  --gold-500:#caa24a;
  --gold-400:#d9b765;

  --text-950:#081a2a;
  --text-900:#0b1f33;
  --text-700:#345268;
  --text-600:#46667d;

  --border:#d7e6ee;

  --shadow: 0 14px 30px rgba(8, 36, 58, 0.10);
  --shadow-soft: 0 10px 20px rgba(8, 36, 58, 0.08);

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;

  --container: 1120px;

  /* Focus ring that works across the whole UI */
  --focus: 0 0 0 4px rgba(24,161,166,.22);

  /* Readability */
  --measure: 70ch; /* max line length for paragraphs */
}

/* ---------- Global resets ---------- */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text-900);
  background:
    radial-gradient(1200px 800px at 10% 0%, rgba(24,161,166,.12), transparent 55%),
    radial-gradient(900px 700px at 90% 10%, rgba(202,162,74,.10), transparent 55%),
    linear-gradient(180deg, var(--mist-50), #ffffff 35%, var(--mist-100));
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }

.container{
  width: min(var(--container), calc(100% - 48px));
  margin-inline:auto;
}

/* Better default line-length control */
.prose{ max-width: var(--measure); }

/* Better keyboard nav */
:focus-visible{
  outline: none;
  box-shadow: var(--focus);
  border-radius: 12px;
}

/* Prevent odd focus outlines on mouse click in some browsers */
a:focus-visible, button:focus-visible{ outline:none; }

/* Utility: serif anywhere (premium feel) */
.serif{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: -0.01em;
}

/* ---------- Skip link ---------- */
.skip{
  position:absolute;
  left:-9999px;
  top:10px;
}
.skip:focus{
  left:12px;
  z-index:999;
  background:#fff;
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius:12px;
  box-shadow: var(--shadow-soft);
  outline:none;
}

/* ---------- Header / Nav ---------- */
.siteHeader{
  position: sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(215,230,238,.95);
}

.headerInner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 270px;
}

.brandLogo{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.brandMark{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    radial-gradient(18px 18px at 35% 35%, rgba(255,255,255,.85), transparent 60%),
    linear-gradient(135deg, rgba(24,161,166,.95), rgba(11,107,116,.95));
  box-shadow: 0 10px 18px rgba(11,107,116,.18);
  display:grid;
  place-items:center;
  color:#fff;
  font-weight: 900;
}

.brandStack{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brandName{
  font-weight: 900;
  font-size: 15px;
  color: var(--ocean-950);
}
.brandTag{
  font-size: 12px;
  color: var(--text-600);
}

.nav{ position: relative; }

.navLinks{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}

.navLink{
  font-size: 14px;
  font-weight: 700;
  color: var(--text-700);
  padding: 10px 12px;
  border-radius: 12px;
  transition: background .12s ease, color .12s ease, transform .12s ease;
}
.navLink:hover{
  background: rgba(24,161,166,.10);
  color: var(--ocean-950);
}
.navLink:active{ transform: translateY(1px); }

.navLink.active{
  background: rgba(24,161,166,.14);
  color: var(--ocean-950);
  border: 1px solid rgba(24,161,166,.18);
}

/* Top-right CTA */
.navCta{
  margin-left: 6px;
  color:#fff !important;
  background: linear-gradient(135deg, var(--teal-600), var(--ocean-700));
  box-shadow: 0 14px 22px rgba(15,68,107,.16);
  border-radius: 999px;
  padding: 10px 14px;
}
.navCta:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(15,68,107,.20);
}
.navCta:active{ transform: translateY(0px); }

/* Mobile toggle button */
.navToggle{
  display:none;
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(215,230,238,.98);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  cursor:pointer;
}
.navToggle span{
  display:block;
  height:2px;
  width: 18px;
  margin: 4px auto;
  background: var(--text-700);
  border-radius: 2px;
}

/* ---------- Typography ---------- */
.h1{
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.03;
  margin: 12px 0 14px;
  letter-spacing:-0.02em;
  color: var(--ocean-950);
}
.h2{
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing:-0.02em;
  color: var(--ocean-950);
}
.lead{
  font-size: 18px;
  color: var(--text-700);
  line-height: 1.65;
  margin: 0 0 16px;
  max-width: var(--measure);
}
.sub{
  color: var(--text-700);
  margin: 0;
  max-width: var(--measure);
}

/* Gradient highlight words in hero */
.grad{
  background: linear-gradient(135deg, var(--teal-600), var(--ocean-700));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

/* Gold divider utility (prestige accent) */
.goldRule{
  height: 2px;
  width: 84px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(202,162,74,.25), rgba(202,162,74,.85), rgba(202,162,74,.25));
  margin: 14px 0 0;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease, opacity .12s ease;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }

.btn.primary{
  color:#fff;
  background: linear-gradient(135deg, var(--teal-600), var(--ocean-700));
  box-shadow: 0 16px 26px rgba(15,68,107,.18);
}
.btn.primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(15,68,107,.22);
}

.btn.ghost{
  color: var(--ocean-950);
  background: rgba(255,255,255,.92);
  border-color: rgba(215,230,238,.98);
  box-shadow: var(--shadow-soft);
}
.btn.ghost:hover{
  transform: translateY(-1px);
  background: #fff;
}

.btn.small{
  padding: 10px 14px;
  font-size: 13px;
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  padding: 60px 0 40px;
  overflow:hidden;
}
.heroInner{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: start;
}
.heroLeft{ padding-top: 6px; }

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24,161,166,.10);
  border: 1px solid rgba(24,161,166,.20);
  color: var(--teal-700);
  font-weight: 800;
  font-size: 13px;
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 8px 14px rgba(202,162,74,.18);
}

.heroActions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.trustRow{
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.trustItem{
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(215,230,238,.98);
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: var(--shadow-soft);
  min-width: 160px;
}
.trustBig{
  font-weight: 950;
  color: var(--ocean-950);
  margin-bottom: 4px;
}
.trustSmall{
  color: var(--text-700);
  font-size: 13px;
  line-height:1.4;
}

/* Right-side hero card */
.heroCard{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(215,230,238,.98);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 18px;
}

.miniProfile{
  display:flex;
  align-items:center;
  gap: 12px;
}

.avatar{
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 1px solid rgba(215,230,238,.98);
  box-shadow: 0 14px 24px rgba(8,36,58,.10);
  object-fit: cover;
}

.kicker{
  display:inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(202,162,74,.14);
  border: 1px solid rgba(202,162,74,.22);
  color: var(--ocean-800);
  font-weight: 900;
  font-size: 12px;
  width: fit-content;
}

.miniName{
  font-weight: 950;
  margin-top: 6px;
  color: var(--ocean-950);
}
.miniMeta{
  color: var(--text-700);
  font-size: 13px;
  margin-top: 2px;
}

.cardDivider{
  height: 1px;
  background: rgba(215,230,238,.98);
  margin: 16px 0;
}

.miniGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.miniCard{
  border: 1px solid rgba(215,230,238,.98);
  background: rgba(247,251,252,.9);
  border-radius: 16px;
  padding: 14px;
}
.miniCard h3{
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 950;
  color: var(--ocean-950);
}
.miniCard p{
  margin: 0;
  color: var(--text-700);
  font-size: 13px;
  line-height:1.55;
}

.inlineCtas{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Decorative hero glow */
.heroGlow{
  position:absolute;
  inset: -120px -120px auto -120px;
  height: 360px;
  background:
    radial-gradient(320px 240px at 20% 40%, rgba(24,161,166,.18), transparent 60%),
    radial-gradient(280px 220px at 70% 30%, rgba(202,162,74,.14), transparent 60%);
  pointer-events:none;
  filter: blur(2px);
  opacity: .9;
}

/* ---------- Sections ---------- */
.section{
  padding: 56px 0;
}

.sectionAlt{
  background: rgba(255,255,255,.55);
  border-top: 1px solid rgba(215,230,238,.65);
  border-bottom: 1px solid rgba(215,230,238,.65);
}

/* Navy authority band */
.sectionNavy{
  background:
    radial-gradient(900px 500px at 10% 20%, rgba(24,161,166,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(202,162,74,.14), transparent 60%),
    linear-gradient(180deg, var(--ocean-900), var(--ocean-800));
  color: rgba(255,255,255,.92);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sectionNavy .h2,
.sectionNavy .sub,
.sectionNavy p,
.sectionNavy .lead{
  color: rgba(255,255,255,.92);
}
.sectionNavy .sub{ color: rgba(255,255,255,.78); }

/* Headings row */
.sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.sectionHead .sub{ max-width: var(--measure); }

/* ---------- Grids / Cards ---------- */
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(215,230,238,.98);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card h3{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 950;
  color: var(--ocean-950);
}
.card p{
  margin: 0 0 14px;
  color: var(--text-700);
  line-height:1.6;
  max-width: var(--measure);
}
.card p:last-child{ margin-bottom: 0; }

/* Lists inside cards (nice defaults) */
.card ul{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text-700);
  line-height: 1.7;
}
.card li{ margin: 4px 0; }

.textLink{
  font-weight: 900;
  color: var(--teal-700);
}
.textLink:hover{ text-decoration: underline; }

/* ---------- Quotes ---------- */
.quote{
  margin: 0;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(215,230,238,.98);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.quote blockquote{
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-900);
}
.quoteName{
  display:block;
  font-weight: 950;
  color: var(--ocean-950);
}
.quoteMeta{
  display:block;
  font-size: 13px;
  color: var(--text-700);
  margin-top: 3px;
}

.centerCta{
  display:flex;
  justify-content:center;
  margin-top: 12px;
}

/* ---------- CTA band ---------- */
.ctaBand{
  padding: 42px 0;
  background:
    radial-gradient(900px 400px at 10% 30%, rgba(24,161,166,.14), transparent 60%),
    radial-gradient(900px 400px at 90% 30%, rgba(202,162,74,.12), transparent 60%),
    rgba(255,255,255,.70);
  border-top: 1px solid rgba(215,230,238,.85);
  border-bottom: 1px solid rgba(215,230,238,.85);
}
.ctaInner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.ctaButtons{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Ensure buttons look correct on navy sections */
.sectionNavy .btn.ghost{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  box-shadow: none;
}
.sectionNavy .btn.ghost:hover{
  background: rgba(255,255,255,.14);
}

/* ---------- Footer ---------- */
.siteFooter{
  padding: 24px 0;
  background: rgba(255,255,255,.70);
  border-top: 1px solid rgba(215,230,238,.95);
}
.footerInner{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footerBrand{
  font-weight: 950;
  color: var(--ocean-950);
}
.footerTag{
  color: var(--text-700);
  margin-top: 3px;
}
.footerSmall{
  color: var(--text-600);
  margin-top: 10px;
  font-size: 13px;
}

.footerLinks{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footerLinks a{
  color: var(--text-700);
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 12px;
}
.footerLinks a:hover{
  background: rgba(24,161,166,.10);
  color: var(--ocean-950);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .heroInner{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .sectionHead{ flex-direction: column; align-items: flex-start; }
  .brand{ min-width: auto; }

  /* show mobile button, turn links into dropdown */
  .navToggle{ display:inline-flex; align-items:center; justify-content:center; }
  .navLinks{
    position:absolute;
    right:0;
    top: calc(100% + 10px);
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(215,230,238,.98);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 10px;
    display:none; /* toggled by JS */
    min-width: 240px;
    flex-direction: column;
    align-items: stretch;
  }
  .navLinks a{ width: 100%; }
  .navLinks.open{ display:flex; }
  .navCta{ text-align:center; }
}

@media (max-width: 560px){
  .hero{ padding: 52px 0 34px; }
  .section{ padding: 44px 0; }
  .trustItem{ min-width: 0; width: 100%; }

  .container{
    width: min(var(--container), calc(100% - 32px));
  }
}
