/* Caribbean Hotel Jobs
   Warm and direct: sunshine yellow and ink, real island photos, a sturdy
   heading font, system fonts for body text (fast on mobile data). No
   gradients, glows or decorative filler. */

@font-face {
  font-family: "Familjen Grotesk";
  src: url("../fonts/familjen-grotesk.7eb7ec31a3a1.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sun: #ffd23f;
  --sun-2: #f5c31a;
  --sun-bg: #fff7d9;
  --ink: #14181a;
  --text: #14181a;
  --text-2: #454f53;
  --text-3: #687478;
  --line: #e2e6e7;
  --line-2: #c9d1d3;
  --bg: #ffffff;
  --bg-2: #f4f6f6;
  --accent: #0a6b66;
  --accent-hover: #075450;
  --accent-bg: #e6f2f1;
  --good: #1b6f39;
  --good-bg: #e6f4ea;
  --warn: #7a5000;
  --warn-bg: #fff3d1;
  --bad: #b42318;
  --bad-bg: #fdecea;
  --focus: 0 0 0 3px rgba(10, 107, 102, 0.3);
  --r: 6px;
  --wrap: 1080px;
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; font-weight: 700; }
h1, h2 { font-family: var(--font-head); letter-spacing: -0.01em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
@media (max-width: 640px) { h1 { font-size: 1.6rem; } h2 { font-size: 1.3rem; } }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 720px; }
.mid { max-width: 880px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--text); color: #fff; padding: 8px 14px; border-radius: var(--r); z-index: 100; }
.skip-link:focus { top: 8px; }

.icon { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.icon-sm { width: 15px; height: 15px; vertical-align: -2px; }
.muted { color: var(--text-3); }
.small { font-size: .875rem; }
.tiny { font-size: .8rem; }
.strong { font-weight: 650; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 16px; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 40px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
@media (max-width: 640px) { .hide-sm { display: none !important; } }
@media (min-width: 641px) { .show-sm { display: none !important; } }

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 16px;
  font: inherit; font-size: .95rem; font-weight: 600; line-height: 1;
  color: var(--text); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: var(--r);
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--bg-2); text-decoration: none; }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #2d3437; border-color: #2d3437; color: #fff; }
.btn-sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-2); border-color: var(--sun-2); }
.btn-dark { background: var(--text); border-color: var(--text); color: #fff; }
.btn-dark:hover { background: #2b3235; color: #fff; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--bg-2); }
.btn-danger { color: var(--bad); border-color: #efc2bd; }
.btn-danger:hover { background: var(--bad-bg); }
.btn-whatsapp { color: #0b6b3a; border-color: #b9dcc6; }
.btn-whatsapp:hover { background: #ebf7ef; }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 1rem; }
.btn-sm { min-height: 32px; padding: 0 10px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; padding: 0; }
.btn-icon.btn-sm { width: 32px; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--text-2); font-size: .95rem; font-weight: 500; padding: 6px 10px; border-radius: var(--r); }
.nav a:hover { color: var(--text); background: var(--bg-2); text-decoration: none; }
.nav a.active { color: var(--text); font-weight: 650; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; }
@media (max-width: 820px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { gap: 12px; }
}
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 6px 20px 12px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 0; color: var(--text); border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav a:last-child { border-bottom: 0; }

.bell { position: relative; }
.bell .count { position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--bad); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; }

.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: .82rem; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 72px; height: 72px; font-size: 1.4rem; }

.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; border-radius: 50%; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:focus-visible { box-shadow: var(--focus); outline: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; z-index: 60; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); padding: 6px; }
.menu-panel .menu-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-size: .9rem; }
.menu-panel a, .menu-panel button { display: block; width: 100%; padding: 8px 10px; border-radius: 4px; color: var(--text); font: inherit; font-size: .93rem; background: none; border: 0; cursor: pointer; text-align: left; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--bg-2); text-decoration: none; }

