/* Vrije Vlucht — company homepage
   Palette and wordmark follow the current maintenance page. */

:root {
  --ink-0: #0a100e;
  --ink-1: #0c1210;
  --ink-2: #151d1a;
  --ink-3: #1c2621;
  --paper: #eef3ef;
  --mute: #8a9a90;
  --mute-2: #b3c0b6;
  --signal: #c8f54a;
  --signal-soft: rgba(200, 245, 74, 0.14);
  --signal-glow: rgba(200, 245, 74, 0.12);
  --line: rgba(215, 224, 216, 0.14);
  --line-strong: rgba(215, 224, 216, 0.28);
  --nav-h: 4.5rem;
  --wrap: 70rem;
  --radius: 1rem;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background-color: var(--ink-0);
}

html, body { margin: 0; }

body {
  min-height: 100%;
  color: var(--paper);
  background-color: var(--ink-0);
  background-image:
    radial-gradient(ellipse 80% 55% at 18% 6%, var(--signal-glow), transparent 55%),
    radial-gradient(ellipse 60% 40% at 92% 12%, rgba(90, 140, 110, 0.16), transparent 55%),
    linear-gradient(180deg, var(--ink-0) 0%, var(--ink-2) 14rem, var(--ink-0) 36rem);
  background-repeat: no-repeat;
  background-size: 100% 48rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--signal);
  color: var(--ink-0);
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.4rem;
}
.skip-link:focus { top: 1rem; }

/* ——— Type ——— */
.brand,
.nav-links a,
.btn,
.eyebrow,
.ghost-link,
.work-label,
.nav-toggle {
  font-family: Syne, system-ui, sans-serif;
}

h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
  color: var(--paper);
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

p { margin: 0; color: var(--mute-2); }

.eyebrow,
.work-label {
  margin: 0 0 0.85rem;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede,
.sec-lede,
.about-lede {
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--mute-2);
}

.section-head { margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: 0.85rem; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 0.7rem;
  background: var(--signal);
  color: var(--ink-0);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1.5px solid var(--signal);
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 245, 74, 0.18);
}
.btn:focus-visible,
.ghost-link:focus-visible,
.nav-links a:focus-visible,
.brand:focus-visible,
.bundle-list a:focus-visible,
.foot-nav a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}
.btn-lg { padding: 1rem 1.55rem; font-size: 1rem; }

.ghost-link {
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}
.ghost-link:hover {
  color: var(--signal);
  border-color: var(--signal);
}

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 70;
  height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
  background: transparent;
}

.nav.scrolled {
  background: rgba(10, 16, 14, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--signal);
  text-decoration: none;
  flex-shrink: 0;
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--paper);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--signal); }

.nav-cta {
  border: 1.5px solid var(--signal) !important;
  color: var(--signal) !important;
  border-radius: 0.7rem;
  padding: 0.55rem 1rem;
}
.nav-cta:hover {
  background: var(--signal) !important;
  color: var(--ink-0) !important;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 80;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  margin: 6px auto;
  background: var(--paper);
  transition: transform 0.25s var(--ease);
}
.nav.menu-open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.menu-open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.nav-backdrop {
  display: none;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: center;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: auto auto 10% 8%;
  width: min(36rem, 70vw);
  height: min(36rem, 70vw);
  background: radial-gradient(circle, rgba(200, 245, 74, 0.16), transparent 65%);
  pointer-events: none;
  animation: hero-glow 6s ease-in-out infinite alternate;
}

.hero-content { position: relative; }

.hero .lede { margin: 1.4rem 0 2.15rem; }

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

.hero-content.is-animated > * {
  animation: rise 0.8s var(--ease) both;
}
.hero-content.is-animated .eyebrow { animation-delay: 0.05s; }
.hero-content.is-animated h1 { animation-delay: 0.12s; }
.hero-content.is-animated .lede { animation-delay: 0.2s; }
.hero-content.is-animated .hero-cta { animation-delay: 0.28s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-glow {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 1; transform: scale(1.08); }
}

/* ——— Sections ——— */
.section {
  padding: 5.5rem 0;
}

