/* BeSkydiver · hand-written CSS, no build. Mobile first.
   Aviation + altitude + sky + precision + freedom. Accent (#FFB800) used sparingly. */

:root {
    --sky: #149FE3;
    --deep: #0866A8;
    --atmo: #EAF7FD;
    --cloud: #FFFFFF;
    --night: #071923;
    --night-2: #10303F;
    --alt: #FFB800;
    --ink: #0B2230;
    --muted: #5C7280;
    --line: #D5E6EF;
    --ok: #0F8A5F;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(7, 25, 35, .06), 0 10px 30px rgba(7, 25, 35, .07);
    --display: "Space Grotesk", "Inter", system-ui, sans-serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff; font-feature-settings: "tnum" 1; }
img, svg { max-width: 100%; }
a { color: var(--deep); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; color: var(--night); }
h1 { font-size: clamp(2.2rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Instrument labels: ALT 13,000 FT · DZ 32 MI */
.inst { font-family: var(--display); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.inst b { color: var(--night); font-weight: 700; }
.big-num { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; letter-spacing: -.03em; color: var(--night); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: baseline; gap: 1px; font-family: var(--display); font-size: 1.5rem; letter-spacing: -.03em; text-decoration: none; color: inherit; line-height: 1; }
.logo .be { font-weight: 400; }
.logo .sd { font-weight: 700; }
.logo .mk { display: inline-block; width: .42em; height: .42em; margin-left: .12em; background: var(--alt); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: translateY(-.55em); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.site-header .logo { color: var(--night); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; color: var(--night); font-weight: 600; font-size: .92rem; padding: 8px 10px; border-radius: 10px; }
.nav a:hover { background: var(--atmo); }
.nav .hide-m { display: none; }
@media (min-width: 820px) { .nav .hide-m { display: inline-block; } }
.nav .cta { background: var(--night); color: #fff; }
.nav .cta:hover { background: var(--deep); }
.site-header.on-sky { background: transparent; border-color: transparent; position: absolute; left: 0; right: 0; backdrop-filter: none; }
.site-header.on-sky .logo, .site-header.on-sky .nav a { color: #fff; }
.site-header.on-sky .nav a:hover { background: rgba(255, 255, 255, .14); }
.site-header.on-sky .nav .cta { background: #fff; color: var(--night); }

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--night); color: #fff; font: 600 1rem var(--body); text-decoration: none; cursor: pointer; transition: transform .08s, background .15s; }
.btn:hover { background: var(--deep); }
.btn:active { transform: scale(.98); }
.btn-sky { background: var(--sky); }
.btn-sky:hover { background: var(--deep); }
.btn-alt { background: var(--alt); color: var(--night); }
.btn-alt:hover { background: #ffc633; }
.btn-ghost { background: transparent; color: var(--night); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--atmo); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
input[type=text], input[type=search], input[type=email], input[type=tel], textarea, select {
    width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink);
}
textarea { padding: 12px 16px; min-height: 110px; }
input:focus, textarea:focus, select:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid rgba(20, 159, 227, .45); outline-offset: 2px; }
label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 6px; }
.field { margin-bottom: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.errors { background: #FDECEC; border-left: 4px solid #C62828; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; }
.flash { background: #E6F6EF; border-left: 4px solid var(--ok); padding: 10px 14px; border-radius: 10px; margin: 16px 0; font-weight: 600; }

/* ---------- Sky hero ---------- */
.sky { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 70% 110%, #7FD0F5 0%, rgba(127, 208, 245, 0) 55%), linear-gradient(180deg, #06456F 0%, var(--deep) 35%, var(--sky) 100%); }
.sky::before { /* horizon arcs */
    content: ""; position: absolute; left: -20%; right: -20%; bottom: -62vw; height: 80vw; border-radius: 50%;
    border-top: 1px solid rgba(255, 255, 255, .35); box-shadow: 0 -40px 0 -39px rgba(255, 255, 255, .2), 0 -90px 0 -89px rgba(255, 255, 255, .12);
}
.sky::after { /* altitude tape */
    content: ""; position: absolute; right: 18px; top: 90px; bottom: 30px; width: 34px; opacity: .35;
    background: repeating-linear-gradient(180deg, #fff 0 1px, transparent 1px 12px), repeating-linear-gradient(180deg, #fff 0 2px, transparent 2px 60px);
    background-size: 12px 100%, 26px 100%; background-repeat: no-repeat; background-position: right top, right top;
    -webkit-mask: linear-gradient(transparent, #000 15%, #000 85%, transparent); mask: linear-gradient(transparent, #000 15%, #000 85%, transparent);
}
.sky h1, .sky h2 { color: #fff; }
.hero { padding: 110px 0 90px; position: relative; z-index: 1; }
@media (min-width: 820px) { .hero { padding: 150px 0 120px; } }
.hero h1 { font-size: clamp(3rem, 12vw, 7rem); letter-spacing: -.045em; line-height: .92; margin-bottom: .2em; text-transform: uppercase; }
.hero .lead { font-size: clamp(1.1rem, 3vw, 1.4rem); opacity: .95; max-width: 34ch; margin-bottom: 28px; }
.hero .alt-read { position: absolute; right: 64px; top: 50%; transform: translateY(-50%); text-align: right; display: none; }
@media (min-width: 980px) { .hero .alt-read { display: block; } }
.hero .alt-read .inst { color: rgba(255, 255, 255, .7); }
.hero .alt-read .big-num { color: #fff; font-size: 3.2rem; }

.finder { background: #fff; border-radius: 22px; padding: 10px; display: flex; gap: 8px; max-width: 640px; box-shadow: 0 20px 50px rgba(7, 25, 35, .25); position: relative; }
.finder input { border: 0; min-height: 54px; font-size: 1.05rem; }
.finder input:focus { outline: none; }
.finder .btn { flex: none; }
.finder-label { font-family: var(--display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; opacity: .8; margin-bottom: 10px; }
.finder-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 16px; }
.finder-row a, .finder-row button.link { color: #fff; font-weight: 600; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.suggest { position: absolute; left: 10px; right: 10px; top: calc(100% + 6px); background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; z-index: 20; color: var(--ink); }
.suggest button { display: flex; justify-content: space-between; width: 100%; padding: 12px 16px; background: #fff; border: 0; border-bottom: 1px solid var(--line); font: inherit; text-align: left; cursor: pointer; }
.suggest button:last-child { border: 0; }
.suggest button.on, .suggest button:hover { background: var(--atmo); }
.suggest small { color: var(--muted); text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.tight { padding: 32px 0; }
.section.atmo { background: var(--atmo); }
.section.night { background: var(--night); color: #D7E6EE; }
.section.night h2, .section.night h3 { color: #fff; }
.kicker { font-family: var(--display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; color: var(--deep); margin-bottom: 10px; }
.night .kicker { color: var(--alt); }
.grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card h3 { margin-bottom: .3em; }

/* DZ cards */
.dz-list { display: grid; gap: 12px; }
.dz-card { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; text-decoration: none; color: inherit; border: 1.5px solid transparent; transition: border-color .15s; }
.dz-card:hover { border-color: var(--sky); }
.dz-card .name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--night); line-height: 1.2; }
.dz-card .where { color: var(--muted); font-size: .9rem; }
.dz-card .dist { text-align: right; }
.dz-card .dist .big-num { font-size: 1.6rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 1 / -1; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--atmo); color: var(--deep); }
.tag.alt { background: #FFF4D6; color: #7A5600; }
.tag.muted { background: #F1F4F6; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; min-height: 40px; align-items: center; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: .9rem; }
.chip input:checked + span { background: var(--night); color: #fff; box-shadow: none; }

.map { height: 360px; border-radius: var(--radius); overflow: hidden; background: var(--atmo); z-index: 1; }
@media (min-width: 820px) { .map.tall { height: 520px; } }
.leaflet-container { font-family: var(--body); }
.pin { width: 16px; height: 16px; border-radius: 50%; background: var(--sky); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(7, 25, 35, .4); }
.pin.me { background: var(--alt); }

/* Journey (progression) */
.journey { display: grid; gap: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--alt), var(--sky)); }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 12px 0; position: relative; }
.step .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; z-index: 1; }
.night .step .dot { background: #fff; color: var(--night); }
.step.final .dot { background: var(--alt); color: var(--night); }
.step h3 { margin: 6px 0 4px; }
@media (min-width: 900px) {
    .journey.h { grid-template-columns: repeat(5, 1fr); }
    .journey.h::before { left: 20px; right: 20px; top: 19px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--sky), var(--alt)); }
    .journey.h .step { grid-template-columns: 1fr; }
}

/* Profile */
.profile-head { padding: 34px 0 24px; background: linear-gradient(180deg, var(--atmo), #fff); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; }
.fact .v { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--night); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: baseline; }
.checklist li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.checklist li.no::before { content: "–"; color: var(--muted); }
.checklist li.unknown::before { content: "?"; color: var(--muted); }
.verify { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #F1F4F6; color: var(--muted); }
.verify.good { background: #E6F6EF; color: var(--ok); }
.sources { font-size: .85rem; color: var(--muted); }
.sources li { margin-bottom: 4px; }

/* Guides */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: .45em; }
.toc { columns: 2; column-gap: 24px; font-size: .95rem; }
.toc a { display: block; padding: 3px 0; text-decoration: none; }
.note { font-size: .9rem; border-left: 3px solid var(--alt); padding-left: 12px; color: var(--muted); }
.callout { background: var(--night); color: #fff; border-radius: 22px; padding: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.callout h2 { color: #fff; margin: 0; }

.region-list { columns: 2; column-gap: 24px; }
@media (min-width: 760px) { .region-list { columns: 4; } }
.region-list a { display: flex; justify-content: space-between; padding: 6px 0; text-decoration: none; color: var(--night); border-bottom: 1px solid var(--line); break-inside: avoid; }
.region-list a span { color: var(--muted); }
.region-list a.empty { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #9FB6C3; padding: 48px 0; font-size: .92rem; }
.site-footer .logo { color: #fff; }
.site-footer a { color: #D7E6EE; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .cols { display: grid; gap: 24px; margin-top: 20px; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--display); color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.dz-card { align-content: start; }
.dz-list { align-content: start; }
.tags { align-items: flex-start; }
input[type=password], input[type=number], input[type=date], input[type=url] { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
.life { background: var(--night); color: #D7E6EE; border-radius: 24px; padding: 26px; }
.life h2 { color: #fff; }
.life .inst { color: #8FB0C2; }
.life .big-num { color: #fff; }
.life-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; margin-top: 18px; }
@media (min-width: 760px) { .life-grid { grid-template-columns: repeat(5, 1fr); } }
.badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .badges { grid-template-columns: repeat(4, 1fr); } }
.badge-a { border-radius: 16px; padding: 14px; background: #fff; box-shadow: var(--shadow); position: relative; }
.badge-a .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--alt); color: var(--night); font-weight: 700; margin-bottom: 8px; }
.badge-a.locked { background: #F4F7F9; box-shadow: none; color: var(--muted); }
.badge-a.locked .ic { background: #DDE6EC; color: var(--muted); }
.badge-a h4 { margin: 0; font-family: var(--display); font-size: 1rem; color: inherit; }
.stamps { display: flex; flex-wrap: wrap; gap: 10px; }
.stamp { border: 2px dashed var(--deep); border-radius: 12px; padding: 8px 12px; font-family: var(--display); font-weight: 700; color: var(--deep); transform: rotate(-2deg); background: #fff; text-decoration: none; }
.stamp:nth-child(2n) { transform: rotate(1.5deg); }
.stamp small { display: block; font-family: var(--body); font-weight: 500; color: var(--muted); font-size: .72rem; }
.stars { color: var(--alt); letter-spacing: 1px; }
.review { border-top: 1px solid var(--line); padding: 16px 0; }
.review .reply { background: var(--atmo); border-radius: 12px; padding: 10px 14px; margin-top: 10px; font-size: .92rem; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); font-size: .92rem; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--display); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: #FAFCFD; }
.scroll { overflow-x: auto; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0; }
.pager a, .pager span { padding: 8px 12px; border-radius: 10px; background: #fff; box-shadow: var(--shadow); text-decoration: none; }
.pager .active { background: var(--night); color: #fff; }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }
