/* notoland.com/view/negi-website // extras on top of /style.css (the shared XP design system). */

/* ---------- hero ---------- */
.nhero { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.nhero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(34px, 8vw, 56px);
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 2px 0 12px;
  text-wrap: balance;
}
.nhero__title span { color: var(--accent-bright); }
.nhero__frame {
  width: 168px; height: 168px;
  border: 1px solid var(--chrome-deep);
  border-radius: 12px;
  background: var(--win-sub);
  box-shadow: 6px 6px 0 var(--shadow);
  overflow: hidden;
  position: relative;
}
.nhero__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nhero__cap {
  font-family: var(--f-label); font-size: 10px; letter-spacing: 0.08em; text-align: center;
  margin-top: 12px; color: var(--ink-soft);
}
.nhero__cap i {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); margin-right: 6px; vertical-align: 0;
}
@media (max-width: 640px) {
  .nhero { grid-template-columns: 1fr; }
  .nhero__side { order: -1; display: flex; flex-direction: column; align-items: flex-start; }
  .nhero__frame { width: 116px; height: 116px; }
}

/* ---------- feature grid ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px; }
@media (max-width: 760px) { .fgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fgrid { grid-template-columns: 1fr; } }
.fgrid .card { transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease; }
.fgrid .card:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--shadow); border-color: var(--chrome-deep); }
.fgrid .ico { width: 34px; height: 34px; color: var(--accent-bright); display: block; margin-bottom: 10px; }

/* ---------- about list ---------- */
.ethos + p { margin-top: 16px; }

/* ---------- command preview + full list ---------- */
.cmdcard {
  background: var(--win-sub);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px 14px;
  min-width: 0;
}
.cmdcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.cmdcard__name {
  font-family: var(--f-mono); font-weight: 700; font-size: 14px;
  color: var(--accent-bright); overflow-wrap: anywhere;
}
.cmdcard__desc { margin: 0; font-size: 13px; color: var(--ink-soft); max-width: none; }
.cmdgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
@media (max-width: 620px) { .cmdgrid { grid-template-columns: 1fr; } }
.morebar { margin-top: 20px; }

/* ---------- commands page ---------- */
.search {
  display: block; width: 100%;
  font-family: var(--f-mono); font-size: 14px;
  padding: 11px 14px;
  color: var(--ink);
  background: var(--win-sunken);
  border: 1px solid var(--chrome-deep);
  border-radius: 7px;
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, 0.35);
}
.search::placeholder { color: #7f9bc9; }
.search:focus-visible { outline-offset: 1px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.filter {
  font-family: var(--f-label); font-size: 10px; letter-spacing: 0.03em;
  padding: 7px 10px;
  border: 1px solid var(--line); border-radius: 5px;
  background: var(--win-sub); color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex; gap: 7px; align-items: center;
}
.filter:hover { border-color: var(--chrome-deep); color: var(--ink); }
.filter[aria-pressed="true"] {
  background: linear-gradient(180deg, #4a86e4, var(--chrome));
  border-color: var(--chrome-deep); color: #fff;
}
.filter .n { opacity: 0.7; }
.count-line { font-family: var(--f-label); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-soft); margin: 18px 0 0; }
.empty { margin-top: 14px; padding: 18px; border: 1px dashed var(--line); border-radius: 8px; color: var(--ink-soft); font-size: 14px; }

/* ---------- team ---------- */
.member { align-items: flex-start; }
.member .avatar { width: 64px; height: 64px; border-radius: 8px; }
.member__role { font-size: 13px; color: var(--accent-bright); margin: 0 0 6px; font-weight: 500; }
.member__quote { margin: 0 0 8px; font-size: 13.5px; font-style: italic; color: var(--ink-soft); max-width: none; }
.member .pill { display: inline-block; }
.row-card.member:hover { transform: none; box-shadow: none; }

/* ---------- legal pages ---------- */
.legal h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 6vw, 40px); line-height: 1.1; margin: 0 0 12px; }
.legal__meta { margin-bottom: 18px; }
.legal__meta .chip { display: inline-block; }
.legal-section { margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--line); }
.legal-section:first-of-type { margin-top: 24px; }
.legal-section h2 { font-family: var(--f-mono); font-weight: 700; font-size: 16px; margin: 0 0 10px; }
.legal-section p { font-size: 14px; }
.legal-section ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 7px; }
.legal-section li { position: relative; padding-left: 26px; font-size: 14px; }
.legal-section li::before { content: "\25AA"; position: absolute; left: 6px; color: var(--accent-bright); }
.legal-section li b { font-weight: 700; }

/* ---------- footer links ---------- */
.foot--wide { margin-top: 14px; }
