/*
Theme Name: Planet Flight
Theme URI: https://planetflight.org
Author: Rahma Wali
Author URI: https://planetflight.org
Description: Official Planet Flight website — Where Drone Meets World. Environmental justice nonprofit advancing drone technology, aerospace education, and community empowerment.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: planet-flight
Tags: nonprofit, custom-colors, custom-menu, full-width-template
*/

:root {
  --white: #ffffff;
  --off: #f7f9f7;
  --green-deep: #0a2e1a;
  --green-mid: #1a5c34;
  --green-bright: #1db954;
  --green-electric: #00e676;
  --black: #080f0a;
  --ink: #1a1f1b;
  --muted: #6b7c70;
  --border: #e2ebe4;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { cursor: pointer; text-decoration: none; }
.nav-logo-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--green-deep); letter-spacing: -0.02em; }
.nav-logo-tag { font-size: 0.6rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.78rem; font-weight: 500; color: var(--muted); text-decoration: none; letter-spacing: 0.03em; cursor: pointer; transition: color 0.2s; }
.nav-links a:hover,
.nav-links .current-menu-item a,
.nav-links .current_page_item a { color: var(--green-deep); }
.nav-links li:last-child a {
  background: var(--green-deep); color: var(--white) !important;
  padding: 0.5rem 1.3rem; border-radius: 100px;
  font-size: 0.75rem !important; font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-links li:last-child a:hover { background: var(--green-mid) !important; }

/* HERO */
.hero {
  min-height: 100vh; padding: 9rem 3rem 5rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--green-deep);
}
.hero-canvas {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 30%, rgba(0,230,118,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 5% 75%, rgba(26,92,52,0.5) 0%, transparent 55%);
}
.hero-topo {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,230,118,0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,230,118,0.28) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 100% 100% at 65% 40%, black 40%, transparent 85%);
}
.hero-eyebrow { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-electric); margin-bottom: 2rem; opacity: 0; animation: up 0.7s ease 0.2s forwards; }
.hero-h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(3.5rem, 8.5vw, 8rem); line-height: 0.93; letter-spacing: -0.03em; color: var(--white); max-width: 900px; margin-bottom: 2.25rem; opacity: 0; animation: up 0.7s ease 0.35s forwards; }
.hero-h1 em { font-style: italic; color: var(--green-electric); }
.hero-sub { font-size: clamp(0.9rem, 1.4vw, 1.1rem); font-weight: 300; color: rgba(255,255,255,0.6); max-width: 540px; line-height: 1.8; margin-bottom: 3rem; opacity: 0; animation: up 0.7s ease 0.5s forwards; }
.hero-sub strong { color: rgba(255,255,255,0.9); font-weight: 500; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: up 0.7s ease 0.65s forwards; }
.btn-solid { background: var(--green-electric); color: var(--green-deep); border: none; padding: 0.875rem 2rem; border-radius: 100px; font-family: var(--sans); font-size: 0.83rem; font-weight: 700; cursor: pointer; letter-spacing: 0.02em; transition: all 0.2s; white-space: nowrap; text-decoration: none; display: inline-block; }
.btn-solid:hover { background: #4dffa0; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.2); padding: 0.875rem 2rem; border-radius: 100px; font-family: var(--sans); font-size: 0.83rem; font-weight: 400; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-dark { background: var(--green-deep); color: var(--white); }
.btn-dark:hover { background: var(--green-mid); }
.hero-stats { position: absolute; right: 3rem; bottom: 4rem; display: flex; flex-direction: column; gap: 2rem; text-align: right; opacity: 0; animation: up 0.7s ease 0.8s forwards; }
.stat-n { font-family: var(--serif); font-size: 2.75rem; font-weight: 700; color: var(--green-electric); line-height: 1; }
.stat-l { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-top: 3px; }

/* TICKER */
.ticker { background: var(--green-electric); padding: 0.65rem 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: tick 32s linear infinite; }
.t-item { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-deep); padding: 0 1.75rem; }

/* SECTIONS */
.section { padding: 7rem 3rem; }
.section-alt { background: var(--off); }
.section-dark { background: var(--green-deep); color: var(--white); }

.label-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-mid); margin-bottom: 1.25rem; }
.label-tag::before { content: ''; width: 18px; height: 1.5px; background: var(--green-bright); display: block; }
.label-light { color: var(--green-electric); }
.label-light::before { background: var(--green-electric); }

.h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 1.5rem; }
.h2 em { font-style: italic; color: var(--green-mid); }
.h2-light { color: var(--white); }
.h2-light em { color: var(--green-electric); }
.body-text { font-size: 1rem; line-height: 1.82; color: var(--muted); max-width: 640px; }

/* PROBLEM */
.problem-two { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; margin-top: 4rem; }
.big-quote { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 300; font-style: italic; line-height: 1.5; color: var(--ink); border-left: 3px solid var(--green-bright); padding-left: 2rem; }
.big-quote strong { font-style: normal; font-weight: 700; color: var(--green-deep); }

