/* Ashkelon station recruitment: official navy and white, one touch of gold from the station emblem. */
:root {
  --navy: #0b2a5b; --navy-2: #12397a; --blue: #1f4fa3; --sky: #e8eef8; --line: #d6deeb;
  --ink: #0f1b2d; --muted: #52617a; --paper: #ffffff; --tint: #f4f7fb; --gold: #b8911f;
  --r: 14px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: Assistant, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; inset-inline-start: 12px; top: -48px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 9; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* top ribbon + header */
.ribbon { background: var(--navy); color: #dfe7f5; font-size: 14px; }
.ribbon-in { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.ribbon-in span { display: flex; align-items: center; gap: 8px; }
.ribbon img { filter: invert(1); opacity: .9; }
.ribbon a { color: #fff; font-weight: 700; text-decoration: none; }
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-family: "Frank Ruhl Libre", serif; font-size: 21px; color: var(--navy); }
.brand small { color: var(--muted); font-size: 13px; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { text-decoration: none; font-weight: 600; color: var(--ink); font-size: 16px; }
nav a:not(.btn):hover { color: var(--blue); }

.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; padding: 14px 26px; border-radius: 10px; border: 2px solid var(--navy); cursor: pointer; font-family: inherit; transition: background .15s, transform .15s; }
.btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--sky); }
.btn-sm { padding: 9px 18px; font-size: 15px; color: #fff !important; }
.btn-wide { width: 100%; background: #fff; color: var(--navy); border-color: #fff; font-size: 19px; }
.btn-wide:hover { background: var(--sky); }

/* hero */
.hero { position: relative; background: linear-gradient(180deg, var(--tint), #fff 70%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .35; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 72px 20px 110px; }
.eyebrow { display: inline-block; font-weight: 700; color: var(--blue); letter-spacing: .02em; border-inline-start: 4px solid var(--gold); padding-inline-start: 10px; margin-bottom: 18px; }
h1 { font-family: "Frank Ruhl Libre", serif; font-weight: 900; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; color: var(--navy); letter-spacing: -.01em; }
h1 span { color: var(--blue); }
.lead { margin-top: 22px; font-size: 20px; color: #2b3a52; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { list-style: none; padding: 0; display: flex; gap: 34px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 20px; }
.facts li { display: flex; flex-direction: column; }
.facts b { font-family: "Frank Ruhl Libre", serif; font-size: 26px; color: var(--navy); line-height: 1.1; }
.facts span { color: var(--muted); font-size: 15px; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 0 0 28px rgba(31,79,163,.04), 0 0 0 56px rgba(31,79,163,.03); }
.emblem { position: relative; width: min(420px, 100%); height: auto; filter: drop-shadow(0 24px 30px rgba(11,42,91,.18)); animation: rise .9s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.skyline { position: absolute; bottom: 0; left: 0; width: 100%; height: 120px; }

/* values band */
.band { background: var(--navy); color: #dfe7f5; }
.band-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 30px 20px; }
.band b { color: #fff; font-family: "Frank Ruhl Libre", serif; font-size: 20px; }

/* sections */
.sec { padding: 96px 0; }
.sec-tint { background: var(--tint); }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.num { font-family: "Frank Ruhl Libre", serif; font-weight: 900; color: var(--gold); font-size: 18px; letter-spacing: .1em; }
h2 { font-family: "Frank Ruhl Libre", serif; font-weight: 900; font-size: clamp(32px, 4vw, 46px); color: var(--navy); line-height: 1.1; margin: 4px 0 12px; }
.sec-head p:last-child { color: var(--muted); font-size: 19px; }
.note { margin-top: 26px; font-size: 15px; color: var(--muted); max-width: 52em; }

.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.role { background: #fff; padding: 30px 28px 26px; position: relative; transition: background .2s; }
.role::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 0; height: 3px; background: var(--blue); transition: width .3s; }
.role:hover { background: #fbfcfe; }
.role:hover::before { width: 100%; }
.role h3 { font-family: "Frank Ruhl Libre", serif; font-size: 26px; color: var(--navy); }
.role p { color: #3a4860; margin: 8px 0 16px; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); background: var(--sky); padding: 3px 10px; border-radius: 99px; }
.role-alt { background: var(--tint); }

.path { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; position: relative; }
.path::before { content: ""; position: absolute; top: 23px; inset-inline: 10% 10%; height: 2px; background: var(--line); }
.path li { counter-increment: s; position: relative; padding: 0 12px; text-align: center; }
.path li::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); color: var(--navy); font-family: "Frank Ruhl Libre", serif; font-weight: 900; font-size: 20px; position: relative; }
.path li:first-child::before { background: var(--navy); color: #fff; }
.path b { display: block; font-size: 19px; color: var(--navy); }
.path span { color: var(--muted); font-size: 15px; }

.who { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: start; }
.who .note { grid-column: 1 / -1; }
.checks { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 8px; }
.checks li { padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; padding-inline-start: 48px; position: relative; font-weight: 600; }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 18px; top: 50%; transform: translateY(-50%); color: var(--blue); font-weight: 800; font-size: 18px; }

/* apply */
.sec-navy { background: var(--navy); color: #dfe7f5; position: relative; overflow: hidden; }
.sec-navy::after { content: ""; position: absolute; inset-inline-end: -120px; bottom: -160px; width: 460px; height: 520px; background: url(/police-t.png) center/contain no-repeat; filter: invert(1); opacity: .05; pointer-events: none; }
.sec-navy h2 { color: #fff; }
.apply { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; position: relative; z-index: 1; }
.apply-text p { font-size: 19px; }
.mini { margin-top: 22px; padding-inline-start: 20px; color: #b9c7e2; }
.form { background: #fff; color: var(--ink); border-radius: 18px; padding: 30px; display: grid; gap: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; color: var(--navy); }
.form input:not([type=checkbox]), .form select, .form textarea { font: inherit; font-size: 17px; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfe; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,79,163,.15); background: #fff; }
.form [aria-invalid="true"] { border-color: #b42318; }
fieldset { border: 0; padding: 0; }
legend { font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 99px; font-weight: 600; color: var(--ink); transition: all .15s; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px; font-weight: 400 !important; color: var(--muted) !important; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.form .btn-wide { background: var(--navy); color: #fff; border-color: var(--navy); }
.form .btn-wide:hover { background: var(--navy-2); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.msg { min-height: 1.4em; font-weight: 700; text-align: center; }
.msg.ok { color: #146c43; } .msg.err { color: #b42318; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
details { border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; background: #fff; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; color: var(--navy); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 18px; color: #3a4860; }

.foot { border-top: 1px solid var(--line); padding: 34px 0; background: var(--tint); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.foot p { color: var(--muted); font-size: 15px; max-width: 40em; }
.foot a { font-weight: 800; color: var(--navy); }

@media (max-width: 900px) {
  nav a:not(.btn) { display: none; }
  .hero-in { grid-template-columns: 1fr; padding: 40px 20px 100px; }
  .hero-art { order: -1; } .emblem { width: 150px; }
  .hero-art::before { width: 190px; }
  .band-in { grid-template-columns: 1fr; gap: 10px; }
  .roles { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; gap: 18px; text-align: start; }
  .path::before { display: none; }
  .path li { display: grid; grid-template-columns: 48px 1fr; gap: 0 14px; text-align: start; padding: 0; }
  .path li::before { grid-row: span 2; margin: 0; }
  .who, .apply { grid-template-columns: 1fr; gap: 28px; }
  .row2 { grid-template-columns: 1fr; }
  .facts { gap: 22px; flex-wrap: wrap; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .sec { padding: 64px 0; }
  .form { padding: 22px; }
  .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why article { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: #fff; }
.why .why-main { grid-row: span 2; grid-column: span 2; background: var(--navy); color: #dfe7f5; border-color: var(--navy); display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; position: relative; overflow: hidden; }
.why .why-main::after { content: ""; position: absolute; top: -40px; inset-inline-end: -60px; width: 300px; height: 340px; background: url(/station.png) center/contain no-repeat; opacity: .12; }
.why .why-main h3 { color: #fff; font-size: 30px; }
.why h3 { font-family: "Frank Ruhl Libre", serif; color: var(--navy); font-size: 22px; margin: 6px 0; }
.why p { color: #3a4860; }
.why .why-main p { color: #c9d5ec; font-size: 18px; position: relative; z-index: 1; }
.big { font-family: "Frank Ruhl Libre", serif; font-weight: 900; color: var(--gold); font-size: 15px; letter-spacing: .12em; }
.quote-band { background: var(--tint); border-block: 1px solid var(--line); }
.quote-band p { font-family: "Frank Ruhl Libre", serif; font-weight: 900; font-size: clamp(26px, 3.4vw, 40px); color: var(--navy); text-align: center; padding: 56px 0; }

/* articles */
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.art-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.art-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,42,91,.10); }
.art-card .tag { align-self: flex-start; }
.art-card h3 { font-family: "Frank Ruhl Libre", serif; color: var(--navy); font-size: 22px; line-height: 1.25; }
.art-card p { color: #3a4860; flex: 1; }
.read { color: var(--blue); font-weight: 800; }
.article-head { background: linear-gradient(180deg, var(--tint), #fff); padding: 56px 0 30px; border-bottom: 1px solid var(--line); }
.narrow { max-width: 760px; }
.back { display: table; color: var(--blue); font-weight: 700; text-decoration: none; margin-bottom: 18px; }
.article-head h1 { font-size: clamp(34px, 5vw, 54px); }
.article-body { padding: 40px 20px 20px; }
.article-body h2 { font-size: 28px; margin: 30px 0 8px; }
.article-body p { font-size: 19px; line-height: 1.8; color: #24324a; margin-bottom: 14px; }
.article-body .note { font-size: 15px; color: var(--muted); border-inline-start: 3px solid var(--gold); padding-inline-start: 14px; margin-top: 30px; }
.article-cta { background: var(--navy); color: #dfe7f5; padding: 48px 0; margin-top: 40px; }
.article-cta h2 { color: #fff; margin-top: 0; }
.article-cta .btn { background: #fff; color: var(--navy); border-color: #fff; margin-top: 14px; }
.more-title { font-size: 30px; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.more-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-decoration: none; display: grid; gap: 6px; }
.more-card span { color: var(--gold); font-weight: 800; font-size: 14px; }
.more-card b { color: var(--navy); font-size: 18px; }
.more-card:hover { background: var(--tint); }
.credit { font-size: 13px; color: var(--muted); padding-top: 18px; }
.credit a { color: var(--navy); }
@media (max-width: 900px) {
  .why, .art-grid, .more-grid { grid-template-columns: 1fr; }
  .why .why-main { grid-row: auto; grid-column: auto; min-height: 240px; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
}
