/* Short Wing Super Cub — static site styles */
:root {
  --ink: #141a22;
  --ink-soft: #2a3340;
  --slate: #4a5563;
  --muted: #6b7785;
  --paper: #f7f3ec;
  --paper-deep: #efe7da;
  --card: #ffffff;
  --line: rgba(20, 26, 34, 0.1);
  --orange: #e07020;
  --orange-deep: #c05510;
  --orange-soft: #f4a261;
  --sky: #3d6f91;
  --sky-deep: #1f4a66;
  --success: #2f6b45;
  --shadow: 0 18px 50px rgba(15, 23, 32, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --header-h: 76px;
  --font: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(224, 112, 32, 0.08), transparent 28%),
    linear-gradient(180deg, #fbf8f2 0%, var(--paper) 40%, #f3eee5 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sky-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--orange-deep);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.55em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }

p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 26, 34, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: white;
  text-decoration: none;
  min-width: 0;
}

.brand:hover { color: white; }

.brand__mark {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--orange), var(--orange-deep));
  color: white;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(224, 112, 32, 0.35);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__title {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.brand__tagline {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.site-nav .nav-cta {
  background: var(--orange);
  color: white;
  margin-left: 0.35rem;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  background: var(--orange-deep);
  color: white;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: white;
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

/* Hero */
.hero {
  position: relative;
  color: white;
  overflow: hidden;
  background: #0f1620;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.55;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 18, 26, 0.92) 0%, rgba(12, 18, 26, 0.7) 48%, rgba(12, 18, 26, 0.35) 100%),
    linear-gradient(0deg, rgba(12, 18, 26, 0.75), transparent 45%);
}

.hero__content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 1.25rem clamp(3rem, 6vw, 5rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 1rem;
}

.hero__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  color: white;
  max-width: 12ch;
  margin-bottom: 0.75rem;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  max-width: 38rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--orange);
  color: white;
}

.btn--primary:hover {
  background: var(--orange-deep);
  color: white;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: white;
}

.btn--dark {
  background: var(--ink);
  color: white;
}

.btn--dark:hover {
  background: var(--ink-soft);
  color: white;
}

/* Layout shells */
.page-shell,
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.75rem;
  align-items: start;
}

.content-card,
.panel,
.feature-card,
.gallery-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 48rem;
}

/* Prose / images */
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }

.prose img,
.gallery-grid img,
.photo-frame img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.prose a img {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prose a:hover img {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 32, 0.16);
}

.prose .aligncenter,
.prose p img,
.prose p a {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.prose p a:has(img) {
  text-decoration: none;
}

.photo-stack {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.photo-stack--2 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.photo-frame {
  margin: 0;
}

.photo-frame figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.callout {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--orange);
  background: linear-gradient(90deg, rgba(224, 112, 32, 0.08), transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
}

.callout strong {
  color: var(--orange-deep);
}

/* Sidebar build list */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.build-panel {
  background: var(--ink);
  color: white;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.build-panel__title {
  font-size: 1.15rem;
  color: white;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.build-list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.build-list__link {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.55rem;
  align-items: start;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease;
}

.build-list__link:hover,
.build-list__link.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.build-list__link.is-active {
  background: rgba(224, 112, 32, 0.22);
  box-shadow: inset 0 0 0 1px rgba(224, 112, 32, 0.45);
}

.build-list__num {
  color: var(--orange-soft);
  font-family: var(--display);
  font-size: 1rem;
}

.build-panel__cta {
  display: block;
  text-align: center;
  text-decoration: none;
  background: var(--orange);
  color: white;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.build-panel__cta:hover {
  background: var(--orange-deep);
  color: white;
}

/* Home sections */
.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-header p {
  margin: 0;
  color: var(--slate);
  max-width: 36rem;
}

.story-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.story-band .panel {
  padding: clamp(1.4rem, 3vw, 2rem);
}

.story-band__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.story-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.5rem 0 0;
}

.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--orange-deep);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.15rem;
}

.feature-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  color: inherit;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 32, 0.16);
  color: inherit;
}

.feature-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--paper-deep);
}

.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.feature-card:hover .feature-card__media img {
  transform: scale(1.05);
}

.feature-card__body {
  padding: 1rem 1.1rem 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.feature-card__step {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.feature-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

.cta-band {
  margin: 0 auto 3.5rem;
  max-width: var(--max);
  padding: 0 1.25rem;
}

.cta-band__inner {
  background:
    linear-gradient(125deg, rgba(31, 74, 102, 0.95), rgba(20, 26, 34, 0.96)),
    url("/assets/images/all_done_05_big.jpg") center/cover;
  color: white;
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: white;
  margin-bottom: 0.35rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-card {
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card figcaption {
  padding: 0.75rem 0.9rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.form-card,
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row--2 {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.req {
  color: var(--orange-deep);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fbfaf8;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(224, 112, 32, 0.18);
  background: white;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.info-list li {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
}

.info-list strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.info-list a {
  font-weight: 700;
  text-decoration: none;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(47, 107, 69, 0.1);
  color: var(--success);
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

/* Step nav */
.step-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.step-nav__link {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.step-nav__link:hover {
  border-color: var(--orange);
  transform: translateY(-1px);
  color: inherit;
}

.step-nav__link--next {
  text-align: right;
}

.step-nav__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.step-nav__title {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 1rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.75rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand strong {
  display: block;
  color: white;
  font-family: var(--display);
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.footer-brand p,
.footer-contact p {
  margin: 0 0 0.45rem;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
}

.footer-heading {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--orange-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 1.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 12, 18, 0.9);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

body.lightbox-open,
body.nav-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 960px) {
  .page-grid,
  .story-band,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .brand__tagline {
    max-width: 50vw;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(20, 26, 34, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .form-row--2 {
    grid-template-columns: 1fr;
  }

  .step-nav {
    grid-template-columns: 1fr;
  }

  .step-nav__link--next {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .brand__tagline {
    display: none;
  }
}
