:root {
  --bg: #062f27;
  --panel: rgba(4, 28, 24, 0.84);
  --panel-soft: rgba(255, 248, 235, 0.08);
  --line: rgba(224, 255, 244, 0.14);
  --text: #e7fff7;
  --muted: rgba(231, 255, 247, 0.68);
  --cream: #fff5e6;
  --orange: #ff6a1a;
  --lime: #c6ff3d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255, 106, 26, 0.28), transparent 28rem),
    linear-gradient(135deg, #003f34 0%, #062f27 45%, #031d18 100%);
  background-size: 72px 72px, 72px 72px, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, select { font: inherit; }

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

.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 18px 0 54px;
}

.topbar, .hero-grid, .toolbar, .lanes, .projects {
  animation: rise 560ms ease both;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

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

.brand small, .summary-label, .toolbar span, .meta, .card p {
  color: var(--muted);
}

.mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #08271f;
  background: conic-gradient(from 20deg, var(--orange), #ffb23f, var(--lime), var(--orange));
  font-weight: 950;
  font-size: 28px;
  box-shadow: 0 16px 34px rgba(255, 106, 26, 0.25);
}

.nav-actions {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 18, 15, 0.45);
}

.nav-pill {
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  padding: 11px 15px;
  cursor: pointer;
  font-weight: 800;
}

.nav-pill.is-active {
  color: #061f19;
  background: var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: end;
}

.eyebrow {
  color: var(--orange);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(58px, 11vw, 150px);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.34;
}

.summary-card, .toolbar, .card, .project-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.summary-card {
  border-radius: 22px;
  padding: 24px;
  display: grid;
  gap: 18px;
}

.summary-card div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.summary-card div:last-child { border-bottom: 0; padding-bottom: 0; }
.summary-card strong { color: var(--lime); font-size: 28px; }

.toolbar {
  position: sticky;
  top: 16px;
  z-index: 5;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 14px;
  margin: 0 0 24px;
  padding: 14px;
  border-radius: 20px;
  backdrop-filter: blur(18px);
}

.toolbar label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

select, input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(1, 16, 13, 0.76);
  padding: 0 14px;
  outline: none;
}

.lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.lane {
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  background: rgba(255, 245, 230, 0.07);
}

.lane h2 {
  margin: 4px 4px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 18px;
}

.lane h2 span {
  color: var(--orange);
}

.card-list {
  display: grid;
  gap: 12px;
}

.card {
  border-radius: 18px;
  padding: 16px;
  animation: slideIn 420ms ease both;
}

.card h3 {
  margin: 8px 0 10px;
  font-size: 18px;
  line-height: 1.16;
}

.card p {
  margin: 0;
  line-height: 1.42;
}

.meta, .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  font-size: 12px;
}

.tag {
  color: #08271f;
  background: var(--lime);
  border-radius: 999px;
  padding: 5px 8px;
  font-weight: 900;
}

.tag.orange {
  color: #10110c;
  background: var(--orange);
}

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

.project-card {
  border-radius: 18px;
  padding: 18px;
}

.project-card h3 { margin: 0 0 8px; }
.project-card p { margin: 0; color: var(--muted); line-height: 1.5; }

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

@keyframes slideIn {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid, .toolbar, .lanes, .projects { grid-template-columns: 1fr; }
  .summary-card { width: 100%; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .nav-actions { width: 100%; overflow-x: auto; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1180px); padding-top: 16px; }
  h1 { font-size: clamp(50px, 20vw, 88px); }
  .lead { font-size: 19px; }
  .card h3 { font-size: 17px; }
}
