/*
Theme Name: Rutherford Aviation
Theme URI: https://rutherfordaviation.com
Author: Rutherford Aviation
Description: Premium one-page WordPress theme for Rutherford Aviation, a pilot-led private aviation charter brokerage.
Version: 0.3.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: rutherford-aviation
*/

:root {
  --ra-black: #050607;
  --ra-obsidian: #090d12;
  --ra-navy: #101925;
  --ra-navy-soft: #172333;
  --ra-cream: #f3efe6;
  --ra-paper: #fbf8f1;
  --ra-white: #ffffff;
  --ra-steel: #9aa3ad;
  --ra-muted: #6f7883;
  --ra-gold: #b99a5f;
  --ra-gold-light: #d6c08b;
  --ra-line: rgba(255,255,255,.15);
  --ra-dark-line: rgba(7,10,14,.12);
  --ra-shadow: 0 30px 100px rgba(0,0,0,.42);
  --ra-max: 1240px;
  --ra-serif: Georgia, 'Times New Roman', serif;
  --ra-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hero-photo: url('assets/images/aircraft-hero.avif');
  --charter-photo: url('assets/images/aircraft-charter.avif');
  --mission-photo: url('assets/images/aircraft-mission.avif');
  --quote-photo: url('assets/images/aircraft-hero.avif');
  --headshot-photo: url('assets/images/micah-rutherford-headshot.jpg');
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ra-sans);
  color: var(--ra-white);
  background: var(--ra-black);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.ra-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(5,6,7,.92), rgba(5,6,7,.68));
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
}
.ra-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 82px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.ra-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}
.ra-brand span {
  color: rgba(255,255,255,.56);
  letter-spacing: .24em;
  font-size: 10px;
  font-weight: 600;
}
.ra-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ra-nav a:hover { color: var(--ra-white); }
.ra-button,
.ra-nav .ra-button,
button.ra-button {
  border: 1px solid rgba(185,154,95,.65);
  background: var(--ra-gold);
  color: #080808;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.ra-button:hover { transform: translateY(-1px); background: var(--ra-gold-light); }
.ra-button.secondary {
  background: rgba(255,255,255,.05);
  color: var(--ra-white);
  border-color: rgba(255,255,255,.32);
}

.ra-hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(5,6,7,.91) 0%, rgba(5,6,7,.74) 44%, rgba(5,6,7,.22) 100%),
    linear-gradient(to top, rgba(5,6,7,1) 0%, rgba(5,6,7,.05) 42%),
    var(--hero-photo);
  background-size: cover;
  background-position: center;
}
.ra-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 34%, rgba(185,154,95,.18), transparent 34%);
  pointer-events: none;
}
.ra-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 160px 34px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}
.ra-eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--ra-gold-light);
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 900;
}
h1, h2, h3 { margin: 0; line-height: 1.03; }
h1 {
  max-width: 900px;
  margin-top: 28px;
  font-family: var(--ra-serif);
  font-weight: 400;
  letter-spacing: -.055em;
  font-size: clamp(54px, 8vw, 108px);
}
.ra-lede {
  max-width: 710px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 350;
}
.ra-hero-sublede {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 18px;
}
.ra-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.ra-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}
.ra-contact-strip strong,
.ra-contact-strip a { color: var(--ra-gold-light); }
.ra-trust-strip {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.ra-trust-item {
  min-height: 96px;
  padding: 22px 18px;
  border-right: 1px solid rgba(255,255,255,.14);
}
.ra-trust-item:last-child { border-right: 0; }
.ra-trust-item strong {
  display: block;
  color: var(--ra-white);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ra-trust-item span {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.56);
  font-size: 13px;
}
.ra-plan-card {
  background: rgba(8,11,15,.82);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--ra-shadow);
  padding: 30px;
  backdrop-filter: blur(18px);
}
.ra-plan-card h2 {
  font-family: var(--ra-serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -.03em;
}
.ra-mini-form { display: grid; gap: 13px; margin-top: 22px; }
.ra-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ra-field { display: grid; gap: 6px; }
.ra-field.full,
.ra-schedule-grid.full { grid-column: 1 / -1; }
.ra-schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ra-schedule-column {
  display: grid;
  gap: 12px;
}
.ra-field label {
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.ra-field input,
.ra-field textarea,
.ra-field select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.62);
  color-scheme: dark;
  border-radius: 0;
  padding: 13px 13px;
  outline: none;
  font-weight: 400;
}
.ra-field input:focus,
.ra-field textarea:focus,
.ra-field select:focus { border-color: rgba(185,154,95,.8); }
.ra-field input::placeholder,
.ra-field textarea::placeholder { color: rgba(255,255,255,.62); opacity: 1; }
.ra-field input:focus::placeholder,
.ra-field textarea:focus::placeholder { color: transparent; }
.ra-field select option { background: #101925; color: rgba(255,255,255,.72); font-weight: 400; }
.ra-field input[type="date"] {
  cursor: pointer;
}
.ra-field input[type="date"]::-webkit-datetime-edit,
.ra-field input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.ra-field input[type="date"]::-webkit-datetime-edit-text,
.ra-field input[type="date"]::-webkit-datetime-edit-month-field,
.ra-field input[type="date"]::-webkit-datetime-edit-day-field,
.ra-field input[type="date"]::-webkit-datetime-edit-year-field { color: rgba(255,255,255,.62); font-weight: 400; }
.ra-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(2.8) contrast(1.05);
  opacity: .72;
  cursor: pointer;
}
.ra-form-note { color: rgba(255,255,255,.58); font-size: 12px; margin: 12px 0 0; }
.ra-checkbox-field label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}
.ra-checkbox-field input { width: auto; margin-top: 2px; }
.ra-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ra-form-alert {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: var(--ra-white);
  font-weight: 700;
}
.ra-form-alert.success { border-color: rgba(185,154,95,.55); }
.ra-form-alert.error { border-color: rgba(255,120,120,.58); }

