:root {
  --ink: #0a0a0a;
  --paper: #f5f5f5;
  --mid: #8a8a8a;
  --line: #2a2a2a;
  --soft: #d4d4d4;
  --font-display: "Syne", "Helvetica Neue", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--soft);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  background: var(--paper);
  color: var(--ink);
}

/* ---- Frame / hangar atmosphere ---- */
.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(10, 10, 10, 0.92) 0%,
      rgba(10, 10, 10, 0.78) 38%,
      rgba(10, 10, 10, 0.45) 62%,
      rgba(10, 10, 10, 0.55) 100%
    ),
    linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.75) 100%),
    url("/assets/img/hangar-cessna310.jpg") center / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
  z-index: 0;
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1;
}

.shell {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

/* ---- Top bar ---- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0 0;
}

.mark {
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  text-decoration: none;
}

.mark__logo {
  width: auto;
  height: 3.5rem;
  flex-shrink: 0;
}

.top__meta {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
}

.top__meta a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.top__meta a:hover {
  color: var(--paper);
  border-bottom-color: currentColor;
}

/* ---- Hero (first viewport = one composition) ---- */
.hero {
  display: grid;
  min-height: calc(100vh - 5rem);
  align-items: end;
  padding: 4rem 0 3.5rem;
  gap: 2.5rem;
}

.hero__content {
  max-width: 36rem;
}

.hero__brand {
  margin: 0;
  line-height: 0;
}

.hero__logo {
  display: block;
  width: min(72vw, 26rem);
  height: auto;
  filter: drop-shadow(0 2px 28px rgba(0, 0, 0, 0.55));
}

.hero__copy {
  max-width: 28rem;
  margin: 1.25rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--soft);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--paper);
  background: rgba(10, 10, 10, 0.35);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background 0.25s ease, color 0.25s ease;
}

.hero__cta:hover {
  background: var(--paper);
  color: var(--ink);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s ease forwards;
}

.reveal--2 {
  animation-delay: 0.15s;
}

.reveal--3 {
  animation-delay: 0.3s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- About strip ---- */
.about {
  border-top: 1px solid var(--line);
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.88));
}

.about__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .about__grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
  }
}

.about__label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
}

.about__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about__badge {
  display: block;
  width: 5.5rem;
  height: auto;
  margin-top: 1.75rem;
  opacity: 0.95;
}

.about__body {
  margin: 0;
  color: var(--soft);
  font-size: 1.05rem;
  max-width: 40rem;
}

.about__body + .about__body {
  margin-top: 1rem;
}

/* ---- Footer ---- */
.foot {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  color: var(--mid);
  background: rgba(10, 10, 10, 0.9);
}

.foot a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.foot a:hover {
  border-bottom-color: currentColor;
  color: var(--paper);
}

@media (max-width: 720px) {
  .shell {
    width: min(1120px, calc(100% - 2rem));
  }

  .hero {
    min-height: calc(100svh - 4.5rem);
    padding-top: 3rem;
    align-items: end;
  }

  .mark__logo {
    height: 2.75rem;
  }

  .top__meta {
    display: none;
  }

  .page::before {
    background-position: 70% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