/* PILLARS */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 4rem; border: 1px solid var(--border); }
.pillar { padding: 2.75rem 2.25rem; border-right: 1px solid var(--border); transition: background 0.2s; }
.pillar:last-child { border-right: none; }
.pillar:hover { background: #f0f7f2; }
.p-num { font-family: var(--serif); font-size: 0.72rem; font-weight: 700; font-style: italic; color: var(--green-bright); margin-bottom: 0.85rem; }
.p-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--green-deep); margin-bottom: 1rem; line-height: 1.15; }
.p-tag-red { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #c0392b; margin-top: 1.25rem; margin-bottom: 0.35rem; }
.p-tag-green { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-mid); margin-top: 1.25rem; margin-bottom: 0.35rem; }
.p-text { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
.p-bullets { list-style: none; margin-top: 0.5rem; }
.p-bullets li { font-size: 0.82rem; color: var(--ink); padding: 0.4rem 0 0.4rem 1.1rem; border-bottom: 1px solid var(--border); position: relative; line-height: 1.55; }
.p-bullets li:last-child { border-bottom: none; }
.p-bullets li::before { content: '→'; position: absolute; left: 0; color: var(--green-bright); font-size: 0.68rem; top: 0.48rem; }

/* FOUNDER */
.founder-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 6rem; align-items: start; margin-top: 3.5rem; }
.founder-card { background: var(--green-deep); padding: 2.5rem; position: relative; overflow: hidden; }
.founder-card::before { content: '\201C'; font-family: var(--serif); font-size: 11rem; color: rgba(0,230,118,0.07); position: absolute; top: -1.5rem; left: 0.5rem; line-height: 1; pointer-events: none; }
.f-photo { width: 100%; aspect-ratio: 4/5; background: linear-gradient(135deg, rgba(0,230,118,0.08), rgba(26,92,52,0.25)); border: 1px solid rgba(0,230,118,0.15); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.f-icon { font-size: 3rem; opacity: 0.25; color: var(--green-electric); }
.f-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--white); }
.f-role { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-electric); margin-top: 0.3rem; }
.f-quote { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); font-style: italic; font-weight: 300; color: var(--ink); line-height: 1.55; margin-bottom: 2rem; }
.f-body { font-size: 0.95rem; color: var(--muted); line-height: 1.85; }
.f-body p + p { margin-top: 1rem; }
.f-sig { font-family: var(--serif); font-style: italic; color: var(--green-mid); margin-top: 1.5rem; font-size: 0.95rem; }

/* VISION */
.v-text { font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 300; line-height: 1.5; color: rgba(255,255,255,0.8); max-width: 860px; margin-bottom: 1.75rem; }
.v-close { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 700; color: var(--green-electric); margin-top: 2.5rem; line-height: 1.3; }

/* VALUES */
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; margin-top: 3rem; border: 1px solid var(--border); }
.val { padding: 2.5rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background 0.2s; }
.val:nth-child(2n) { border-right: none; }
.val:nth-child(n+4) { border-bottom: none; }
.val:hover { background: #f0f7f2; }
.val-roman { font-family: var(--serif); font-style: italic; font-size: 0.82rem; color: var(--green-bright); margin-bottom: 0.5rem; }
.val-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--green-deep); margin-bottom: 0.65rem; line-height: 1.2; }
.val-text { font-size: 0.85rem; color: var(--muted); line-height: 1.75; }

/* SERVE */
.serve-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; margin-top: 3rem; border: 1px solid var(--border); }
.serve { padding: 2.5rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background 0.2s; }
.serve:nth-child(2n) { border-right: none; }
.serve:nth-child(n+3) { border-bottom: none; }
.serve:hover { background: #f0f7f2; }
.serve-title { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--green-deep); margin-bottom: 0.55rem; }
.serve-text { font-size: 0.85rem; color: var(--muted); line-height: 1.75; }

/* PROGRAM PAGE */
.pg-hero { padding: 9rem 3rem 5rem; background: var(--green-deep); }
.pg-hero h1 { font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 900; color: var(--white); line-height: 0.95; letter-spacing: -0.03em; margin-top: 1.5rem; max-width: 800px; }
.pg-hero h1 em { color: var(--green-electric); font-style: italic; }
.divider-bright { width: 44px; height: 2px; background: var(--green-electric); margin: 2.25rem 0 1rem; }
.pg-hero p { font-size: 0.975rem; color: rgba(255,255,255,0.55); max-width: 600px; line-height: 1.8; }