.services {
  border-top: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.card,
.usp-item,
.work-feature,
.contact-card {
  background: #121a17;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.card:hover,
.work-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 245, 74, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.card h3,
.usp-item h3,
.work-feature h3 { margin-bottom: 0.7rem; }

/* ——— Mission ——— */
.mission { padding-top: 4.5rem; padding-bottom: 4.5rem; }

.mission-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.mission-visual {
  min-height: 22rem;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 70% at 30% 20%, rgba(200, 245, 74, 0.16), transparent 55%),
    linear-gradient(165deg, #0f1714, #1a2420 60%, #0c1210);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
}

.mission-mark {
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--signal);
  letter-spacing: -0.04em;
  margin: 0;
}

.mission-year {
  margin-top: 0.6rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  color: var(--mute-2);
}

.mission-text h2 { margin-bottom: 1rem; }
.mission-text p { max-width: 36rem; }

/* ——— USP ——— */
.usp { border-top: 1px solid var(--line); }

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

/* ——— Work ——— */
.work { border-top: 1px solid var(--line); }

.work-blocks {
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.9fr;
  gap: 1.15rem;
}

.work-intro { margin: 0 0 1.1rem; }

.work-list,
.bundle-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.work-list li,
.bundle-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.work-list li:first-child,
.bundle-list li:first-child { border-top: 0; padding-top: 0; }

.work-list strong { color: var(--paper); font-weight: 600; }
.work-list span,
.bundle-list span { color: var(--mute); font-size: 0.95rem; }

.bundle-list a {
  color: var(--signal);
  font-family: Syne, sans-serif;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.bundle-list a:hover { border-bottom-color: var(--signal); }

/* ——— About / founder ——— */
.about {
  padding: 0;
  border-top: 1px solid var(--line);
}

.about-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 28rem;
  overflow: hidden;
  background: var(--ink-0);
}

.about-photo {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  left: auto;
  width: auto;
  height: 82%;
  max-width: 70%;
  object-fit: contain;
  object-position: right bottom;
}

.about-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #0a100e 0%,
    rgba(10, 16, 14, 0.94) 28%,
    rgba(10, 16, 14, 0.7) 48%,
    rgba(10, 16, 14, 0.25) 66%,
    rgba(10, 16, 14, 0) 82%
  );
}

.about-inner.wrap {
  position: relative;
  z-index: 1;
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: 100%;
  display: flex;
  align-items: center;
  padding: 4.5rem 0;
}

.about-text { max-width: 34rem; }
.about-text h2 { margin-bottom: 1.1rem; }
.about-text .about-lede { color: var(--mute-2); }

/* ——— Contact ——— */
.closing {
  border-top: 1px solid var(--line);
}

.closing-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.closing-intro h2 { margin-bottom: 1rem; }
.closing-intro p { max-width: 32rem; }

.contact-card { padding: 1.7rem 1.6rem; }

.placeholder-note {
  margin-bottom: 1.25rem;
  color: var(--mute);
  font-size: 0.95rem;
}

.contact-facts {
  margin: 0;
  display: grid;
  gap: 1.1rem;
}
.contact-facts div { display: grid; gap: 0.35rem; }
.contact-facts dt {
  font-family: Syne, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.contact-facts dd { margin: 0; }

.placeholder-chip {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  border: 1px dashed rgba(200, 245, 74, 0.45);
  border-radius: 0.4rem;
  color: var(--signal);
  background: var(--signal-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ——— Footer ——— */
.footer {
  border-top: 1px solid var(--line);
  background: #0c1210;
  padding: 3.25rem 0 1.75rem;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}

.foot-brand .brand {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}
.foot-brand .tag { color: var(--paper); font-weight: 500; }

.foot-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.foot-nav a {
  width: fit-content;
  text-decoration: none;
  color: var(--mute-2);
  transition: color 0.2s;
}
.foot-nav a:hover { color: var(--signal); }

.foot-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.foot-bottom {
  padding-top: 1.4rem;
  color: var(--mute);
  font-size: 0.88rem;
}

/* ——— Reveal (JS adds .is-visible) ——— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ——— Responsive ——— */
@media (max-width: 980px) {
  .cards,
  .usp-grid,
  .work-blocks,
  .mission-grid,
  .closing-grid,
  .foot-top {
    grid-template-columns: 1fr;
  }
  .about-frame {
    aspect-ratio: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .about-photo {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-width: 100%;
    object-fit: cover;
    object-position: 82% 18%;
    transform: scale(0.82);
    transform-origin: 70% 100%;
  }
  .about-shade {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, rgba(10, 16, 14, 0) 62%, var(--ink-0) 100%);
  }
  .about-inner.wrap {
    width: min(var(--wrap), calc(100% - 2.5rem));
    margin-inline: auto;
    min-height: 0;
    padding: 2.25rem 0 3.5rem;
    background: var(--ink-0);
  }
  .mission-visual { min-height: 16rem; }
  .work-blocks { gap: 1rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 7, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 40;
  }
  .nav.menu-open + .nav-backdrop,
  .nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20rem, 86vw);
    background: var(--ink-0);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    z-index: 55;
  }
  .nav.menu-open .nav-links { transform: translateX(0); }
  .nav-links a {
    display: block;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }
  .nav-links .nav-cta {
    margin-top: 1.25rem;
    text-align: center;
    border-bottom: 1.5px solid var(--signal) !important;
  }
  .hero { min-height: auto; padding: 3.25rem 0 4.25rem; }
  .section { padding: 3.75rem 0; }
  .wrap { width: min(var(--wrap), calc(100% - 2rem)); }
}

/* ——— Reduced motion ——— */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
