/* Skydive Long Island — one stylesheet. Palette taken from the old theme. */
:root {
  --navy: #142f55; --navy-deep: #0d2952; --teal: #24a3b3; --lime: #c2d734; --lime-dark: #a9bc22;
  --ink: #26323f; --muted: #5f6b78; --line: #e3e7ec; --soft: #f5f7fa; --white: #fff;
  --radius: 10px; --shadow: 0 6px 24px rgba(13, 41, 82, .10);
  --font: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Covered By Your Grace', cursive;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 1.6em 0 .5em; font-weight: 900; }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--navy); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .8em 1.5em; border-radius: 999px; font-weight: 900; text-decoration: none; letter-spacing: .02em; border: 2px solid transparent; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: var(--navy); }
.btn-primary:hover { background: var(--lime-dark); color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.8); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-block { display: flex; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.cta-row.center { justify-content: center; }

/* Header */
.topbar { background: var(--navy-deep); font-size: .85rem; }
.topbar .wrap { display: flex; gap: 1.5rem; justify-content: flex-end; padding: .4rem 0; flex-wrap: wrap; }
.topbar a { color: #cfe0f3; text-decoration: none; }
.topbar a:hover { color: var(--lime); }
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand img { width: 125px; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.main-nav a { color: var(--white); text-decoration: none; font-weight: 700; font-size: .95rem; display: block; padding: .55rem .7rem; border-radius: 6px; }
.main-nav > ul > li > a:hover, .main-nav .active > a, .main-nav [aria-current] { color: var(--lime); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.sub a { color: var(--navy); font-weight: 700; }
.sub a:hover { background: var(--soft); color: var(--teal); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; }
.header-book { padding: .6em 1.2em; }

/* Banner + layout */
.page-banner { background: linear-gradient(90deg, rgba(13,41,82,.92), rgba(13,41,82,.55)), url('/assets/images/theme-skydive-long-island-header.webp') center/cover; color: var(--white); padding: 3.5rem 0 3rem; }
.page-banner h1 { color: var(--white); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .6rem; padding: 0; font-size: .85rem; }
.crumbs li + li::before { content: '›'; margin-right: .4rem; color: var(--lime); }
.crumbs a { color: #cfe0f3; text-decoration: none; }
.page-body { padding: 3rem 0 4rem; }
.page-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { max-width: 75ch; }
.prose img { border-radius: var(--radius); margin: 1.2rem 0; }
.prose dl { margin: 0 0 1.5rem; }
.prose dt { font-weight: 900; color: var(--navy); margin-top: 1rem; }
.prose dd { margin: .15rem 0 0; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 1rem 0 2rem; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.prose th { background: var(--navy); color: var(--white); text-align: left; padding: .8rem 1rem; }
.prose td { padding: .8rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.prose td strong { color: var(--navy); }
.prose tr:nth-child(even) td { background: var(--soft); }
.embed { position: relative; aspect-ratio: 16 / 9; margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.embed-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; color: #fff; font: 700 1.1rem/1 var(--font, inherit); }
.embed-video .embed-play::before { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%); border-radius: 14px; background: rgba(0,0,0,.72); transition: background .2s; }
.embed-video .embed-play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.embed-video .embed-play:hover::before, .embed-video .embed-play:focus-visible::before { background: var(--lime, #c4d82e); }
.embed-play:focus-visible { outline: 3px solid var(--lime, #c4d82e); outline-offset: -3px; }
.embed-map { background: #e8edf2 repeating-linear-gradient(45deg, transparent 0 22px, rgba(15,40,80,.05) 22px 44px); }
.embed-map .embed-play { color: var(--navy, #0f2850); font-size: 1.15rem; }
.embed-map .embed-play::before { content: "\1F4CD  "; }
.embed-note { position: absolute; left: 0; right: 0; bottom: .8rem; text-align: center; font-size: .8rem; color: #50607a; pointer-events: none; }
.post-meta { color: var(--muted); font-size: .9rem; }
.post-hero { width: 100%; max-height: 460px; object-fit: cover; }

/* Sidebar */
.sidebar { display: grid; gap: 1.2rem; position: sticky; top: 100px; }
.side-card { background: var(--soft); border-radius: var(--radius); padding: 1.3rem; }
.side-cta { display: grid; gap: .7rem; }
.side-photo { padding: 0; overflow: hidden; }
.testimonial { margin: 0; border-left: 4px solid var(--lime); }
.testimonial blockquote { margin: 0; font-style: italic; }
.testimonial figcaption { font-weight: 900; color: var(--navy); margin-top: .5rem; }
.side-contact h2 { font-size: 1.15rem; margin: 0 0 .4rem; }

/* Cards + galleries */
.cards { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.card a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin: 0; border-radius: 0; }
.card-body { padding: 1rem 1.2rem 1.3rem; }
.card time { font-size: .8rem; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.card h3 { margin: .3rem 0 .4rem; font-size: 1.1rem; }
.card p { margin: 0; font-size: .93rem; color: var(--muted); }
.pager { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2rem; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.chips a { display: block; padding: .35rem .9rem; border-radius: 999px; background: var(--soft); text-decoration: none; font-weight: 700; font-size: .9rem; color: var(--navy); }
.chips a[aria-current] { background: var(--navy); color: var(--white); }
.gallery-grid { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; margin: 0; border-radius: 8px; }
.gallery-grid .album span { display: block; font-weight: 700; padding: .4rem 0; }
.lightbox { position: fixed; inset: 0; background: rgba(5, 15, 30, .92); display: grid; place-items: center; z-index: 200; padding: 2rem; }
.lightbox img { max-height: 88vh; border-radius: 6px; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }

/* Home */
.hero { position: relative; min-height: min(78vh, 680px); display: grid; align-items: center; color: var(--white); background: linear-gradient(100deg, rgba(13,41,82,.88) 0%, rgba(13,41,82,.45) 60%, rgba(13,41,82,.15)), url('/assets/images/theme-skydivelongislandhome2.webp') center/cover; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 14ch; }
.hero .kicker { font-family: var(--script); color: var(--lime); font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 .3rem; }
.hero p.lead { font-size: 1.2rem; max-width: 46ch; }
.hero-links { display: flex; gap: 1.2rem; margin-top: 1.4rem; flex-wrap: wrap; }
.hero-links a { color: var(--white); font-weight: 700; }
.features { margin-top: -4rem; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; border-top: 5px solid var(--lime); }
.feature h2 { font-size: 1.35rem; margin: 0 0 .5rem; }
.feature p { color: var(--muted); margin: 0 0 1rem; }
.feature a { font-weight: 900; }
.section { padding: 4.5rem 0; }
.section-soft { background: var(--soft); }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.5rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.notice { background: var(--lime); color: var(--navy); font-weight: 900; padding: .9rem 1.2rem; border-radius: var(--radius); display: inline-block; }
.big-quote { text-align: center; max-width: 760px; margin: 0 auto; }
.big-quote blockquote { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-style: italic; color: var(--navy); }
.big-quote figcaption { margin-top: 1rem; font-weight: 700; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 640px; }
.form label { font-weight: 700; color: var(--navy); display: grid; gap: .35rem; }
.form input, .form textarea, .form select { font: inherit; padding: .75rem .9rem; border: 1px solid #c9d1db; border-radius: 8px; width: 100%; }
.form input:focus, .form textarea:focus { outline: 3px solid rgba(36,163,179,.35); border-color: var(--teal); }
.form .hp { position: absolute; left: -9999px; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.2rem; font-weight: 700; }
.alert-ok { background: #e9f6d0; color: #3b5200; }
.alert-err { background: #fde7e7; color: #8a1c1c; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; }
.info-list { list-style: none; padding: 0; }
.info-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); }

/* CTA band + footer */
.cta-band { background: linear-gradient(rgba(13,41,82,.86), rgba(13,41,82,.86)), url('/assets/images/theme-footer.webp') center/cover; color: var(--white); text-align: center; padding: 4rem 0; }
.cta-band h2 { color: var(--white); margin: 0 0 .5rem; }
.site-footer { background: var(--navy-deep); color: #c3d2e4; font-size: .95rem; padding: 3.5rem 0 0; }
.site-footer h2 { color: var(--white); font-size: 1.05rem; margin: 0 0 .9rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer a { color: #e3ecf6; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.social { margin-top: 1rem !important; display: flex !important; gap: 1rem !important; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding: 1.2rem 0; font-size: .85rem; }
.mobile-bar { display: none; }

@media (max-width: 1060px) {
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { display: block; width: 24px; height: 3px; background: var(--white); border-radius: 2px; position: relative; content: ''; }
  .nav-toggle span:first-child::before { position: absolute; top: -8px; }
  .nav-toggle span:first-child::after { position: absolute; top: 8px; }
  .main-nav { order: 3; margin-left: 0; }
  .header-book { margin-left: auto; }
  .main-nav > ul { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; padding: .5rem 1.25rem 1.5rem; max-height: calc(100vh - 110px); overflow-y: auto; }
  .main-nav.open > ul { display: flex; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 .4rem 1rem; display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { color: #cfe0f3; font-weight: 400; }
  .sub a:hover { background: transparent; color: var(--lime); }
  .page-side, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .features { grid-template-columns: 1fr; margin-top: -3rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 56px; }
  .topbar .wrap { justify-content: center; gap: 1rem; }
  .topbar a:nth-child(2) { display: none; }
  .header-book { display: none; }
  .main-nav { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--navy-deep); }
  .mobile-bar a { color: var(--white); text-align: center; padding: 1rem 0; font-weight: 900; text-decoration: none; }
  .mobile-bar .mobile-book { background: var(--lime); color: var(--navy); }
  .section { padding: 3rem 0; }
}
.field-err { color: #a12020; font-weight: 400; }
.prose, .page-body > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
