/*
Theme Name: LucentSkies
Theme URI: https://lucentskies.com
Author: LucentSkies
Description: Premium editorial WordPress theme for aviation research, clean flight, flight safety, tools and methods.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: lucentskies
License: GNU General Public License v2 or later
*/

:root {
  --ls-bg: #06101d;
  --ls-bg-soft: #0b1828;
  --ls-panel: #0e2034;
  --ls-panel-2: #102941;
  --ls-text: #f5f8fb;
  --ls-muted: #aebdca;
  --ls-silver: #d5dee7;
  --ls-blue: #66b8ff;
  --ls-blue-strong: #2e92ea;
  --ls-line: rgba(213, 222, 231, .15);
  --ls-shadow: 0 24px 70px rgba(0,0,0,.25);
  --ls-radius: 18px;
  --ls-max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ls-bg);
  color: var(--ls-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ls-blue); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; }
::selection { background: var(--ls-blue); color: #06101d; }

.site-shell { overflow: hidden; }
.container { width: min(calc(100% - 40px), var(--ls-max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,16,29,.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ls-line);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: -.02em;
  font-size: 1.12rem;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(102,184,255,.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(circle at 70% 25%, rgba(102,184,255,.35), transparent 45%);
}
.brand-mark::before {
  content: "";
  width: 19px;
  height: 1px;
  background: var(--ls-blue);
  transform: rotate(-28deg);
  box-shadow: 0 5px 0 rgba(213,222,231,.5);
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ls-blue);
  right: 7px;
  top: 8px;
  box-shadow: 0 0 18px var(--ls-blue);
}
.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0;
}
.primary-nav a {
  color: var(--ls-silver);
  font-size: .9rem;
  font-weight: 650;
  letter-spacing: .01em;
}
.primary-nav .current-menu-item > a,
.primary-nav a:hover { color: var(--ls-blue); }
.menu-toggle {
  display: none;
  background: transparent;
  color: var(--ls-text);
  border: 1px solid var(--ls-line);
  border-radius: 10px;
  padding: 8px 11px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 92px 0 80px;
  background-color: #06101d;
  background-image:
    linear-gradient(90deg,
      rgba(4, 12, 23, .96) 0%,
      rgba(4, 12, 23, .88) 24%,
      rgba(4, 12, 23, .62) 47%,
      rgba(4, 12, 23, .22) 72%,
      rgba(4, 12, 23, .08) 100%
    ),
    url("assets/images/lucentskies-hero-aircraft.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(3, 10, 19, .05), rgba(3, 10, 19, .16));
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6,16,29,.08), transparent 68%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr);
  gap: 72px;
  align-items: end;
}
.eyebrow {
  color: var(--ls-blue);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .17em;
  margin-bottom: 20px;
}
.hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
  font-size: clamp(3.4rem, 7.2vw, 7rem);
}
.hero h1 em { color: var(--ls-blue); font-style: normal; }
.hero-copy {
  max-width: 700px;
  margin: 30px 0 34px;
  color: var(--ls-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}
.button-row { display: flex; flex-wrap: wrap; gap: 13px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 999px;
  font-weight: 760;
  font-size: .9rem;
  border: 1px solid transparent;
  transition: .2s ease;
}
.btn-primary { background: var(--ls-blue); color: #07111e; }
.btn-primary:hover { color: #07111e; background: #91ccff; transform: translateY(-1px); }
.btn-secondary { border-color: rgba(213,222,231,.25); color: var(--ls-text); background: rgba(255,255,255,.025); }
.btn-secondary:hover { border-color: var(--ls-blue); color: var(--ls-blue); }

.hero-aside {
  border-left: 1px solid var(--ls-line);
  padding-left: 34px;
  color: var(--ls-muted);
}
.hero-aside strong {
  display: block;
  color: var(--ls-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero-aside p { margin: 0 0 28px; font-size: .95rem; }
.hero-index { display: grid; gap: 15px; }
.hero-index div {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--ls-line);
}
.hero-index span { color: var(--ls-blue); font-size: .75rem; font-weight: 800; }
.hero-index b { color: var(--ls-silver); font-size: .9rem; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 38px;
}
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.section-heading p {
  color: var(--ls-muted);
  max-width: 510px;
  margin: 0;
}
.text-link { color: var(--ls-blue); font-size: .9rem; font-weight: 750; white-space: nowrap; }

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.domain-card {
  min-height: 360px;
  border: 1px solid var(--ls-line);
  border-radius: var(--ls-radius);
  padding: 31px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 55%),
    var(--ls-bg-soft);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.domain-card:hover { transform: translateY(-5px); border-color: rgba(102,184,255,.45); }
.domain-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -70px;
  bottom: -70px;
  border: 1px solid rgba(102,184,255,.2);
  border-radius: 50%;
}
.card-index { color: var(--ls-blue); font-size: .74rem; font-weight: 850; letter-spacing: .14em; }
.domain-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.08;
  font-weight: 500;
  margin: 92px 0 15px;
}
.domain-card p { color: var(--ls-muted); margin: 0 0 24px; font-size: .95rem; }
.domain-card a { color: var(--ls-blue); font-weight: 750; font-size: .88rem; }

.latest-section { background: #f2f5f7; color: #0a1725; }
.latest-section .eyebrow { color: #247fca; }
.latest-section .section-heading p { color: #5d6b78; }
.latest-section .text-link { color: #166eae; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.post-card {
  border-radius: 16px;
  overflow: hidden;
  background: white;
  border: 1px solid #dce4ea;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(19,43,66,.12); }
.post-card-media {
  height: 210px;
  background:
    radial-gradient(circle at 75% 28%, rgba(102,184,255,.5), transparent 25%),
    linear-gradient(145deg, #0a1725, #123c5e);
  position: relative;
  overflow: hidden;
}
.post-card-media::before,
.post-card-media::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
}
.post-card-media::before { width: 260px; height: 260px; right: -95px; top: -70px; }
.post-card-media::after { width: 130px; height: 130px; right: -20px; bottom: -70px; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 25px; }
.post-meta {
  color: #5e7182;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 800;
}
.post-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 14px 0 14px;
  font-weight: 500;
}
.post-card p { color: #5d6b78; font-size: .92rem; margin: 0; }

.manifesto {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
  align-items: start;
}
.manifesto blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.manifesto-text { color: var(--ls-muted); }
.manifesto-text p:first-child { color: var(--ls-silver); font-size: 1.2rem; }
.rule-list { list-style: none; margin: 34px 0 0; padding: 0; }
.rule-list li {
  padding: 14px 0;
  border-top: 1px solid var(--ls-line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.rule-list span { color: var(--ls-blue); font-size: .76rem; font-weight: 800; }

.cta-panel {
  border-radius: 24px;
  padding: 58px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 50px;
  background:
    radial-gradient(circle at 90% 20%, rgba(102,184,255,.25), transparent 28%),
    linear-gradient(135deg, #0d2740, #0a1929);
  border: 1px solid rgba(102,184,255,.25);
}
.cta-panel h2 {
  margin: 0 0 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.cta-panel p { color: var(--ls-muted); margin: 0; }
.cta-actions { display: flex; justify-content: flex-end; }

.page-hero {
  padding: 105px 0 70px;
  background:
    radial-gradient(circle at 80% 20%, rgba(46,146,234,.16), transparent 28%),
    var(--ls-bg-soft);
  border-bottom: 1px solid var(--ls-line);
}
.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 500;
}
.page-hero p { max-width: 680px; color: var(--ls-muted); font-size: 1.1rem; margin: 22px 0 0; }
.content-area { padding: 72px 0 100px; }
.entry-content { color: var(--ls-silver); }
.entry-content h2, .entry-content h3 {
  color: var(--ls-text);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.2;
}
.entry-content h2 { font-size: 2.3rem; margin-top: 2.2em; }
.entry-content h3 { font-size: 1.65rem; margin-top: 1.8em; }
.entry-content p, .entry-content li { color: var(--ls-silver); }
.entry-content a { color: var(--ls-blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
  margin: 2.2em 0;
  padding: 4px 0 4px 28px;
  border-left: 2px solid var(--ls-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  color: var(--ls-text);
}
.entry-content img { border-radius: 14px; }
.entry-content .wp-block-columns { gap: 28px; }

.article-header { padding: 92px 0 55px; border-bottom: 1px solid var(--ls-line); }
.article-kicker { color: var(--ls-blue); text-transform: uppercase; font-size: .78rem; font-weight: 850; letter-spacing: .14em; }
.article-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 500;
  margin: 18px 0 26px;
}
.article-deck { color: var(--ls-muted); font-size: 1.2rem; max-width: 820px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 18px; color: var(--ls-muted); font-size: .82rem; margin-top: 28px; }
.article-featured { margin: 50px auto 0; width: min(calc(100% - 40px), var(--ls-max)); }
.article-featured img { width: 100%; max-height: 680px; object-fit: cover; border-radius: 20px; }
.reading-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--ls-blue);
}
.article-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 760px);
  gap: 54px;
  justify-content: center;
}
.article-side {
  position: sticky;
  top: 115px;
  align-self: start;
  color: var(--ls-muted);
  font-size: .78rem;
}
.article-side strong { display: block; color: var(--ls-text); margin-bottom: 9px; }
.article-side .line { height: 1px; background: var(--ls-line); margin: 18px 0; }

.archive-intro { margin-bottom: 35px; }
.pagination { margin-top: 45px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { padding: 8px 13px; border: 1px solid var(--ls-line); border-radius: 8px; }
.page-numbers.current { background: var(--ls-blue); color: #06101d; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 65px; }
.contact-note { color: var(--ls-muted); }
.contact-form { display: grid; gap: 17px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .8rem; font-weight: 760; color: var(--ls-silver); }
.field input, .field textarea {
  width: 100%;
  color: var(--ls-text);
  background: var(--ls-bg-soft);
  border: 1px solid var(--ls-line);
  border-radius: 11px;
  padding: 13px 14px;
  outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--ls-blue); }
.field textarea { min-height: 180px; resize: vertical; }
.form-notice { padding: 13px 15px; border-radius: 10px; margin-bottom: 18px; }
.form-success { background: rgba(102,184,255,.12); border: 1px solid rgba(102,184,255,.35); }
.form-error { background: rgba(255,110,110,.1); border: 1px solid rgba(255,110,110,.35); }
.hp-field { position: absolute !important; left: -10000px !important; }

.site-footer {
  border-top: 1px solid var(--ls-line);
  background: #040b14;
  padding: 58px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 48px;
}
.footer-brand p { color: var(--ls-muted); max-width: 430px; font-size: .9rem; }
.footer-title { color: var(--ls-text); font-weight: 750; font-size: .82rem; margin-bottom: 15px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { color: var(--ls-muted); font-size: .88rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #7f91a0;
  font-size: .78rem;
  padding-top: 38px;
  margin-top: 38px;
  border-top: 1px solid var(--ls-line);
}

.not-found { text-align: center; padding: 130px 0; }
.not-found h1 { font-family: Georgia, serif; font-size: 6rem; margin: 0; color: var(--ls-blue); }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    padding: 20px;
    border: 1px solid var(--ls-line);
    border-radius: 15px;
    background: #091727;
    box-shadow: var(--ls-shadow);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: 12px; }
  .hero-grid, .manifesto, .cta-panel, .contact-grid { grid-template-columns: 1fr; }
  .hero-aside { border-left: 0; border-top: 1px solid var(--ls-line); padding: 30px 0 0; }
  .domain-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { justify-content: flex-start; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; display: none; }
}
@media (max-width: 680px) {
  body.admin-bar .site-header { top: 46px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--ls-max)); }
  .section { padding: 65px 0; }
  .hero { min-height: auto; padding: 85px 0 66px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .domain-grid, .post-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-heading { display: grid; align-items: start; }
  .cta-panel { padding: 34px 25px; }
  .page-hero { padding: 75px 0 55px; }
  .article-header { padding: 70px 0 45px; }
  .footer-bottom { display: grid; }
}


@media (max-width: 680px) {
  .hero {
    min-height: 720px;
    background-position: 68% center;
  }
}
