/* ==========================================================================
   Crwe Select — yacht & maritime crew placement landing page
   Scoped to .cs-landing. Other templates keep the Noto Simple styling.
   ========================================================================== */

.cs-landing {
  --white: #ffffff;
  --cool: #f6f8fa;
  --steel: #e6edf3;
  --steel-2: #d4dfe8;
  --ink: #0c2232;
  --ink-2: #143349;
  --ink-3: #1d4259;
  --slate: #5b7183;
  --cyan: #00a6c4;
  --cyan-2: #008da7;
  --cyan-soft: #ddf2f6;
  --rule: #d9e2ea;
  --rule-light: rgba(246, 248, 250, 0.16);

  --display: "Chivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r: 6px;
  --r-lg: 14px;
  --shadow: 0 18px 40px -24px rgba(12, 34, 50, .4);

  --wrap: 1220px;
  --gutter: 24px;

  background: var(--cool);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .cs-landing { overflow-x: hidden; }
}

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

.cs-landing img { max-width: 100%; height: auto; display: block; }
.cs-landing p { margin: 0; }

.cs-landing h1,
.cs-landing h2,
.cs-landing h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin: 0;
  color: var(--ink);
}

.cs-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.cs-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 3px;
  background: var(--cyan-soft); color: var(--cyan-2);
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.cs-tag--light { background: rgba(246,248,250,.12); color: #8fd6e4; }

/* ---------- Buttons ---------- */
.cs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: var(--r);
  font-family: var(--body);
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .17s ease, color .17s ease, border-color .17s ease;
}
.cs-btn--cyan { background: var(--cyan); color: #fff; }
.cs-btn--cyan:hover { background: var(--cyan-2); color: #fff; }
.cs-btn--ink { background: var(--ink); color: var(--cool); }
.cs-btn--ink:hover { background: var(--ink-2); color: var(--cool); }
.cs-btn--cool { background: var(--cool); color: var(--ink); }
.cs-btn--cool:hover { background: #fff; color: var(--ink); }
.cs-btn--line { border-color: var(--rule); color: var(--ink); }
.cs-btn--line:hover { border-color: var(--ink); }
.cs-btn--line-light { border-color: var(--rule-light); color: var(--cool); }
.cs-btn--line-light:hover { border-color: var(--cool); }
.cs-btn--sm { padding: 11px 20px; font-size: 14px; }
.cs-btn--block { width: 100%; }

/* ---------- Utility bar ---------- */
.cs-util {
  background: var(--ink); color: rgba(246,248,250,.82);
  font-size: 13px; padding: 10px 0;
}
.cs-util__inner { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: center; }
.cs-util strong { color: var(--cyan); font-weight: 600; }

/* ---------- Header ---------- */
.cs-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 248, 250, .95);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.cs-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; height: 76px; }
.cs-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.cs-logo__mark {
  width: 38px; height: 38px; flex: none; border-radius: var(--r);
  background: var(--ink); color: var(--cyan);
  display: grid; place-items: center;
}
.cs-logo__name {
  font-family: var(--display); font-size: 21px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.04em; line-height: 1;
}
.cs-logo__sub {
  display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--slate); margin-top: 5px;
}
.cs-nav { display: flex; gap: 28px; }
.cs-nav a { font-size: 14.5px; font-weight: 500; color: var(--slate); text-decoration: none; }
.cs-nav a:hover { color: var(--cyan-2); }

/* ---------- Hero ---------- */
.cs-hero { position: relative; padding: 80px 0 0; overflow: hidden; }
.cs-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .5;
  mask-image: radial-gradient(ellipse 65% 55% at 75% 25%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 75% 25%, #000 0%, transparent 72%);
  pointer-events: none;
}
.cs-hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 54px; align-items: center;
}
.cs-hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); margin: 22px 0 0; }
.cs-hero h1 span { color: var(--cyan-2); }
.cs-hero__lede { font-size: 18.5px; color: var(--slate); max-width: 48ch; margin-top: 22px; }
.cs-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cs-hero__micro {
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--rule);
  font-size: 13.5px; color: var(--slate);
  display: flex; flex-wrap: wrap; gap: 8px 26px;
}
.cs-hero__micro strong { color: var(--ink); font-weight: 600; }