.ra-section { padding: 108px 34px; position: relative; }
.ra-section.dark { background: var(--ra-black); color: var(--ra-white); }
.ra-section.navy { background: var(--ra-navy); color: var(--ra-white); }
.ra-section.light { background: var(--ra-paper); color: #101418; }
.ra-section-inner { max-width: var(--ra-max); margin: 0 auto; }
.ra-section-header { max-width: 780px; margin-bottom: 44px; }
.ra-section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.ra-section-header .ra-eyebrow { margin-bottom: 20px; }
.ra-section-header h2 {
  font-family: var(--ra-serif);
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 400;
  letter-spacing: -.045em;
}
.ra-section-header p {
  margin: 20px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 18px;
}
.light .ra-section-header p { color: #4f5965; }

.ra-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ra-dark-line); border: 1px solid var(--ra-dark-line); }
.ra-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.ra-card {
  padding: 32px;
  background: rgba(255,255,255,.055);
  min-height: 245px;
}
.light .ra-card { background: var(--ra-paper); }
.ra-card h3 { font-family: var(--ra-serif); font-weight: 400; font-size: 28px; letter-spacing: -.025em; }
.ra-card p { color: rgba(255,255,255,.64); margin: 14px 0 0; }
.light .ra-card p { color: #4f5965; }
.ra-card-label { color: var(--ra-gold); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 900; margin-bottom: 18px; }

.ra-split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.ra-image-panel {
  min-height: 610px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--ra-shadow);
  border: 1px solid rgba(255,255,255,.12);
}
.ra-image-panel.charter { background-image: linear-gradient(to top, rgba(5,6,7,.38), transparent), var(--charter-photo); }
.ra-founder-photo {
  min-height: 650px;
  background-image: linear-gradient(to top, rgba(5,6,7,.18), transparent), var(--headshot-photo);
  background-size: cover;
  background-position: center top;
  border: 1px solid rgba(16,20,24,.14);
  box-shadow: 0 28px 80px rgba(16,20,24,.12);
}
.ra-text-panel { max-width: 640px; }
.ra-text-panel h2 { font-family: var(--ra-serif); font-weight: 400; font-size: clamp(38px, 5vw, 68px); letter-spacing: -.045em; }
.ra-text-panel p { margin: 22px 0 0; color: rgba(255,255,255,.68); font-size: 18px; }
.light .ra-text-panel p { color: #4f5965; }
.ra-checklist { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 15px; }
.ra-checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: rgba(255,255,255,.76); }
.ra-checklist li:before { content: ""; width: 8px; height: 8px; background: var(--ra-gold); margin-top: 9px; }
.light .ra-checklist li { color: #384150; }

.ra-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ra-dark-line); border: 1px solid var(--ra-dark-line); }
.ra-step { padding: 38px; background: var(--ra-paper); color: #101418; min-height: 280px; }
.ra-step-number { color: var(--ra-gold); font-size: 12px; letter-spacing: .2em; font-weight: 900; text-transform: uppercase; }
.ra-step h3 { font-family: var(--ra-serif); font-size: 32px; font-weight: 400; margin-top: 22px; }
.ra-step p { margin: 16px 0 0; color: #4f5965; }
.ra-section-cta { margin-top: 34px; text-align: center; }
.ra-section-cta.left { text-align: left; }

.ra-aircraft-section {
  background-image:
    linear-gradient(to bottom, rgba(5,6,7,.82), rgba(5,6,7,.88)),
    var(--mission-photo);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--ra-white);
}
.ra-aircraft-section .ra-card {
  background: rgba(5,6,7,.58);
  backdrop-filter: blur(12px);
}

.ra-safety-box {
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  padding: 34px;
}
.ra-disclosure {
  margin-top: 28px;
  padding: 22px;
  border-left: 3px solid var(--ra-gold);
  background: rgba(185,154,95,.09);
  color: rgba(255,255,255,.74);
  font-size: 14px;
}
.ra-quote-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(185,154,95,.16), transparent 32%),
    linear-gradient(135deg, #050607 0%, #101925 54%, #050607 100%);
}
.ra-quote-box {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: start;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(5,6,7,.78);
  padding: 42px;
  backdrop-filter: blur(18px);
}
.ra-contact-card {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.72);
  font-size: 14px;
}
.ra-contact-card strong,
.ra-contact-card a { color: var(--ra-gold-light); }
.ra-footer-contact { color: var(--ra-gold-light); word-break: break-word; }
.ra-site-footer {
  background: #030405;
  color: rgba(255,255,255,.58);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 44px 34px;
}
.ra-footer-inner {
  max-width: var(--ra-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  font-size: 13px;
}
.ra-footer-brand { color: var(--ra-white); letter-spacing: .18em; text-transform: uppercase; font-weight: 800; }
.ra-footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }
.ra-footer-disclosure { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; }

