/* NagaNinja main.naganinja.com - shared styles
   Tokens from DESIGN.md. Drafted via LM Studio, polished on box. */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #0B0C0F;
  --surface-1: #12141A;
  --surface-2: #1A1D26;
  --hairline: rgba(255, 255, 255, 0.08);
  --ink: #F2F3F5;
  --ink-muted: #9AA3B2;
  --accent: #3DDC97;
  --cta: #F2F3F5;
  --cta-ink: #0B0C0F;
  --radius-card: 14px;
  --radius-btn: 8px;
  --max: 1200px;
  --nav-h: 72px;
  --section-y: 96px;
  --font: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: var(--cta-ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-btn);
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(11, 12, 15, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 16px;
}
.site-header__inner .site-nav {
  margin-left: auto;
}
.logo {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  border: 1px solid var(--hairline);
}
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 200ms var(--ease), opacity 200ms ease;
}
.site-nav.is-open + .nav-toggle .nav-toggle__bars span:nth-child(1),
body.nav-open .nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-btn);
  transition: color 180ms ease, background 180ms ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.04);
}
.site-header__cta {
  margin-left: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 150ms ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--cta);
  color: var(--cta-ink);
}
.btn-primary:hover { background: #ffffff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
}
.btn-accent {
  background: transparent;
  color: var(--accent);
  border-color: rgba(61, 220, 151, 0.35);
}
.btn-accent:hover {
  background: rgba(61, 220, 151, 0.08);
}

/* Typography helpers */
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.meta, .price {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.section-kicker {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-lead {
  color: var(--ink-muted);
  max-width: 60ch;
  margin-bottom: 40px;
}
.section {
  padding-block: var(--section-y);
}

/* Hero */
.hero {
  padding-top: 48px;
  padding-bottom: var(--section-y);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero__sub {
  color: var(--ink-muted);
  font-size: 1.05rem;
  max-width: 54ch;
  margin-bottom: 28px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-animate {
  animation: hero-in 500ms var(--ease) both;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.editorial-surface {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-card);
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.editorial-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(61, 220, 151, 0.08), transparent 45%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 22px,
      rgba(255, 255, 255, 0.03) 22px,
      rgba(255, 255, 255, 0.03) 23px
    );
}
.shape {
  position: absolute;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface-2);
}
.shape-1 { width: 48%; height: 42%; top: 14%; left: 12%; }
.shape-2 { width: 36%; height: 28%; right: 10%; bottom: 18%; background: rgba(61, 220, 151, 0.06); border-color: rgba(61, 220, 151, 0.2); }
.shape-3 { width: 22%; height: 16%; top: 22%; right: 18%; opacity: 0.7; }
.editorial-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* Cards */
.card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  transition: border-color 200ms ease;
}
.card:hover { border-color: rgba(255, 255, 255, 0.14); }
.card h2, .card h3, .card h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.card h2 { font-size: 1.35rem; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--ink-muted); }
.card__footer { margin-top: auto; padding-top: 8px; }

.price-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--ink-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
}
.price-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.price-list .amt { color: var(--ink); font-weight: 500; }

/* Services home layout */
.services-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.also-available {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
}
.also-available__label {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.also-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
}
.also-item h3 { font-size: 1rem; }
.also-item p { font-size: 0.92rem; color: var(--ink-muted); }

/* Kits */
.kits-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--hairline);
  color: var(--ink-muted);
}
.badge--accent {
  color: var(--accent);
  border-color: rgba(61, 220, 151, 0.3);
  background: rgba(61, 220, 151, 0.06);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  padding: 28px;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
}
.step-number {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p { color: var(--ink-muted); font-size: 0.95rem; }

/* Studio teaser / contact */
.studio-teaser {
  border-block: 1px solid var(--hairline);
  background: var(--surface-1);
}
.studio-teaser__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.contact-band {
  text-align: center;
}
.contact-band h2 { margin-bottom: 12px; }
.contact-band p {
  color: var(--ink-muted);
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0 56px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}
.site-footer__brand {
  font-weight: 600;
  margin-bottom: 8px;
}
.site-footer__meta {
  color: var(--ink-muted);
  font-size: 0.92rem;
}
.site-footer__meta a {
  color: var(--accent);
}
.site-footer__meta a:hover { text-decoration: underline; }
.site-footer h4 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.site-footer a {
  display: block;
  padding: 4px 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.site-footer a:hover { color: var(--accent); }

/* Services page */
.page-hero {
  padding-top: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}
.page-hero h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.page-hero p {
  color: var(--ink-muted);
  max-width: 60ch;
}

.service-block {
  padding-block: 64px;
  border-bottom: 1px solid var(--hairline);
}
.service-block:last-of-type { border-bottom: 0; }
.service-block__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: start;
}
.service-block h2 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.tagline {
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 16px;
}
.service-block .body-copy {
  color: var(--ink-muted);
  max-width: 65ch;
  margin-bottom: 20px;
}
.includes {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}
.includes li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.tier-panel {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 24px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.tier-panel h3 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.note {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-top: 12px;
}

/* FAQ */
.faq {
  padding-block: var(--section-y);
  background: var(--surface-1);
  border-top: 1px solid var(--hairline);
}
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 800px;
}
.faq-item {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 4px 18px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-family: var(--mono);
}
.faq-item[open] summary::after { content: "-"; }
.faq-item p {
  color: var(--ink-muted);
  padding-bottom: 16px;
  max-width: 65ch;
}

/* Studio page */
.empty-state {
  margin-top: 40px;
  padding: 48px;
  text-align: center;
  background: var(--surface-1);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
}
.empty-state h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.empty-state p { color: var(--ink-muted); }

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Compact kits strip on services */
.kits-strip {
  padding-block: 64px;
}
.kits-strip .kits-grid { margin-top: 24px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .services-hero,
  .kits-grid,
  .service-block__grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .steps { grid-template-columns: 1fr; }
  .tier-panel { position: static; }
}

@media (max-width: 768px) {
  :root { --section-y: 72px; }
  .nav-toggle { display: inline-flex; }
  .site-header__cta { display: none; }
  .site-nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 220ms var(--ease), opacity 220ms ease, visibility 220ms;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .site-nav a {
    padding: 12px 8px;
    font-size: 1.05rem;
  }
  .also-available { grid-template-columns: 1fr; }
  .editorial-surface { min-height: 240px; }
  .hero { padding-top: 32px; }
  .site-header__inner { position: relative; }
  .site-header__inner .site-nav { margin-left: 0; }
  .nav-toggle { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-animate { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:active { transform: none; }
}

html.reduce-motion {
  scroll-behavior: auto;
}
html.reduce-motion .hero-animate { animation: none; }
html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
html.reduce-motion .btn:active { transform: none; }
