/* Root variables */
:root {
  --bg: #ffffff;        /* white */
  --bg-alt: #ffffff;    /* card background */
  --text: #111827;      /* deep slate text */
  --muted: #6b7280;     /* muted gray text */
  --accent: #b45309;    /* warm bronze/amber accent (buttons, etc.) */
  --accent-soft: #fef3c7; /* pale amber for callouts */
  --border: #e5e7eb;    /* light neutral border */
  --nav: #1f2937;       /* NAVY for nav links */
  --max-width: 980px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* Global reset / layout */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header & navigation */

header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92); /* light, neutral, not beige */
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06); /* subtle separation */
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: flex-end;      /* bottom-align logo+tagline and nav */
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo + tagline block */

.brand-strip {
  display: inline-flex;
  flex-direction: column;   /* stack logo and tagline */
  align-items: center;      /* center tagline under logo */
  gap: 0.25rem;
  margin-bottom: 0;
}

.header-logo {
  display: block;
  flex-shrink: 0;
}

.header-logo img {
  display: block;
  width: 200px;   /* main logo width on desktop */
  height: auto;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  line-height: 1.3;
}

/* Nav links */

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

nav a {
  padding: 0.25rem 0.2rem;
  border-bottom: 1px solid transparent;
  color: var(--nav);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

nav a:hover {
  border-bottom-color: var(--nav);
  text-decoration: none;
}

/* Sections */

main {
  flex: 1;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.section-narrow {
  max-width: 720px;
}

.top-hero {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.top-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.process-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.process-hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start; /* top-align hero text with image */
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.hero-text p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.hero-subline {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.btn-primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.btn-ghost {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-image {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.hero-image-inner {
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 100%;
  max-height: 320px;
}

.hero-image-inner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-placeholder {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  background: repeating-linear-gradient(
    -45deg,
    #f9fafb,
    #f9fafb 10px,
    #e5e7eb 10px,
    #e5e7eb 20px
  );
  font-size: 0.85rem;
}

/* Section headers */

.section-header {
  margin-bottom: 1.75rem;
}

.section-title {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 0.35rem;
  font-weight: 500;
}

.section-heading {
  font-size: 1.4rem;
  margin: 0;
}

.section-description {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.96rem;
}

/* === Build Path with Circular Thumbnails === */

.build-path-images {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.build-path-images li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.step-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-text {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text);
}

.step-text strong {
  display: inline-block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Stage panel */
.process-stage {
  border-radius: var(--radius-lg);
  border: none;             /* remove any border */
  background: #ffffff;      /* pure white */
  padding: 1rem 0;          /* less “boxed in”, more open */
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.process-stage img {
  border-radius: var(--radius-sm);
  max-width: 100%;
  height: auto;
  display: block;
}

.process-separator {
  margin: 1.5rem 0 2rem;
  border: none;
  border-top: 1px solid var(--border);
  opacity: 0.6;
}

.build-path-images li {
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}


/* Give each step a light container so the active state has somewhere to live */
.build-path-images li {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.5rem;
}


.build-path-images li.active-step {
  border-color: var(--nav);
  background: rgba(31, 41, 55, 0.04);
}

html {
  scroll-behavior: smooth;       /* optional, but nice */
}

/* Make anchored sections stop a bit lower to account for the sticky header */
.section {
  scroll-margin-top: 80px;       /* adjust if your header is taller/shorter */
}

/* Available now block */

.available-wrapper {
  margin-bottom: 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  padding: 1.25rem 1.5rem;
}

.available-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.available-plane {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  font-size: 0.95rem;
}

.available-name {
  font-weight: 600;
}

.available-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.available-note {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Planes grid / cards */

.planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* Sauer-adjacent: simpler tiles, less "card UI" */
.plane-card {
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Plane image wrapper – Apple-style clean */
.plane-image-wrapper {
  border-radius: 0;        /* removes rounded card feel */
  overflow: visible;       /* prevents clipping soft shadows later */
  border: none;            /* remove border box */
  background: none;        /* remove gray background */
  min-height: auto;        /* image dictates height */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Hover effect applied to the image only */
/* 
.plane-card:hover .plane-image-wrapper img {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
 */

.plane-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;   /* cleaner shape, less cropping */
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.plane-placeholder {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 1rem;
  text-align: center;
}

.plane-meta {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.plane-name {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.plane-note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: flex-start;
}

.process-callout {
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
  color: #4a3a2b;
}

.process-callout strong {
  font-size: 0.95rem;
}

/* About */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
  gap: 1.75rem;
  align-items: flex-start;
}

.about-photo {
  background: var(--bg-alt);
  border-radius: 999px;
  width: 170px;
  height: 170px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-placeholder {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  padding: 1.5rem 1rem;
}

/* Contact */

.contact-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem 1.4rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  font-size: 0.95rem;
}

.contact-email {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
}

.contact-email a {
  word-break: break-all;
}

/* Footer */

footer {
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  padding: 1rem 1.25rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

  /* show hamburger, hide nav links by default */
/* Base: desktop first – hide hamburger, show text nav */
.nav-toggle {
  display: none;              /* hidden on desktop */
  background: none;
  border: none;
  padding: 0;
  margin-left: 1rem;
  cursor: pointer;
}

/* The three bars */
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nav);
  border-radius: 999px;
}

/* Space between the bars */
.nav-toggle span + span {
  margin-top: 4px;
}

/* Responsive tweaks */

@media (max-width: 800px) {
  .hero,
  .process-grid,
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    align-items: flex-start;
  }

  .hero-image {
    order: -1;
  }

  /* nav layout tweaks */
  .nav-inner {
    align-items: center;
  }

  nav {
    margin-left: auto;
    position: relative;
  }

  /* show hamburger, hide nav links by default */
  .nav-toggle {
    display: inline-flex;         /* now visible on mobile */
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  nav ul {
    display: none;               /* hide links on mobile until open */
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    padding: 0.75rem 1rem 1rem;
    margin-top: 0.25rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    gap: 0.4rem;
    z-index: 30;
  }

  nav ul li a {
    border-bottom: none;
  }

  /* when header has .nav-open, show the menu */
  header.nav-open nav ul {
    display: flex;
  }

  /* logo size tweak already here */
  .header-logo img {
    width: 150px;
  }
}

@media (max-width: 600px) {
  .available-plane {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Work in progress */

.wip-wrapper {
  margin-top: 2rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  padding: 1.25rem 1.5rem;
}

.wip-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.wip-item + .wip-item {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.wip-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.wip-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.wip-stage-label {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

/* Segmented progress bar */

.wip-progress-row {
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  background: #e5e7eb;
}

.wip-segment {
  flex: 1;
  font-size: 0.7rem;
  padding: 0.3rem 0.35rem;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: var(--muted);
}

.wip-segment.complete {
  background: var(--accent);
  color: #ffffff;
}

.wip-segment.current {
  background: var(--nav);
  color: #ffffff;
}

/* Make steps obviously clickable if you ever want to react to them later */
.wip-segment:hover {
  filter: brightness(0.97);
}

@media (max-width: 600px) {
  .available-plane {
    flex-direction: column;
    align-items: flex-start;
  }

  .wip-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .wip-stage-label {
    white-space: normal;
    font-size: 0.75rem;
  }

  /* Mobile: keep a horizontal progress bar, but hide the labels inside */
  .wip-progress-row {
    flex-direction: row;          /* stay as a bar */
    border-radius: 999px;
    overflow: hidden;
    background: #e5e7eb;
    height: 10px;                 /* slim bar */
  }

  .wip-segment {
    font-size: 0;                 /* hide text inside segments */
    padding: 0;                   /* segments are just colored slices */
  }

  .wip-segment + .wip-segment {
    border-top: none;             /* no separators in the slim bar */
  }
}