.ra-legal-hero {
  min-height: 46vh;
  display: grid;
  align-items: end;
  background-image:
    linear-gradient(90deg, rgba(5,6,7,.92), rgba(5,6,7,.72) 48%, rgba(5,6,7,.36)),
    linear-gradient(to top, rgba(5,6,7,1), rgba(5,6,7,.08)),
    var(--hero-photo);
  background-size: cover;
  background-position: center;
  padding: 150px 34px 70px;
}
.ra-legal-hero-inner,
.ra-legal-content {
  max-width: 980px;
  margin: 0 auto;
}
.ra-legal-hero h1 {
  font-size: clamp(46px, 6vw, 82px);
}
.ra-legal-content {
  padding: 84px 34px 100px;
  color: #17202b;
}
.ra-legal-card {
  background: var(--ra-paper);
  border: 1px solid var(--ra-dark-line);
  box-shadow: 0 24px 70px rgba(16,20,24,.08);
  padding: 44px;
}
.ra-legal-card h2 {
  margin-top: 38px;
  font-family: var(--ra-serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -.025em;
}
.ra-legal-card h2:first-child { margin-top: 0; }
.ra-legal-card p,
.ra-legal-card li { color: #4f5965; }
.ra-legal-card ul { margin: 14px 0 0; padding-left: 22px; }
.ra-legal-note {
  margin-top: 30px;
  padding: 20px;
  border-left: 3px solid var(--ra-gold);
  background: rgba(185,154,95,.11);
  color: #384150;
}

@media (max-width: 1050px) {
  .ra-nav a:not(.ra-button) { display: none; }
  .ra-hero-inner, .ra-split, .ra-quote-box { grid-template-columns: 1fr; }
  .ra-plan-card { max-width: 680px; }
  .ra-trust-strip { grid-template-columns: repeat(2, 1fr); }
  .ra-grid-4, .ra-grid-3, .ra-process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .ra-header-inner { min-height: 68px; padding: 0 18px; }
  .ra-brand { font-size: 12px; }
  .ra-brand span { display: none; }
  .ra-nav { gap: 10px; }
  .ra-nav .ra-button { min-height: 40px; padding: 0 13px; font-size: 11px; }
  .ra-hero-inner { padding: 118px 18px 52px; gap: 36px; }
  h1 { font-size: clamp(46px, 14vw, 72px); }
  .ra-lede { font-size: 17px; }
  .ra-hero-sublede { font-size: 16px; }
  .ra-hero-actions .ra-button { width: 100%; }
  .ra-trust-strip, .ra-grid-4, .ra-grid-3, .ra-process, .ra-form-grid, .ra-schedule-grid, .ra-footer-inner { grid-template-columns: 1fr; }
  .ra-trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .ra-section { padding: 72px 18px; }
  .ra-card, .ra-step, .ra-plan-card, .ra-quote-box, .ra-safety-box, .ra-legal-card { padding: 24px; }
  .ra-image-panel, .ra-founder-photo { min-height: 420px; }
  .ra-footer-links { justify-content: flex-start; }
}