/* Vacancies card */
.cs-board {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.cs-board__head {
  background: var(--ink); color: var(--cool);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.cs-board__head strong { font-family: var(--display); font-size: 16px; font-weight: 700; }
.cs-board__live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: rgba(246,248,250,.7);
}
.cs-board__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); flex: none;
}
.cs-board__list { list-style: none; margin: 0; padding: 0; }
.cs-board__list li { padding: 18px 24px; border-bottom: 1px solid var(--rule); }
.cs-board__list li:last-child { border-bottom: 0; }
.cs-board__role {
  font-family: var(--display); font-size: 17px; font-weight: 700;
  color: var(--ink); margin-bottom: 5px;
}
.cs-board__meta { font-size: 13.5px; color: var(--slate); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.cs-board__foot { padding: 18px 24px; background: var(--steel); }

/* ---------- Audience split ---------- */
.cs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cs-panel {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: 40px 36px; display: flex; flex-direction: column;
}
.cs-panel--dark { background: var(--ink); border-color: var(--ink); color: rgba(246,248,250,.74); }
.cs-panel--dark h3 { color: var(--cool); }
.cs-panel--dark li { color: rgba(246,248,250,.82); }
.cs-panel h3 { font-size: 26px; margin: 16px 0 12px; }
.cs-panel p { color: var(--slate); font-size: 16px; }
.cs-panel--dark p { color: rgba(246,248,250,.7); }
.cs-panel ul { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 11px; flex: 1; }
.cs-panel li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--ink); }
.cs-panel li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 10px; height: 2px; background: var(--cyan);
}

/* ---------- Sections ---------- */
.cs-section { padding: 96px 0; }
.cs-section--steel { background: var(--steel); }
.cs-section--ink { background: var(--ink); color: rgba(246,248,250,.74); }
.cs-section--ink h2, .cs-section--ink h3 { color: var(--cool); }

.cs-head { max-width: 720px; margin-bottom: 54px; }
.cs-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.cs-head h2 { font-size: clamp(2rem, 3.8vw, 2.95rem); margin: 18px 0 16px; }
.cs-head p { font-size: 18px; color: var(--slate); }
.cs-section--ink .cs-head p { color: rgba(246,248,250,.68); }

/* ---------- Departments ---------- */
.cs-depts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cs-dept {
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.cs-dept:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.cs-dept__icon {
  width: 44px; height: 44px; border-radius: var(--r);
  background: var(--cyan-soft); color: var(--cyan-2);
  display: grid; place-items: center; margin-bottom: 18px;
}
.cs-dept h3 { font-size: 19px; margin-bottom: 10px; }
.cs-dept ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.cs-dept li { font-size: 14.5px; color: var(--slate); }

/* ---------- Vacancies table ---------- */
.cs-table-wrap { border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.cs-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cs-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cs-table th, .cs-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--rule); }
.cs-table thead th {
  background: var(--steel);
  font-family: var(--body); font-size: 11.5px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--slate);
}
.cs-table tbody th { font-weight: 600; color: var(--ink); font-family: var(--display); font-size: 16px; }
.cs-table td { color: var(--slate); }
.cs-table td.cs-pkg { color: var(--cyan-2); font-weight: 600; white-space: nowrap; }
.cs-table tr:last-child th, .cs-table tr:last-child td { border-bottom: 0; }
.cs-vac__note { margin-top: 22px; font-size: 14.5px; color: var(--slate); text-align: center; }

/* ---------- Process ---------- */
.cs-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cs-step { border-top: 2px solid var(--cyan); padding-top: 22px; }
.cs-step__n {
  font-family: var(--display); font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; color: var(--cyan); margin-bottom: 12px;
}
.cs-step h3 { font-size: 18px; margin-bottom: 9px; }
.cs-step p { color: rgba(246,248,250,.7); font-size: 14.5px; line-height: 1.55; }