/* Flash messages */
.flash { border-bottom: 1px solid var(--line); background: var(--good-bg); color: #13502a; }
.flash.error { background: var(--bad-bg); color: #7a1b12; }
.flash.info, .flash.warning { background: var(--bg-2); color: var(--text); }
.flash .wrap { display: flex; gap: 10px; align-items: center; padding-block: 11px; font-size: .95rem; }
.flash button { margin-left: auto; background: none; border: 0; color: inherit; opacity: .7; cursor: pointer; padding: 4px; font: inherit; }

/* Search ---------------------------------------------------------------- */
.page-top { padding: 32px 0 8px; }
.page-top h1 { margin-bottom: 4px; }
.page-top .lede { color: var(--text-2); margin: 0 0 20px; }
.search { display: flex; gap: 8px; flex-wrap: wrap; }
.search .q { flex: 2 1 200px; }
.search .where { flex: 1 1 150px; }
.search .btn { flex: 0 0 auto; min-height: 46px; padding: 0 22px; }
.search input, .search select { min-height: 46px; }
@media (max-width: 640px) { .search .btn { width: 100%; } }

.chips { display: flex; gap: 6px; margin: 14px 0 0; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .88rem; color: var(--text); background: var(--bg); white-space: nowrap; }
.chip:hover { background: var(--bg-2); text-decoration: none; }
.chip.on { background: var(--text); border-color: var(--text); color: #fff; }

/* Job list -------------------------------------------------------------- */
.section { padding: 28px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.section-head h2 { margin: 0; }
.count { color: var(--text-3); font-weight: 400; }

.jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.job { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 18px 6px; border-bottom: 1px solid var(--line); }
.job:hover { background: #fbfbf8; }
.job.featured { background: var(--sun-bg); }
.job-main { min-width: 0; }
.job-title { font-size: 1.08rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.job-title::after { content: ""; position: absolute; inset: 0; }
.job-title:hover { text-decoration: none; }
.job:hover .job-title { text-decoration: underline; text-underline-offset: 3px; }
.job-meta { color: var(--text-2); font-size: .92rem; margin-top: 3px; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.job-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-meta .icon { width: 15px; height: 15px; color: var(--text-3); }
.perks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.perk { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 600; color: #0b5652; background: var(--accent-bg); padding: 3px 8px; border-radius: 4px; }
.perk .icon { width: 14px; height: 14px; }
.job-right { text-align: right; font-size: .9rem; }
.job-pay { font-weight: 700; font-size: 1rem; color: var(--text); white-space: nowrap; }
.job-when { color: var(--text-3); font-size: .82rem; white-space: nowrap; margin-top: 2px; }
.tag-featured { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--ink); background: var(--sun); padding: 2px 7px; border-radius: 4px; vertical-align: 2px; margin-left: 8px; }
.tag-new { color: #b8410e; font-weight: 700; }
@media (max-width: 640px) {
  .job { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; }
  .job-right { grid-column: 2; text-align: left; display: flex; gap: 10px; align-items: baseline; margin-top: 6px; }
}

.logo { width: 52px; height: 52px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; overflow: hidden; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.2rem; flex: none; }
.logo.l0 { background: #ffe9a3; border-color: #ffe9a3; }
.logo.l1 { background: #cdeae7; border-color: #cdeae7; }
.logo.l2 { background: #ffd5c7; border-color: #ffd5c7; }
.logo.l3 { background: #d9e6ff; border-color: #d9e6ff; }
.logo.l4 { background: #dff0d4; border-color: #dff0d4; }
.logo.l5 { background: #eee3f7; border-color: #eee3f7; }
.logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.logo.sm { width: 32px; height: 32px; font-size: .8rem; }
.logo.lg { width: 64px; height: 64px; font-size: 1.4rem; }
@media (max-width: 640px) { .job .logo { width: 44px; height: 44px; } }

.empty { padding: 32px 0; color: var(--text-2); }
.empty h3 { color: var(--text); }

.link-columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; list-style: none; padding: 0; margin: 0; }
.link-columns a { display: block; padding: 6px 0; color: var(--text); }
.link-columns a:hover { color: var(--accent); }
.link-columns .n { color: var(--text-3); font-size: .85rem; }

.employer-strip { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.employer-strip p { margin: 0; color: var(--text-2); }

/* Search page layout */
.search-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 20px 0 56px; align-items: start; }
@media (max-width: 900px) { .search-layout { grid-template-columns: 1fr; gap: 12px; } }
.filters { position: sticky; top: calc(var(--header-h) + 16px); font-size: .93rem; }
.filters h4 { font-size: .85rem; font-weight: 650; margin: 18px 0 6px; }
.filters h4:first-of-type { margin-top: 0; }
.check { display: flex; gap: 8px; align-items: center; padding: 3px 0; cursor: pointer; color: var(--text-2); }
.check:hover { color: var(--text); }
.check input { width: 16px; height: 16px; }
.filter-toggle { display: none; }
@media (max-width: 900px) {
  .filters { position: static; }
  .filter-toggle { display: inline-flex; }
  .js .filters:not(.open) .filter-body { display: none; }
  .filters .filter-body { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-top: 8px; }
}
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.sort { width: auto; min-height: 34px; padding: 4px 30px 4px 10px; font-size: .88rem; }

.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r); color: var(--text); font-size: .9rem; }
.pagination a:hover { background: var(--bg-2); text-decoration: none; }
.pagination .current { background: var(--text); color: #fff; border-color: var(--text); }

.breadcrumbs { font-size: .85rem; color: var(--text-3); margin-bottom: 12px; }
.breadcrumbs a { color: var(--text-3); }
.breadcrumbs .sep { margin: 0 6px; }

/* Job page -------------------------------------------------------------- */
.job-page { padding-block: 24px 64px; }
.job-header { display: flex; gap: 16px; align-items: flex-start; }
.job-header h1 { margin: 2px 0 4px; }
.job-header .company { color: var(--text-2); font-weight: 500; }
.job-header .company a { color: var(--text-2); }
.facts-line { color: var(--text-2); font-size: .95rem; }
.pay-line { font-size: 1.1rem; font-weight: 650; margin-top: 8px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.job-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; margin-top: 32px; align-items: start; }
@media (max-width: 900px) { .job-grid { grid-template-columns: 1fr; gap: 28px; } }
.job-side { display: grid; gap: 28px; font-size: .93rem; }
.side-block h2 { font-size: .95rem; margin-bottom: 8px; }
.details { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.details dt { color: var(--text-3); }
.details dd { margin: 0; font-weight: 500; }
.perk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.perk-list li { display: flex; gap: 8px; align-items: center; }
.perk-list .icon { color: var(--accent); }

.prose { font-size: 1rem; line-height: 1.7; color: #262d30; max-width: 68ch; }
.prose h3, .prose h2 { font-size: 1.05rem; margin: 1.6em 0 .5em; color: var(--text); }
.prose h4 { font-size: 1rem; margin: 1.3em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .25em 0; }
.prose a { text-decoration: underline; }
.prose blockquote { margin: 1em 0; padding-left: 14px; border-left: 3px solid var(--line-2); color: var(--text-2); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.block-title { font-size: 1.1rem; margin: 32px 0 10px; }
.block-title:first-child { margin-top: 0; }

.sticky-apply { display: none; }
@media (max-width: 900px) {
  .sticky-apply { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
  .sticky-apply .btn-primary { flex: 1; }
  .has-sticky .site-footer { padding-bottom: 84px; }
}

.apply-box { border: 1px solid var(--line-2); border-radius: var(--r); padding: 24px; margin-top: 40px; max-width: 68ch; }
.apply-box h2 { margin-bottom: 4px; }
@media (max-width: 640px) { .apply-box { padding: 18px 16px; } }

/* Notices */
.notice { padding: 12px 14px; border-radius: var(--r); background: var(--bg-2); color: var(--text); font-size: .94rem; margin: 0 0 16px; }
.notice p:last-child { margin: 0; }
.notice.good { background: var(--good-bg); color: #13502a; }
.notice.warn { background: var(--warn-bg); color: #5c3c00; }
.notice.bad { background: var(--bad-bg); color: #7a1b12; }

/* Status labels */
.status { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .8rem; font-weight: 600; white-space: nowrap; background: var(--bg-2); color: var(--text-2); }
.status.info { background: #e9f0fb; color: #1f4f8f; }
.status.good, .status.live { background: var(--good-bg); color: var(--good); }
.status.great, .status.pending { background: var(--warn-bg); color: var(--warn); }
.status.muted, .status.draft { background: var(--bg-2); color: var(--text-3); }
.status.closed { background: var(--bad-bg); color: var(--bad); }

/* Forms ----------------------------------------------------------------- */
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=tel], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 9px 12px; min-height: 44px;
  appearance: none; -webkit-appearance: none;
}
textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
select {
  padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23687478' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
::placeholder { color: #95a0a3; }
input[type=checkbox], input[type=radio] { width: 17px; height: 17px; margin: 0; accent-color: var(--accent); flex: none; }

.form { max-width: 640px; }
.field { display: grid; gap: 5px; }
.field + .field, .field + .fields, .fields + .field, .fields + .fields { margin-top: 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .field + .field { margin-top: 0; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.field > label, .label { font-weight: 600; font-size: .92rem; }
.optional { font-weight: 400; color: var(--text-3); }
.help { font-size: .85rem; color: var(--text-3); margin: 0; }
.errorlist { list-style: none; margin: 0; padding: 0; color: var(--bad); font-size: .87rem; }
.errorlist.nonfield { background: var(--bad-bg); color: #7a1b12; padding: 10px 12px; border-radius: var(--r); margin-bottom: 16px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.checkbox-line { display: flex; gap: 8px; align-items: flex-start; font-size: .93rem; cursor: pointer; }
.checkbox-line input { margin-top: 3px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 64px; }
.pw-wrap button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 10px; border: 0; background: none; color: var(--accent); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-section { padding: 24px 0; border-top: 1px solid var(--line); }
.form-section:first-child { border-top: 0; padding-top: 0; }
.form-section > h2 { font-size: 1.05rem; margin-bottom: 2px; }
.form-section > .help { margin-bottom: 16px; }
.form-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); }
.form-actions.sticky { position: sticky; bottom: 0; background: var(--bg); z-index: 5; }

.option-list { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.option-list label { display: flex; gap: 8px; align-items: center; font-size: .94rem; cursor: pointer; padding: 3px 0; }
.option-list > div { display: contents; }
.option-list.cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.radio-list { display: grid; gap: 8px; }
.radio-list label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; font-size: .95rem; }
.radio-list label:has(input:checked) { border-color: var(--accent); background: var(--accent-bg); }
.radio-list input { margin-top: 3px; }

.file-input { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed var(--line-2); border-radius: var(--r); position: relative; cursor: pointer; }
.file-input:hover, .file-input.drag { border-color: var(--accent); background: var(--accent-bg); }
.file-input input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-input .fd-name { color: var(--text-3); font-size: .88rem; word-break: break-all; }
.file-input.has-file { border-style: solid; border-color: var(--accent); }
.current-file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; font-size: .93rem; }
.current-file .grow { word-break: break-all; }
.image-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.preview { width: 64px; height: 64px; border-radius: var(--r); object-fit: cover; border: 1px solid var(--line); }
.preview.round { border-radius: 50%; }
.preview.wide { width: 160px; }
.preview.contain { object-fit: contain; padding: 4px; }
.file-btn { position: relative; }
.file-btn:has(input:focus-visible) { box-shadow: var(--focus); }

/* Auth pages */
.auth { max-width: 420px; margin: 0 auto; padding: 48px 20px 64px; }
.auth h1 { margin-bottom: 6px; }
.auth > p { color: var(--text-2); }
.auth .switch { margin-top: 20px; font-size: .93rem; color: var(--text-2); }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
@media (max-width: 640px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { display: block; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--text); }
.choice:hover { border-color: var(--accent); background: var(--accent-bg); text-decoration: none; }
.choice strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.choice span { color: var(--text-2); font-size: .93rem; }

/* Dashboards ----------------------------------------------------------- */
.dash-head { padding: 28px 0 0; }
.dash-head h1 { margin-bottom: 2px; }
.dash-head p { color: var(--text-2); margin: 0; }
.tabs { display: flex; gap: 20px; margin-top: 18px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 10px 0; color: var(--text-2); font-weight: 500; font-size: .95rem; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.active { color: var(--text); font-weight: 650; border-bottom-color: var(--text); }
.dash-body { padding: 24px 0 64px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; gap: 28px; } }

.numbers { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
.numbers > * { font-size: .88rem; color: var(--text-3); }
.numbers strong { display: block; font-size: 1.6rem; color: var(--text); font-weight: 700; line-height: 1.2; }
.numbers a:hover { text-decoration: none; }
.numbers a:hover strong { color: var(--accent); }

.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.list > li, .list > a.item { display: flex; gap: 12px; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--line); color: var(--text); }
.list > a.item:hover { background: #fafbfb; text-decoration: none; }
.list .title { font-weight: 600; display: block; }
.list .sub { font-size: .87rem; color: var(--text-3); display: block; }
a.item:hover .title { color: var(--accent); }
.unread { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--bad); color: #fff; font-size: .72rem; font-weight: 700; display: inline-grid; place-items: center; }
.unread:empty { min-width: 8px; width: 8px; height: 8px; padding: 0; }

.progress { height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); }
.todo { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; font-size: .92rem; }
.todo li.done { color: var(--text-3); text-decoration: line-through; }

.side-box { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.side-box h2 { font-size: 1rem; margin-bottom: 8px; }
.side-box + .side-box { margin-top: 16px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .82rem; color: var(--text-3); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: #fafbfb; }
.table .t-title { font-weight: 600; color: var(--text); }
.table .num { font-variant-numeric: tabular-nums; }
.row-actions { display: flex; gap: 4px; justify-content: flex-end; }
.dropdown { position: relative; }
.dropdown > summary { list-style: none; }
.dropdown > summary::-webkit-details-marker { display: none; }

.segmented { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.segmented a { padding: 5px 10px; border-radius: var(--r); font-size: .88rem; color: var(--text-2); border: 1px solid transparent; }
.segmented a:hover { background: var(--bg-2); text-decoration: none; }
.segmented a.on { border-color: var(--line-2); color: var(--text); font-weight: 600; }

/* Applicant review */
.person { display: flex; gap: 16px; align-items: center; }
.person h1 { margin: 0; }
.contact { display: grid; gap: 8px; font-size: .94rem; }
.contact a, .contact span { display: flex; gap: 8px; align-items: center; color: var(--text); word-break: break-all; }
.contact .icon { color: var(--text-3); }
.skills { display: flex; flex-wrap: wrap; gap: 6px; }
.skill { font-size: .85rem; padding: 2px 8px; border-radius: 4px; background: var(--bg-2); }
.status-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.status-picker label { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: .9rem; cursor: pointer; }
.status-picker label:has(input:checked) { border-color: var(--text); background: var(--bg-2); font-weight: 600; }
.stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { cursor: pointer; color: var(--line-2); font-size: 1.4rem; line-height: 1; padding: 0 1px; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: #c98a00; }
.stars input:focus-visible + label { outline: 2px solid var(--accent); }
.rating { color: #c98a00; letter-spacing: 1px; white-space: nowrap; }
.rating .off { color: var(--line-2); }

/* Messages */
.thread { display: grid; gap: 12px; max-height: 480px; overflow-y: auto; padding: 4px 0; }
.msg { max-width: 80%; }
.msg.mine { justify-self: end; }
.msg .body { padding: 10px 12px; border-radius: var(--r); background: var(--bg-2); white-space: pre-wrap; word-wrap: break-word; font-size: .95rem; }
.msg.mine .body { background: var(--accent-bg); }
.msg .meta { font-size: .78rem; color: var(--text-3); margin-top: 3px; }
.msg.mine .meta { text-align: right; }
.composer { display: flex; gap: 8px; align-items: flex-end; margin-top: 12px; }
.composer textarea { min-height: 46px; }

.steps { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.steps li { padding: 4px 0 4px 18px; position: relative; color: var(--text-3); }
.steps li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.steps li.done { color: var(--text); }
.steps li.done::before { background: var(--good); }
.steps li.current { color: var(--text); font-weight: 650; }
.steps li.current::before { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }

/* Notifications */
.notif { display: flex; gap: 10px; padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--text); }
.notif:hover { background: #fafbfb; text-decoration: none; }
.notif.unread .text { font-weight: 650; }
.notif .time { font-size: .82rem; color: var(--text-3); }

/* Company pages */
.company-head { display: flex; gap: 16px; align-items: center; }
.company-head h1 { margin: 0; }
.cover { width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--r); margin-bottom: 20px; }
.companies { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.companies a { display: flex; gap: 14px; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--text); }
.companies a:hover { background: #fafbfb; text-decoration: none; }
.companies a:hover .title { color: var(--accent); }
.companies .title { font-weight: 650; display: block; }
.companies .sub { font-size: .88rem; color: var(--text-3); display: block; }
.verified { color: var(--accent); }

/* Content pages */
.content { padding-block: 32px 64px; }
.point-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px 32px; margin: 8px 0 0; padding: 0; list-style: none; }
.point-list h3 { font-size: 1rem; margin-bottom: 4px; }
.point-list p { color: var(--text-2); margin: 0; font-size: .95rem; }

/* Footer */
.site-footer { padding: 40px 0 28px; font-size: .9rem; color: #c7cfd1; background: var(--ink); margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 24px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer .brand { color: #fff; }
.site-footer h4 { font-size: .85rem; color: #fff; margin: 0 0 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #c7cfd1; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid #2c3437; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #8d999c; font-size: .85rem; }
.footer-bottom a { color: #8d999c; }

.error-page { padding-block: 80px; }

/* progress widths (CSP forbids inline styles) */
.w-0{width:0%} .w-10{width:10%} .w-17{width:17%} .w-20{width:20%} .w-30{width:30%} .w-33{width:33%} .w-40{width:40%} .w-50{width:50%} .w-60{width:60%} .w-67{width:67%} .w-70{width:70%} .w-80{width:80%} .w-83{width:83%} .w-90{width:90%} .w-100{width:100%}

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


/* Home hero -------------------------------------------------------------- */
.hero { position: relative; background: var(--sun); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-credit { position: absolute; right: 12px; bottom: 10px; font-size: .74rem; color: #fff; background: rgba(20, 24, 26, .55); padding: 3px 8px; border-radius: 4px; }
.hero-credit:hover { color: #fff; text-decoration: none; background: rgba(20, 24, 26, .75); }
.hero-inner { position: relative; padding-block: 72px 88px; }
.hero-card { background: var(--sun); max-width: 600px; padding: 34px 34px 30px; border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .22); }
.hero h1 { font-size: 3rem; line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 12px; }
.hero .lede { font-size: 1.06rem; color: #3b3a2c; margin: 0 0 20px; max-width: 46ch; }
.hero .search input, .hero .search select { border-color: var(--ink); }
.hero .chip { background: rgba(255, 255, 255, .7); border-color: rgba(20, 24, 26, .25); }
.hero .chip:hover { background: #fff; }
.hero-stats { display: flex; gap: 22px; margin-top: 16px; font-size: .92rem; color: #3b3a2c; flex-wrap: wrap; }
.hero-stats strong { color: var(--ink); }
@media (max-width: 900px) {
  .hero-media { position: relative; height: 230px; }
  .hero-inner { padding-block: 0 28px; }
  .hero-card { max-width: none; padding: 24px 0 0; border-radius: 0; box-shadow: none; background: transparent; }
  .hero h1 { font-size: 2.1rem; }
}

/* Island photo tiles */
.places { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .places { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .places { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.place { position: relative; display: block; border-radius: 10px; overflow: hidden; color: #fff; background: var(--bg-2); }
.place:hover { text-decoration: none; color: #fff; }
.place img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; transition: transform .4s ease; }
.place:hover img { transform: scale(1.04); }
.place-label { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; flex-direction: column; align-items: flex-start; }
.place-label strong { background: var(--ink); color: #fff; font-size: .95rem; padding: 4px 9px; border-radius: 5px; }
.place-label span { background: var(--sun); color: var(--ink); font-size: .78rem; font-weight: 650; padding: 2px 8px; border-radius: 4px; margin-top: 4px; }
@media (max-width: 640px) { .place img { aspect-ratio: 4 / 5; } }
.more-places { margin-top: 18px; font-size: .93rem; color: var(--text-2); }
.more-places a { color: var(--text); margin-right: 14px; display: inline-block; padding: 2px 0; }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 28px; list-style: none; margin: 0; padding: 0; }
.roles a { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.roles a:hover { text-decoration: none; }
.roles a:hover .r-name { text-decoration: underline; text-underline-offset: 3px; }
.roles .icon { color: var(--accent); width: 20px; height: 20px; }
.roles .r-name { flex: 1; font-weight: 550; }
.roles .n { color: var(--text-3); font-size: .85rem; }

/* Employer band */
.band-dark { background: var(--ink); color: #fff; border-radius: 10px; padding: 32px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.band-dark h2 { color: #fff; margin-bottom: 6px; }
.band-dark p { color: #c7cfd1; margin: 0; max-width: 56ch; }
@media (max-width: 640px) { .band-dark { grid-template-columns: 1fr; padding: 24px; } }

/* Photo banners on job and island pages */
.banner-wrap { position: relative; margin-bottom: 22px; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.banner { width: 100%; height: 300px; object-fit: cover; display: block; }
.banner-credit { position: absolute; right: 10px; bottom: 8px; font-size: .72rem; color: #fff; background: rgba(20, 24, 26, .55); padding: 2px 7px; border-radius: 4px; }
.banner-credit:hover { color: #fff; text-decoration: none; }
@media (max-width: 640px) { .banner { height: 170px; } .banner-wrap { margin-bottom: 16px; border-radius: 10px; } }

/* Warm header bands (full-bleed background without changing markup) */
.band { background: var(--sun); box-shadow: 0 0 0 100vmax var(--sun); clip-path: inset(0 -100vmax); }
.band .lede, .band p { color: #3b3a2c; }
.band .search input, .band .search select { border-color: var(--ink); }
.page-top.band { padding: 30px 0 28px; margin-bottom: 4px; }
.dash-head { background: var(--sun-bg); box-shadow: 0 0 0 100vmax var(--sun-bg); clip-path: inset(0 -100vmax); }
.dash-head .tabs { border-bottom-color: #efe3b2; }
.dash-head .tabs a.active { border-bottom-color: var(--ink); }

/* Split pages: form beside a photo (sign in, sign up) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
.split-main { display: flex; align-items: center; justify-content: center; padding: 40px 20px 56px; }
.split-main .auth { padding: 0; width: 100%; }
.split-photo { position: relative; background: var(--bg-2); }
.split-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-caption { position: absolute; left: 24px; bottom: 24px; right: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.split-caption strong { background: var(--sun); color: var(--ink); font-family: var(--font-head); font-size: 1.35rem; padding: 6px 12px; border-radius: 6px; max-width: 26ch; line-height: 1.2; }
.split-caption a { font-size: .74rem; color: #fff; background: rgba(20, 24, 26, .55); padding: 2px 7px; border-radius: 4px; }
.split-caption a:hover { color: #fff; text-decoration: none; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-photo { order: -1; height: 150px; }
  .split-caption strong { font-size: 1rem; }
  .split-main { padding-top: 28px; }
}

/* Empty states with a photo */
.empty-photo { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.empty-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.empty-photo h3 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 6px; }
.empty-photo p { color: var(--text-2); }
@media (max-width: 640px) { .empty-photo { grid-template-columns: 1fr; gap: 14px; padding: 14px; } .empty-photo img { aspect-ratio: 16 / 9; } }

/* Employer page: steps and product preview */
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
@media (max-width: 760px) { .steps-row { grid-template-columns: 1fr; gap: 18px; } }
.steps-row li { counter-increment: step; }
.steps-row li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--font-head); font-weight: 700; margin-bottom: 10px; }
.steps-row h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps-row p { color: var(--text-2); margin: 0; font-size: .95rem; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 760px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list h3 { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; margin-bottom: 4px; }
.feature-list h3 .icon { color: var(--accent); }
.feature-list p { color: var(--text-2); margin: 0; font-size: .95rem; }
.preview-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(20, 24, 26, .10); padding: 18px; }
.preview-card .pc-head { display: flex; gap: 12px; align-items: center; }
.preview-card .pc-name { font-weight: 700; }
.preview-card .pc-sub { color: var(--text-3); font-size: .85rem; }
.preview-card .pc-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.preview-card .pc-status { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.preview-card .pc-status span { font-size: .78rem; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 5px; }
.preview-card .pc-status span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }
.photo-frame { position: relative; border-radius: 12px; overflow: hidden; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.photo-frame .banner-credit { position: absolute; }

/* LinkedIn import */
.li-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; background: var(--sun-bg); border-radius: var(--r); margin-bottom: 20px; }
.li-box strong { display: block; }
.li-box span { color: var(--text-2); font-size: .93rem; }
.li-steps { margin: 8px 0 12px; padding-left: 1.3em; display: grid; gap: 6px; }
.li-import h2 { font-size: 1.15rem; }
.li-more summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.li-more p { margin-top: 8px; color: var(--text-2); }