.prog-block { padding: 5.5rem 3rem; border-bottom: 1px solid var(--border); }
.prog-block:nth-child(even) { background: var(--off); }
.prog-inner { display: grid; grid-template-columns: 240px 1fr; gap: 5rem; max-width: 1180px; }
.prog-n { font-family: var(--serif); font-size: 5rem; font-weight: 900; color: var(--border); line-height: 1; }
.prog-t { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--green-deep); line-height: 1.15; margin-top: 0.25rem; }
.prob-box { background: #fdf3f3; border-left: 3px solid #c0392b; padding: 1.2rem 1.5rem; margin-bottom: 1.4rem; border-radius: 0 4px 4px 0; }
.prob-tag { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #c0392b; margin-bottom: 0.35rem; }
.prob-text { font-size: 0.875rem; color: var(--ink); line-height: 1.7; }
.impt-box { background: #f0f7f2; border-left: 3px solid var(--green-bright); padding: 1.2rem 1.5rem; margin-bottom: 1.4rem; border-radius: 0 4px 4px 0; }
.impt-tag { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-mid); margin-bottom: 0.35rem; }
.impt-text { font-size: 0.875rem; color: var(--ink); line-height: 1.7; }
.impt-list { list-style: none; margin-top: 0.65rem; }
.impt-list li { font-size: 0.85rem; color: var(--ink); padding: 0.45rem 0 0.45rem 1.2rem; border-bottom: 1px solid var(--border); position: relative; line-height: 1.55; }
.impt-list li:last-child { border-bottom: none; }
.impt-list li::before { content: '→'; position: absolute; left: 0; color: var(--green-bright); font-size: 0.72rem; top: 0.5rem; }

.track-card { margin-top: 1.25rem; padding: 1.2rem 1.4rem; border: 1px solid var(--border); border-radius: 4px; }
.track-card.featured { border-color: var(--green-bright); background: #f0f7f2; }
.track-age { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-bright); margin-bottom: 0.35rem; }
.track-card.featured .track-age { color: var(--green-deep); }
.track-name { font-size: 0.82rem; font-weight: 700; color: var(--green-deep); margin-bottom: 0.4rem; }
.track-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

/* IMPACT PAGE */
.impact-placeholder { padding: 7rem 3rem; text-align: center; }
.impact-inner { border: 1px dashed var(--border); padding: 5rem 3rem; max-width: 580px; margin: 0 auto; border-radius: 6px; }
.impact-inner h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin-bottom: 1rem; }
.impact-inner p { font-size: 0.9rem; color: var(--muted); line-height: 1.8; }

/* INVOLVED PAGE */
.part-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; margin-top: 3rem; border: 1px solid var(--border); }
.part { padding: 3rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background 0.2s; }
.part:nth-child(2n) { border-right: none; }
.part:nth-child(n+3) { border-bottom: none; }
.part:hover { background: #f0f7f2; }
.part-type { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-mid); margin-bottom: 0.65rem; }
.part-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--green-deep); margin-bottom: 0.7rem; line-height: 1.2; }
.part-text { font-size: 0.85rem; color: var(--muted); line-height: 1.75; margin-bottom: 1.2rem; }
.part-cta { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--green-mid); cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; transition: all 0.2s; text-decoration: none; }
.part-cta:hover { color: var(--green-deep); gap: 0.7rem; }

.contact-section { background: var(--green-deep); padding: 6rem 3rem; text-align: center; }
.contact-section h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.contact-section p { font-size: 0.975rem; color: rgba(255,255,255,0.55); margin-bottom: 2.5rem; max-width: 440px; margin-left: auto; margin-right: auto; }
.contact-link { font-family: var(--serif); font-size: 1.45rem; font-style: italic; color: var(--green-electric); text-decoration: none; border-bottom: 1px solid rgba(0,230,118,0.28); padding-bottom: 0.15rem; transition: border-color 0.2s; }
.contact-link:hover { border-color: var(--green-electric); }
.contact-meta-line { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-top: 1.5rem; }

/* FOOTER */
footer { background: var(--black); padding: 2.25rem 3rem; display: flex; align-items: center; justify-content: space-between; }
.fl-name { font-family: var(--serif); font-size: 0.975rem; font-weight: 700; color: var(--white); }
.fl-tag { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.fc { font-size: 0.62rem; letter-spacing: 0.06em; color: var(--muted); text-align: center; line-height: 1.7; }
.fr { font-size: 0.62rem; color: var(--muted); text-align: right; line-height: 1.7; }
.fr a { color: var(--green-bright); text-decoration: none; }

/* ANIMATIONS */
@keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* RESPONSIVE */
@media (max-width: 960px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.25rem; }
  .section, .pg-hero, .prog-block { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero { padding-left: 1.5rem; padding-right: 1.5rem; }
  .problem-two, .founder-wrap, .prog-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pillars, .values-grid, .serve-grid, .part-grid { grid-template-columns: 1fr; }
  .pillar, .val, .serve, .part { border-right: none !important; }
  .hero-stats { display: none; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .fr { text-align: center; }
}