/* ---------- Compliance ---------- */
.cs-comply { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cs-comply img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
.cs-certs { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.cs-certs li { display: flex; gap: 14px; align-items: flex-start; }
.cs-certs svg { flex: none; margin-top: 3px; color: var(--cyan-2); }
.cs-certs strong { display: block; font-family: var(--display); font-size: 16.5px; color: var(--ink); margin-bottom: 2px; }
.cs-certs span { color: var(--slate); font-size: 15px; }

/* ---------- Fee notice ---------- */
.cs-notice {
  background: var(--cyan-soft); border: 1px solid #b6e4ec; border-radius: var(--r-lg);
  padding: 34px 38px;
  display: flex; gap: 20px; align-items: flex-start;
}
.cs-notice svg { flex: none; margin-top: 3px; color: var(--cyan-2); }
.cs-notice h3 { font-size: 21px; margin-bottom: 9px; }
.cs-notice p { color: #2b5c68; font-size: 16px; max-width: 76ch; }

/* ---------- FAQ ---------- */
.cs-faq { max-width: 880px; margin: 0 auto; }
.cs-faq details { border-bottom: 1px solid var(--rule); }
.cs-faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-family: var(--display); font-size: 18.5px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em;
}
.cs-faq summary::-webkit-details-marker { display: none; }
.cs-faq summary::after {
  content: ""; width: 11px; height: 11px; flex: none;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg); margin-top: -5px;
  transition: transform .2s ease;
}
.cs-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.cs-faq details p { padding: 0 0 24px; color: var(--slate); font-size: 16px; max-width: 72ch; }

/* ---------- CTA ---------- */
.cs-cta { background: var(--ink); padding: 92px 0; }
.cs-cta__box { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.cs-cta h2 { color: var(--cool); font-size: clamp(2rem, 3.8vw, 2.9rem); margin-bottom: 16px; }
.cs-cta p { color: rgba(246,248,250,.74); font-size: 17.5px; max-width: 46ch; }
.cs-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cs-contact { display: grid; gap: 18px; }
.cs-contact__row { display: flex; gap: 14px; align-items: flex-start; }
.cs-contact__row svg { flex: none; margin-top: 3px; color: var(--cyan); }
.cs-contact__row span {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(246,248,250,.5); margin-bottom: 3px;
}
.cs-contact__row a, .cs-contact__row strong { color: var(--cool); font-size: 16px; font-weight: 600; text-decoration: none; }
.cs-contact__row a:hover { color: var(--cyan); }

/* ---------- Footer ---------- */
.cs-footer { background: var(--ink-2); color: rgba(246,248,250,.58); padding: 54px 0 30px; font-size: 15px; }
.cs-footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--rule-light); }
.cs-footer .cs-logo__name { color: var(--cool); }
.cs-footer h4 {
  font-family: var(--body); font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cool); margin-bottom: 16px;
}
.cs-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cs-footer a { color: rgba(246,248,250,.66); text-decoration: none; }
.cs-footer a:hover { color: var(--cyan); }
.cs-footer__blurb { margin-top: 16px; max-width: 32ch; font-size: 14.5px; }
.cs-footer__base { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13.5px; }
.cs-footer__legal { margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: rgba(246,248,250,.4); max-width: 98ch; }
.cs-footer__credit { margin-top: 12px; font-size: 12px; color: rgba(246,248,250,.32); }
.cs-footer__credit a { color: rgba(246,248,250,.46); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .cs-hero__grid, .cs-split, .cs-comply, .cs-cta__box { grid-template-columns: 1fr; gap: 40px; }
  .cs-depts { grid-template-columns: repeat(2, 1fr); }
  .cs-steps { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .cs-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .cs-nav { display: none; }
  .cs-header__inner { height: 66px; }
  .cs-section, .cs-cta { padding: 68px 0; }
  .cs-hero { padding-top: 52px; }
  .cs-depts, .cs-steps { grid-template-columns: 1fr; }
  .cs-footer__cols { grid-template-columns: 1fr; }
  .cs-notice { flex-direction: column; gap: 14px; padding: 28px 24px; }
  .cs-hero__actions .cs-btn, .cs-cta__actions .cs-btn { flex: 1 1 100%; }

  .cs-table thead { display: none; }
  .cs-table, .cs-table tbody, .cs-table tr, .cs-table th, .cs-table td { display: block; width: 100%; }
  .cs-table tr { border-bottom: 1px solid var(--rule); padding: 10px 0; }
  .cs-table tr:last-child { border-bottom: 0; }
  .cs-table th, .cs-table td { border-bottom: 0; padding: 5px 20px; }
  .cs-table td::before {
    content: attr(data-label);
    display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: #9aabb8; margin-bottom: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-landing * { transition: none !important; }
}
