:root {
  color-scheme: dark;
  --ink: #f7f7f4;
  --muted: #a5a5ad;
  --line: rgba(255, 255, 255, 0.1);
  --panel: rgba(22, 22, 27, 0.86);
  --panel-hover: rgba(29, 29, 35, 0.96);
  --orange: #ff6a2a;
  --orange-soft: #ff9a67;
  --violet: #8f7cff;
  --background: #0b0b0e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 8%, rgba(143, 124, 255, 0.13), transparent 27rem),
    radial-gradient(circle at 15% 22%, rgba(255, 106, 42, 0.11), transparent 23rem),
    var(--background);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a { color: inherit; }

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.2);
}

.brand-mark span {
  position: absolute;
  width: 16px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
}

.brand-mark span:first-child { transform: translateY(-5px) rotate(-22deg); }
.brand-mark span:nth-child(2) { transform: rotate(22deg); }
.brand-mark span:last-child { transform: translateY(5px) rotate(-22deg); }

.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; letter-spacing: .02em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }

.environment-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c7c7cc;
  font-size: 12px;
  letter-spacing: .04em;
}

.environment-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65d68a;
  box-shadow: 0 0 0 5px rgba(101, 214, 138, .1);
}

.hero {
  display: flex;
  min-height: 550px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 0 92px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--orange-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(50px, 8vw, 96px);
  line-height: .95;
  letter-spacing: -.055em;
}

h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--orange-soft), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
}

.intro {
  max-width: 580px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.primary-action:hover { transform: translateY(-2px); background: rgba(255,255,255,.09); }

.projects { padding: 84px 0 100px; border-top: 1px solid var(--line); }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(32px, 5vw, 50px); letter-spacing: -.04em; }
.section-heading > p { max-width: 320px; margin-bottom: 5px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.project-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 28px 70px rgba(0,0,0,.16);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.project-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); background: var(--panel-hover); }
.project-card.featured { background: linear-gradient(145deg, rgba(255,106,42,.10), var(--panel) 45%); }

.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.project-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  background: rgba(255,255,255,.04);
  font-size: 13px;
  font-weight: 800;
}

.flare-icon { color: var(--orange-soft); }
.xp-icon { color: #b8adff; }
.travel-icon { color: #7ee0c3; font-size: 20px; }

.status {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 99px;
  color: var(--muted);
  background: rgba(255,255,255,.025);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status.preparing { color: #ffd0b9; border-color: rgba(255,106,42,.22); background: rgba(255,106,42,.08); }
.project-number { margin-bottom: 12px; color: #67676e; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.project-card h3 { margin-bottom: 12px; font-size: 25px; letter-spacing: -.03em; }
.project-card p:not(.project-number) { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }
.card-link { color: #d4d4d8; font-size: 12px; font-weight: 650; }
.card-link.disabled { color: #77777f; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 100px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.principles div { padding: 24px; background: #101014; }
.principles strong, .principles span { display: block; }
.principles strong { margin-bottom: 8px; font-size: 13px; }
.principles span { color: var(--muted); font-size: 12px; line-height: 1.5; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  color: #73737b;
  font-size: 11px;
}

@media (max-width: 820px) {
  .hero { min-height: 500px; }
  .project-grid, .principles { grid-template-columns: 1fr; }
  .project-card { min-height: 330px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .page-shell { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 82px; }
  .environment-badge { font-size: 0; }
  .hero { min-height: 480px; padding: 62px 0 72px; }
  h1 { font-size: 50px; }
  .projects { padding: 64px 0 72px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
