:root {
  --ink: #101820;
  --ink-2: #1a2836;
  --paper: #eef3f7;
  --muted: #8aa0b4;
  --accent: #e8a317;
  --accent-ink: #1a1200;
  --line: rgba(238, 243, 247, 0.12);
  --font-display: "IBM Plex Serif", Georgia, serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--paper);
  background: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.narrow {
  width: min(640px, calc(100% - 2.5rem));
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 24, 32, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(145deg, #f0b429, #c9840a);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
  color: #c5d3e0;
}

nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: min(86vh, 720px);
  display: grid;
  align-items: end;
  padding: 5rem 0 4.25rem;
  overflow: hidden;
}

.hero-plane {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 75% 15%, rgba(232, 163, 23, 0.22), transparent 55%),
    linear-gradient(155deg, #0c1218 0%, #162433 50%, #1b2c3d 100%);
  animation: plane-in 1.1s var(--ease) both;
}

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(238, 243, 247, 0.03) 18px,
      rgba(238, 243, 247, 0.03) 19px
    );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: rise 0.9s var(--ease) 0.12s both;
}

.brand-signal {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0c35a;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.lede {
  margin: 0;
  max-width: 34rem;
  color: #b7c7d6;
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  animation: rise 0.9s var(--ease) 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #f0b429, #c9840a);
  color: var(--accent-ink);
}

.btn-ghost {
  border: 1px solid rgba(238, 243, 247, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
}

.about,
.contact {
  padding: 4.25rem 0;
  border-top: 1px solid var(--line);
}

.about h2,
.contact h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
}

.about p,
.contact p {
  margin: 0;
  color: #b7c7d6;
}

.contact-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
}

.contact-list a {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: #fff;
}

.contact-list a:hover {
  color: #f0c35a;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@keyframes plane-in {
  from { opacity: 0.45; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

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

@media (max-width: 640px) {
  .hero {
    min-height: 78vh;
    align-items: center;
    padding-top: 3.5rem;
  }
}
