/* ============================================================
   NEO-TOKYO DOJO — visual restyle layer for DevDojo Academy
   Loaded after the Webflow stylesheets; overrides only.
   Phase 1: base theme + nav + hero + courses grid (full)
            other sections receive a coherent dark pass.
   ============================================================ */

:root {
  --nt-bg: #0a0a0f;
  --nt-bg-alt: #111116;
  --nt-accent: #f4911e;
  --nt-white: #ffffff;
  --nt-gray: #8a8a95;
  --nt-gray-dim: #55555f;
  --nt-line: #1e1e28;
  --nt-line-strong: #2a2a35;
  --nt-font-sans: 'Space Grotesk', 'Montserrat', sans-serif;
  --nt-font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --nt-font-jp: 'Noto Sans JP', sans-serif;
  /* neon glow (pb33f-style): accent text and accent lines emit light */
  --nt-glow-text: 0 0 10px rgba(244, 145, 30, 0.45), 0 0 26px rgba(244, 145, 30, 0.25);
  --nt-glow-text-strong: 0 0 8px rgba(244, 145, 30, 0.7), 0 0 22px rgba(244, 145, 30, 0.45);
  --nt-glow-line: 0 0 10px rgba(244, 145, 30, 0.55), 0 0 26px rgba(244, 145, 30, 0.3);
  /* recolor filters for legacy SVG assets (any source color) */
  --nt-filter-accent: brightness(0) saturate(100%) invert(60%) sepia(56%) saturate(1707%) hue-rotate(349deg) brightness(100%) contrast(92%);
  --nt-filter-gray: brightness(0) saturate(100%) invert(62%) sepia(4%) saturate(300%) hue-rotate(202deg) brightness(95%) contrast(88%);
  --nt-filter-white: brightness(0) saturate(100%) invert(100%);
}

/* ---------- base ---------- */

body {
  background-color: var(--nt-bg);
  font-family: var(--nt-font-sans);
  color: var(--nt-gray);
}

/* skip link — keyboard / a11y / some crawlers */
.nt-skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--nt-accent);
  color: var(--nt-white);
  font-family: var(--nt-font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

.nt-skip-link:focus {
  top: 12px;
  outline: 2px solid var(--nt-white);
  outline-offset: 2px;
}

/* signature: glowing accent line across the very top */
.page-wrapper::before {
  content: "";
  display: block;
  height: 2px;
  background-color: var(--nt-accent);
  box-shadow: var(--nt-glow-line);
}

/*
  Webflow interactions often leave style="opacity:0" until IX2 runs.
  After a short grace period, force content visible so the page never
  stays blank if animations fail or are blocked.
*/
html.nt-reveal [style*="opacity:0"],
html.nt-reveal [style*="opacity: 0"] {
  opacity: 1 !important;
  transform: none !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--nt-font-sans);
  font-weight: 500;
  color: var(--nt-white);
  line-height: 1.12;
}

p { color: var(--nt-gray); }

::selection { background: var(--nt-accent); color: var(--nt-white); }

.divider,
.divider.margin-top-and-bottom-56px,
.divider.licences,
.divider-card-team {
  background-color: var(--nt-line);
}

/* all template "golden" accent lines use the DevDojo orange, and glow */
.golden-line,
.golden-line.title,
.golden-line.margin-top-65px,
.golden-line.margin-top-40px,
.golden-line.max-w-150px.margin-bottom-16px,
.line-card-team {
  background-color: var(--nt-accent);
  box-shadow: var(--nt-glow-line);
}

/* micro-labels — "// LABEL — 漢字" */
.nt-microlabel {
  margin-bottom: 22px;
  font-family: var(--nt-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-microlabel .nt-jp {
  font-family: var(--nt-font-jp);
  color: var(--nt-gray);
  letter-spacing: 6px;
  text-shadow: none;
}

/* ---------- buttons ---------- */

/* primary CTAs: solid red, clipped corners, subtle glow on hover */
.primary-button,
.primary-button.margin-right-32px,
.standard-button,
.large-button {
  border: none;
  border-radius: 0;
  background-color: var(--nt-accent);
  color: var(--nt-white);
  font-family: var(--nt-font-sans);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  filter: drop-shadow(0 0 10px rgba(244, 145, 30, 0.35));
  transition: background-color 200ms ease, filter 200ms ease, color 200ms ease;
}

.primary-button:hover,
.primary-button.margin-right-32px:hover,
.standard-button:hover,
.large-button:hover {
  border: none;
  background-color: #ffa235;
  color: var(--nt-white);
  filter: drop-shadow(0 0 12px rgba(244, 145, 30, 0.65)) drop-shadow(0 0 30px rgba(244, 145, 30, 0.35));
}

/* kanji accent on Premium CTAs */
.nt-btn-premium::after {
  content: " 刀";
  font-family: var(--nt-font-jp);
  font-weight: 500;
}

/* secondary: 1px outline */
.outline-button,
.outline-button.silver-color {
  border: 1px solid var(--nt-line-strong);
  background-color: transparent;
  color: var(--nt-white);
  font-family: var(--nt-font-sans);
  font-weight: 500;
  letter-spacing: 2px;
  transition: border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.outline-button:hover,
.outline-button.silver-color:hover {
  border-color: var(--nt-accent);
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
  box-shadow: 0 0 14px rgba(244, 145, 30, 0.35), inset 0 0 14px rgba(244, 145, 30, 0.08);
}

/* ---------- navbar ---------- */

.navbar {
  background-color: transparent;
}

.navbar .divider { background-color: var(--nt-line); }

.link-footer {
  font-family: var(--nt-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--nt-white);
}

.link-footer:hover {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
  animation: nt-glitch 0.28s steps(2, end) 1;
}

/* the way — nav ornament */
.nt-nav-kanji {
  align-self: center;
  margin-left: 14px;
  font-family: var(--nt-font-jp);
  font-size: 18px;
  font-weight: 500;
  color: var(--nt-accent);
  line-height: 1;
  text-shadow: var(--nt-glow-text-strong);
}

.standard-button { padding: 16px 30px; font-size: 13px; }

/* mobile nav dropdown */
.w-nav-overlay [data-nav-menu-open],
.w-nav[data-collapse="medium"] .w-nav-menu[data-nav-menu-open] {
  background-color: var(--nt-bg);
  border-bottom: 1px solid var(--nt-line);
}

.menu-icon-top-line,
.menu-icon-middle-line,
.menu-icon-bottom-line { background-color: var(--nt-white); }

.menu-button,
.menu-button.w--open {
  border: 1px solid var(--nt-line-strong);
  border-radius: 0;
  background-color: transparent;
}

.nav-menu {
  background-color: var(--nt-bg);
  box-shadow: none;
  border-bottom: 1px solid var(--nt-line);
}

/* ---------- hero ---------- */

.hero-section {
  background-color: rgba(10, 10, 15, 0.94);
}

/* barely-there grid texture */
.hero-section::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-section .background-video video {
  opacity: 0.35;
  filter: saturate(0.2) brightness(0.6);
}

.hero-section .container-1288px { position: relative; z-index: 1; }

.heading-2 {
  font-family: var(--nt-font-sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.08;
}

.nt-hero-accent {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text-strong);
}

/* signature: blinking underscore at the end of the headline */
.heading-2::after {
  content: "_";
  margin-left: 2px;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text-strong);
  animation: nt-blink 1.1s steps(1, end) infinite;
}

.hero-section .color-white { color: var(--nt-gray); line-height: 1.75; }
.hero-section .color-white b { color: var(--nt-white); font-weight: 600; }

.golden-line.margin-top-65px { height: 2px; }

/* vertical kanji column — 学び 稼ぎ 還元 */
.nt-vertical-kanji {
  position: absolute;
  left: 26px;
  top: 52%;
  z-index: 2;
  transform: translateY(-50%);
  display: block;
  padding-left: 16px;
  border-left: 1px solid var(--nt-line);
  writing-mode: vertical-rl;
  font-family: var(--nt-font-jp);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.6em;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-vertical-kanji span { margin-inline-end: 30px; }
.nt-vertical-kanji span:last-child { margin-inline-end: 0; }

/* the kanji column + hairline is the hero's left accent; park the template dash */
.grid-hero .golden-line.margin-top-65px { visibility: hidden; }

/* terminal / HUD box */
.nt-terminal {
  position: absolute;
  right: 20px;
  top: 46%;
  z-index: 2;
  transform: translateY(-50%);
  width: 340px;
  border: 1px solid rgba(244, 145, 30, 0.28);
  background-color: rgba(13, 13, 19, 0.88);
  box-shadow: 0 0 24px rgba(244, 145, 30, 0.10), inset 0 0 30px rgba(244, 145, 30, 0.04);
}

.nt-terminal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--nt-line);
  font-family: var(--nt-font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--nt-gray);
}

.nt-terminal-status { color: var(--nt-gray-dim); font-family: var(--nt-font-jp); letter-spacing: 2px; }

.nt-terminal-body { padding: 22px 20px 24px; }

.nt-line {
  min-height: 26px;
  font-family: var(--nt-font-mono);
  font-size: 13px;
  line-height: 2;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
  white-space: nowrap;
}

.nt-line::before { content: "> "; color: var(--nt-gray-dim); text-shadow: none; }

.nt-type-cursor {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text-strong);
  animation: nt-blink 0.9s steps(1, end) infinite;
}

/* idle prompt cursor: shown before JS runs and after typing finishes */
.nt-prompt::after {
  content: "▮";
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text-strong);
  animation: nt-blink 0.9s steps(1, end) infinite;
}

.nt-terminal-body.nt-typing .nt-prompt::after { content: ""; }

.next-section-button { filter: invert(60%); }
.next-section-button:hover { filter: var(--nt-filter-accent); }

/* ---------- skills rail (ex-“Ensinamos”) ---------- */

.awards-section,
.nt-skills {
  position: relative;
  z-index: 2;
  margin-top: -48px; /* soft overlap into hero, not the old -150px plunge */
  background-image: none !important;
  background-color: transparent;
  padding: 0 20px 28px;
  overflow: hidden;
}

.nt-skills-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 28px;
  border: 1px solid var(--nt-line);
  background-color: var(--nt-bg-alt);
}

.nt-skills-label {
  flex: 0 0 auto;
  font-family: var(--nt-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
  white-space: nowrap;
}

.nt-skills-label .nt-jp {
  font-family: var(--nt-font-jp);
  color: var(--nt-gray);
  letter-spacing: 4px;
  text-shadow: none;
}

.nt-skills-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  min-width: 0;
}

.nt-skill {
  margin: 0;
  font-family: var(--nt-font-mono);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--nt-gray);
  transition: color 200ms ease, text-shadow 200ms ease;
}

.nt-skill-prompt {
  margin-right: 4px;
  color: var(--nt-gray-dim);
}

.nt-skill:hover {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-skill:hover .nt-skill-prompt { color: var(--nt-accent); }

.nt-skill-accent {
  color: var(--nt-white);
}

.nt-skill-accent .nt-skill-prompt {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

/* legacy awards hooks if reused */
.title-awards {
  color: var(--nt-white);
  font-family: var(--nt-font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
}
.heading-3,
.heading-3-copy-copy {
  font-family: var(--nt-font-mono);
  color: var(--nt-gray);
  font-size: 13px;
  letter-spacing: 1px;
}

/* ---------- courses catalog ---------- */

.areas-section,
.nt-courses {
  position: relative;
  background-color: var(--nt-bg);
  overflow: hidden;
}

/* faint oversized kanji watermark */
.areas-section::before,
.nt-courses::before {
  content: "学";
  position: absolute;
  right: -30px;
  top: 10px;
  z-index: 0;
  font-family: var(--nt-font-jp);
  font-size: 380px;
  font-weight: 700;
  line-height: 1;
  color: #101017;
  pointer-events: none;
}

.nt-courses-container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.nt-courses-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 40px;
  margin-bottom: 48px;
}

.nt-courses-intro { max-width: 560px; }

.nt-courses-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.nt-courses-accent {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text-strong);
}

.nt-courses-accent::after {
  content: "_";
  animation: nt-blink 1.1s steps(1, end) infinite;
}

.nt-courses-lead {
  margin: 0;
  max-width: 42ch;
  color: var(--nt-gray);
  font-size: 16px;
  line-height: 1.7;
}

/* language filters */
.nt-courses-toolbar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--nt-line);
  background-color: var(--nt-bg-alt);
}

.nt-filter {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--nt-gray);
  font-family: var(--nt-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.nt-filter:hover {
  color: var(--nt-white);
  border-color: var(--nt-line-strong);
}

.nt-filter.is-active {
  color: var(--nt-accent);
  border-color: rgba(244, 145, 30, 0.4);
  background-color: rgba(244, 145, 30, 0.08);
  box-shadow: 0 0 16px rgba(244, 145, 30, 0.12);
  text-shadow: var(--nt-glow-text);
}

.nt-filter-count {
  margin-left: 6px;
  color: var(--nt-gray-dim);
  font-size: 11px;
  letter-spacing: 0;
  text-shadow: none;
}

.nt-filter.is-active .nt-filter-count { color: rgba(244, 145, 30, 0.7); }

/* featured flagship card */
.nt-course-featured {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "meta meta"
    "body cta";
  gap: 18px 32px;
  align-items: end;
  margin-bottom: 28px;
  padding: 36px 40px;
  border: 1px solid rgba(244, 145, 30, 0.28);
  background:
    linear-gradient(135deg, rgba(244, 145, 30, 0.08) 0%, transparent 48%),
    var(--nt-bg-alt);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.nt-course-featured::before {
  content: "本";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--nt-font-jp);
  font-size: 160px;
  font-weight: 700;
  line-height: 1;
  color: rgba(244, 145, 30, 0.06);
  pointer-events: none;
}

.nt-course-featured:hover {
  border-color: rgba(244, 145, 30, 0.55);
  box-shadow: 0 0 24px rgba(244, 145, 30, 0.16), 0 0 48px rgba(244, 145, 30, 0.08);
  transform: translateY(-2px);
}

.nt-course-featured.is-hidden { display: none; }

.nt-course-featured-meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.nt-course-badge {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(244, 145, 30, 0.45);
  background-color: rgba(244, 145, 30, 0.12);
  font-family: var(--nt-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-course-tag {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--nt-line-strong);
  font-family: var(--nt-font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nt-gray);
}

.nt-course-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 5px 8px;
  border: 1px solid var(--nt-line-strong);
  font-family: var(--nt-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--nt-white);
}

.nt-course-featured-body {
  grid-area: body;
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.nt-course-featured-kicker {
  margin-bottom: 12px;
  font-family: var(--nt-font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nt-gray-dim);
}

.nt-course-featured-kicker [lang="ja"] {
  font-family: var(--nt-font-jp);
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
  letter-spacing: 0;
}

.nt-course-featured-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--nt-white);
  line-height: 1.1;
}

.nt-course-featured-text {
  margin: 0;
  color: var(--nt-gray);
  font-size: 16px;
  line-height: 1.7;
}

.nt-course-featured .nt-course-cta {
  grid-area: cta;
  position: relative;
  z-index: 1;
  align-self: end;
  white-space: nowrap;
}

/* course grid */
.nt-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--nt-line);
  background-color: var(--nt-line);
}

.nt-course-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 26px 26px;
  background-color: var(--nt-bg-alt);
  text-decoration: none;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.nt-course-card:hover {
  background-color: #0d0d13;
  box-shadow: inset 0 0 0 1px rgba(244, 145, 30, 0.35);
}

.nt-course-card.is-hidden { display: none; }

.nt-course-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.nt-course-index {
  font-family: var(--nt-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-course-name {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--nt-white);
}

.nt-course-desc {
  margin: 0 0 28px;
  flex: 1 1 auto;
  color: var(--nt-gray);
  font-size: 14px;
  line-height: 1.7;
}

.nt-course-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-family: var(--nt-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
  transition: gap 200ms ease;
}

.nt-course-cta::before {
  content: ">";
  color: var(--nt-gray-dim);
  text-shadow: none;
}

.nt-course-card:hover .nt-course-cta,
.nt-course-featured:hover .nt-course-cta {
  gap: 12px;
}

/* hide legacy carousel chrome if present elsewhere */
.bg-dots-carousel-container { display: none; }

/* slider nav dots (testimonials) */
.w-slider-dot {
  width: 24px;
  height: 2px;
  border-radius: 0;
  background-color: var(--nt-line-strong);
}

.w-slider-dot.w-active { background-color: var(--nt-accent); box-shadow: var(--nt-glow-line); }

/* section titles — beat the template's triple-class Montserrat rules */
h2.margin-bottom-24px, .heading, h2.white-text,
.white-text.align-center.margin-bottom-18px,
.white-text.margin-bottom-24px,
.heading-2, .h2-form-copy {
  font-family: var(--nt-font-sans);
  font-weight: 500;
}

/* ---------- subscriber comments — youtube feedback log ---------- */

.testimonials-section,
.nt-feedback {
  position: relative;
  background-color: var(--nt-bg);
  overflow: hidden;
  padding: 100px 20px;
}

.nt-feedback::before {
  content: "声";
  position: absolute;
  left: -20px;
  top: 30px;
  z-index: 0;
  font-family: var(--nt-font-jp);
  font-size: 300px;
  font-weight: 700;
  line-height: 1;
  color: #101017;
  pointer-events: none;
}

.nt-feedback-container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.nt-feedback-header {
  max-width: 560px;
  margin-bottom: 40px;
}

.nt-feedback-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--nt-white);
}

.nt-feedback-accent {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text-strong);
}

.nt-feedback-accent::after {
  content: "_";
  animation: nt-blink 1.1s steps(1, end) infinite;
}

.nt-feedback-lead {
  margin: 0;
  max-width: 46ch;
  color: var(--nt-gray);
  font-size: 16px;
  line-height: 1.7;
}

/* rotating featured quote */
.nt-feedback-spotlight {
  position: relative;
  margin: 0 0 20px;
  padding: 32px 36px 40px;
  border: 1px solid rgba(244, 145, 30, 0.28);
  background:
    linear-gradient(135deg, rgba(244, 145, 30, 0.07) 0%, transparent 55%),
    var(--nt-bg-alt);
  overflow: hidden;
}

.nt-feedback-spotlight.is-switching .nt-feedback-featured-text,
.nt-feedback-spotlight.is-switching .nt-feedback-featured-meta {
  opacity: 0;
  transform: translateY(6px);
}

.nt-feedback-featured-text,
.nt-feedback-featured-meta {
  transition: opacity 280ms ease, transform 280ms ease;
}

.nt-feedback-featured-text {
  margin: 0 0 22px;
  max-width: 62ch;
  padding-left: 18px;
  border-left: 2px solid var(--nt-accent);
  box-shadow: -2px 0 12px rgba(244, 145, 30, 0.2);
  color: var(--nt-white);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 400;
  font-style: normal;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.nt-feedback-featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-family: var(--nt-font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
}

.nt-feedback-user {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-feedback-src { color: var(--nt-gray-dim); }

.nt-feedback-tag {
  padding: 4px 8px;
  border: 1px solid var(--nt-line-strong);
  color: var(--nt-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nt-feedback-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--nt-line);
}

.nt-feedback-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background-color: var(--nt-accent);
  box-shadow: var(--nt-glow-line);
}

.nt-feedback-progress-bar.is-running {
  animation: nt-feedback-progress var(--nt-feedback-rotate-ms, 6000ms) linear forwards;
}

@keyframes nt-feedback-progress {
  from { width: 0%; }
  to { width: 100%; }
}

.nt-feedback.is-paused .nt-feedback-progress-bar.is-running {
  animation-play-state: paused;
}

.nt-feedback-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.nt-feedback-dot {
  appearance: none;
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: var(--nt-line-strong);
  cursor: pointer;
  transition: background-color 200ms ease, box-shadow 200ms ease, width 200ms ease;
}

.nt-feedback-dot.is-active {
  width: 40px;
  background-color: var(--nt-accent);
  box-shadow: var(--nt-glow-line);
}

.nt-feedback-dot:hover { background-color: var(--nt-gray-dim); }
.nt-feedback-dot.is-active:hover { background-color: var(--nt-accent); }

/* equal comment cards — 3×2 */
.nt-comments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 0;
  border: 1px solid var(--nt-line);
  background-color: var(--nt-line);
}

.nt-comment {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 28px;
  border: none;
  background-color: var(--nt-bg-alt);
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.nt-comment:hover,
.nt-comment:focus-visible {
  background-color: #0d0d13;
  box-shadow: inset 0 0 0 1px rgba(244, 145, 30, 0.35);
  outline: none;
}

.nt-comment.is-active {
  background-color: #0d0d13;
  box-shadow: inset 0 0 0 1px rgba(244, 145, 30, 0.55);
}

.nt-comment-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--nt-font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
}

.nt-comment-user {
  color: var(--nt-accent);
  font-weight: 500;
  overflow-wrap: anywhere;
  text-shadow: var(--nt-glow-text);
}

.nt-comment-src { color: var(--nt-gray-dim); white-space: nowrap; }

.nt-comment-text {
  flex: 1;
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--nt-line-strong);
  color: var(--nt-gray);
  font-size: 14px;
  line-height: 1.75;
  transition: border-color 250ms ease;
}

.nt-comment:hover .nt-comment-text { border-left-color: var(--nt-accent); }

.nt-comment-meta {
  padding-top: 16px;
  border-top: 1px solid var(--nt-line);
  font-family: var(--nt-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nt-gray-dim);
}

/* ---------- we have a dream — manifesto ---------- */

.we-have-a-dream {
  position: relative;
  background-image: none;
  background-color: var(--nt-bg-alt);
  overflow: hidden;
}

/* faint oversized dream kanji */
.we-have-a-dream::before {
  content: "夢";
  position: absolute;
  left: -40px;
  top: 40px;
  z-index: 0;
  font-family: var(--nt-font-jp);
  font-size: 400px;
  font-weight: 700;
  line-height: 1;
  color: #17171d;
  pointer-events: none;
}

/* soft accent wash from the right */
.we-have-a-dream::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 20%;
  width: 45%;
  height: 60%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(244, 145, 30, 0.06) 0%, transparent 70%);
}

.we-have-a-dream .default-container { position: relative; z-index: 1; }

.nt-dream {
  max-width: 1080px;
  margin: 0 auto;
}

.nt-dream-header {
  max-width: 720px;
  margin-bottom: 56px;
}

.nt-dream-title {
  margin-top: 0;
  margin-bottom: 28px;
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.02em;
}

.nt-dream-accent {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text-strong);
}

.nt-dream-accent::after {
  content: "_";
  animation: nt-blink 1.1s steps(1, end) infinite;
}

/* opening statement — larger, clearer */
.nt-dream-lead {
  margin: 0;
  color: var(--nt-white);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.nt-dream-lead b {
  color: var(--nt-accent);
  font-weight: 600;
  text-shadow: var(--nt-glow-text);
}

/* two-column: manifesto + dojo path */
.nt-dream-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px 64px;
  align-items: start;
  margin-bottom: 72px;
}

.nt-dream-manifesto {
  padding-top: 4px;
  border-left: 1px solid var(--nt-line-strong);
  padding-left: 28px;
}

.nt-dream-text {
  color: var(--nt-gray);
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 20px;
}

.nt-dream-text:last-child { margin-bottom: 0; }

.nt-dream-text b {
  color: var(--nt-white);
  font-weight: 600;
}

.nt-dream-text-end {
  color: var(--nt-white);
  font-style: italic;
  font-size: 17px;
  line-height: 1.7;
}

/* dojo path — vertical steps with a glowing rail */
.nt-path {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* continuous rail behind step markers */
.nt-path::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--nt-accent) 12%,
    var(--nt-accent) 88%,
    transparent 100%
  );
  opacity: 0.35;
  box-shadow: var(--nt-glow-line);
}

.nt-path-step {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
}

.nt-path-step + .nt-path-step {
  border-top: 1px solid var(--nt-line);
}

.nt-path-index {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244, 145, 30, 0.35);
  background-color: var(--nt-bg-alt);
  font-family: var(--nt-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
  box-shadow: 0 0 16px rgba(244, 145, 30, 0.12);
  transition: border-color 250ms ease, box-shadow 250ms ease;
}

.nt-path-step:hover .nt-path-index {
  border-color: rgba(244, 145, 30, 0.7);
  box-shadow: 0 0 22px rgba(244, 145, 30, 0.28);
}

.nt-path-body { min-width: 0; padding-top: 4px; }

.nt-path-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 8px;
}

.nt-path-kanji {
  font-family: var(--nt-font-jp);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-path-name {
  font-family: var(--nt-font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--nt-white);
}

.nt-path-text {
  margin: 0;
  color: var(--nt-gray);
  font-size: 14px;
  line-height: 1.7;
}

/* signature strip */
.nt-dream-sign {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid var(--nt-line);
}

.nt-dream-signature {
  display: block;
  width: auto;
  max-width: 180px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.92;
}

.nt-dream-identity { min-width: 0; }

.nt-dream-identity .name {
  margin-bottom: 6px;
  color: var(--nt-white);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
}

.nt-dream-identity .job-title {
  color: var(--nt-gray-dim);
  font-family: var(--nt-font-mono);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* legacy name/title used outside dream section */
.name { color: var(--nt-white); }
.job-title {
  color: var(--nt-gray-dim);
  font-family: var(--nt-font-mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- team roster ---------- */

.team-section,
.nt-team {
  position: relative;
  background-color: var(--nt-bg);
  overflow: hidden;
}

.team-section::before,
.nt-team::before {
  content: "侍";
  position: absolute;
  right: -30px;
  bottom: 10px;
  z-index: 0;
  font-family: var(--nt-font-jp);
  font-size: 340px;
  font-weight: 700;
  line-height: 1;
  color: #101017;
  pointer-events: none;
}

.nt-team-container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.nt-team-header {
  max-width: 560px;
  margin-bottom: 48px;
}

.nt-team-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.nt-team-accent {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text-strong);
}

.nt-team-accent::after {
  content: "_";
  animation: nt-blink 1.1s steps(1, end) infinite;
}

.nt-team-lead {
  margin: 0;
  max-width: 42ch;
  color: var(--nt-gray);
  font-size: 16px;
  line-height: 1.7;
}

/* rotating spotlight — equal rotation through the full roster */
.nt-team-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 40px 56px;
  align-items: center;
  margin-bottom: 20px;
  padding: 36px 40px 40px;
  border: 1px solid rgba(244, 145, 30, 0.28);
  background:
    linear-gradient(135deg, rgba(244, 145, 30, 0.07) 0%, transparent 50%),
    var(--nt-bg-alt);
  overflow: hidden;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}

.nt-team-spotlight.is-switching .nt-team-spotlight-body,
.nt-team-spotlight.is-switching .nt-team-spotlight-media {
  opacity: 0;
  transform: translateY(6px);
}

.nt-team-spotlight-media,
.nt-team-spotlight-body {
  transition: opacity 280ms ease, transform 280ms ease;
}

.nt-team-spotlight-media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 220px;
}

/* circular ring around circular assets — no square frame */
.nt-team-spotlight-media::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(244, 145, 30, 0.28);
  pointer-events: none;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}

.nt-team-spotlight:hover .nt-team-spotlight-media::before {
  border-color: rgba(244, 145, 30, 0.55);
  box-shadow: 0 0 28px rgba(244, 145, 30, 0.16);
}

.nt-team-spotlight-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: none;
  background-color: var(--nt-bg);
  filter: saturate(0.85);
  transition: filter 250ms ease;
}

.nt-team-spotlight:hover .nt-team-spotlight-photo {
  filter: none;
}

.nt-team-spotlight-kanji {
  position: absolute;
  right: -10px;
  bottom: -4px;
  z-index: 1;
  font-family: var(--nt-font-jp);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: rgba(244, 145, 30, 0.18);
  pointer-events: none;
}

.nt-team-spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 16px;
}

.nt-team-badge {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid rgba(244, 145, 30, 0.45);
  background-color: rgba(244, 145, 30, 0.12);
  font-family: var(--nt-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-team-index {
  font-family: var(--nt-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-team-spotlight-name {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--nt-white);
  line-height: 1.1;
}

.nt-team-spotlight-role {
  margin: 0 0 16px;
  font-family: var(--nt-font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nt-gray);
}

.nt-team-spotlight-text {
  margin: 0 0 24px;
  max-width: 48ch;
  color: var(--nt-gray);
  font-size: 15px;
  line-height: 1.75;
}

/* auto-rotate progress line */
.nt-team-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--nt-line);
}

.nt-team-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background-color: var(--nt-accent);
  box-shadow: var(--nt-glow-line);
  transform-origin: left center;
}

.nt-team-progress-bar.is-running {
  animation: nt-team-progress var(--nt-team-rotate-ms, 5000ms) linear forwards;
}

@keyframes nt-team-progress {
  from { width: 0%; }
  to { width: 100%; }
}

.nt-team.is-paused .nt-team-progress-bar.is-running {
  animation-play-state: paused;
}

/* roster dots */
.nt-team-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.nt-team-dot {
  appearance: none;
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-color: var(--nt-line-strong);
  cursor: pointer;
  transition: background-color 200ms ease, box-shadow 200ms ease, width 200ms ease;
}

.nt-team-dot.is-active {
  width: 40px;
  background-color: var(--nt-accent);
  box-shadow: var(--nt-glow-line);
}

.nt-team-dot:hover { background-color: var(--nt-gray-dim); }
.nt-team-dot.is-active:hover { background-color: var(--nt-accent); }

/* equal roster grid — 6 people, 3×2 */
.nt-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--nt-line);
  background-color: var(--nt-line);
}

.nt-team-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  border: 0;
  background-color: var(--nt-bg-alt);
  padding: 28px 24px 26px;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.nt-team-card:hover,
.nt-team-card:focus-visible {
  background-color: #0d0d13;
  box-shadow: inset 0 0 0 1px rgba(244, 145, 30, 0.35);
  outline: none;
}

.nt-team-card.is-active {
  background-color: #0d0d13;
  box-shadow: inset 0 0 0 1px rgba(244, 145, 30, 0.55);
}

.nt-team-card-media {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 22px;
}

.nt-team-card-media::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--nt-line-strong);
  pointer-events: none;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}

.nt-team-photo {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: none;
  background-color: var(--nt-bg);
  filter: saturate(0.55);
  transition: filter 250ms ease;
}

.nt-team-card:hover .nt-team-photo,
.nt-team-card.is-active .nt-team-photo {
  filter: none;
}

.nt-team-card:hover .nt-team-card-media::before,
.nt-team-card.is-active .nt-team-card-media::before {
  border-color: rgba(244, 145, 30, 0.55);
  box-shadow: 0 0 16px rgba(244, 145, 30, 0.18);
}

.nt-team-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.nt-team-role {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--nt-line-strong);
  font-family: var(--nt-font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nt-gray);
}

.nt-team-name {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--nt-white);
}

.nt-team-title-role {
  margin: 0 0 22px;
  color: var(--nt-gray);
  font-size: 14px;
  line-height: 1.5;
}

.nt-team-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-family: var(--nt-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
  transition: gap 200ms ease;
}

.nt-team-link::before {
  content: ">";
  color: var(--nt-gray-dim);
  text-shadow: none;
}

.nt-team-card:hover .nt-team-link,
.nt-team-card.is-active .nt-team-link,
.nt-team-spotlight:hover .nt-team-link {
  gap: 12px;
}

a.nt-team-link {
  text-decoration: none;
}

/* legacy class hooks if reused elsewhere */
.nt-microlabel-center { text-align: center; margin-bottom: 14px; }
.employee-name { font-family: var(--nt-font-sans); font-weight: 500; font-size: 22px; }
.subtitle {
  color: var(--nt-gray);
  font-family: var(--nt-font-mono);
  font-size: 12px;
  letter-spacing: 2px;
}
.telephone-number {
  color: var(--nt-accent);
  font-family: var(--nt-font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: var(--nt-glow-text);
}
.telephone-number::before { content: "> "; color: var(--nt-gray-dim); text-shadow: none; }

/* ---------- FAQ ---------- */

.nt-faq {
  position: relative;
  padding: 100px 20px 80px;
  background-color: var(--nt-bg);
  overflow: hidden;
}

.nt-faq-container {
  max-width: 780px;
  margin: 0 auto;
}

.nt-faq-header { margin-bottom: 36px; }

.nt-faq-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  color: var(--nt-white);
}

.nt-faq-accent {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text-strong);
}

.nt-faq-accent::after {
  content: "_";
  animation: nt-blink 1.1s steps(1, end) infinite;
}

.nt-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--nt-line);
  background-color: var(--nt-line);
}

.nt-faq-item {
  margin: 0;
  background-color: var(--nt-bg-alt);
  padding: 0;
}

.nt-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: var(--nt-font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--nt-white);
  transition: color 200ms ease, background-color 200ms ease;
}

.nt-faq-item summary::-webkit-details-marker { display: none; }

.nt-faq-item summary::before {
  content: ">";
  margin-right: 12px;
  font-family: var(--nt-font-mono);
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-faq-item[open] summary {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-faq-item summary:hover {
  background-color: #0d0d13;
}

.nt-faq-item p {
  margin: 0;
  padding: 0 22px 22px 42px;
  color: var(--nt-gray);
  font-size: 15px;
  line-height: 1.7;
}

.nt-faq-item a {
  color: var(--nt-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 145, 30, 0.35);
}

.nt-faq-item a:hover {
  text-shadow: var(--nt-glow-text);
}

/* ---------- contact — open channel ---------- */

.contact-section,
.nt-contact {
  position: relative;
  height: auto !important;
  min-height: 0;
  padding: 120px 20px 100px;
  background-color: var(--nt-bg-alt);
  overflow: hidden;
}

.nt-contact::before {
  content: "連";
  position: absolute;
  right: -20px;
  top: 20px;
  z-index: 0;
  font-family: var(--nt-font-jp);
  font-size: 320px;
  font-weight: 700;
  line-height: 1;
  color: #14141b;
  pointer-events: none;
}

.nt-contact-container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.nt-contact-header {
  max-width: 560px;
  margin-bottom: 48px;
}

.nt-contact-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--nt-white);
}

.nt-contact-accent {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text-strong);
}

.nt-contact-accent::after {
  content: "_";
  animation: nt-blink 1.1s steps(1, end) infinite;
}

.nt-contact-lead {
  margin: 0;
  max-width: 46ch;
  color: var(--nt-gray);
  font-size: 16px;
  line-height: 1.7;
}

.nt-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px 40px;
  align-items: stretch;
}

/* terminal-style contact panel (mirrors hero HUD) */
.nt-contact-terminal {
  border: 1px solid rgba(244, 145, 30, 0.28);
  background-color: rgba(13, 13, 19, 0.92);
  box-shadow: 0 0 24px rgba(244, 145, 30, 0.08), inset 0 0 40px rgba(244, 145, 30, 0.03);
}

.nt-contact-terminal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--nt-line);
  font-family: var(--nt-font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--nt-gray);
}

.nt-contact-terminal-title { color: var(--nt-gray); }
.nt-contact-terminal-status {
  color: var(--nt-gray-dim);
  font-family: var(--nt-font-jp);
  letter-spacing: 2px;
}

.nt-contact-terminal-body { padding: 28px 24px 30px; }

.nt-contact-line {
  margin: 0 0 8px;
  font-family: var(--nt-font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-contact-prompt {
  color: var(--nt-gray-dim);
  text-shadow: none;
  margin-right: 6px;
}

.nt-contact-line-out {
  margin-bottom: 18px;
  color: var(--nt-gray);
  text-shadow: none;
  padding-left: 1.1em;
}

.nt-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--nt-line);
}

.nt-contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: none;
  background-color: var(--nt-accent);
  color: var(--nt-white);
  font-family: var(--nt-font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  filter: drop-shadow(0 0 10px rgba(244, 145, 30, 0.35));
  transition: background-color 200ms ease, filter 200ms ease, gap 200ms ease;
}

.nt-contact-cta:hover {
  background-color: #ffa235;
  color: var(--nt-white);
  gap: 14px;
  filter: drop-shadow(0 0 14px rgba(244, 145, 30, 0.55));
}

.nt-contact-email {
  font-family: var(--nt-font-mono);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--nt-gray);
  text-decoration: none;
  border-bottom: 1px solid var(--nt-line-strong);
  transition: color 200ms ease, border-color 200ms ease, text-shadow 200ms ease;
}

.nt-contact-email:hover {
  color: var(--nt-accent);
  border-color: rgba(244, 145, 30, 0.45);
  text-shadow: var(--nt-glow-text);
}

/* channel list */
.nt-contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  height: 100%;
  border: 1px solid var(--nt-line);
  background-color: var(--nt-line);
}

.nt-contact-channels > li {
  flex: 1 1 0;
  display: flex;
  min-height: 0;
}

.nt-contact-channel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  flex: 1;
  width: 100%;
  padding: 22px 20px;
  background-color: var(--nt-bg);
  text-decoration: none;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.nt-contact-channel:hover {
  background-color: #0d0d13;
  box-shadow: inset 0 0 0 1px rgba(244, 145, 30, 0.35);
}

.nt-contact-channel-index {
  font-family: var(--nt-font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-contact-channel-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.nt-contact-channel-name {
  font-family: var(--nt-font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--nt-white);
}

.nt-contact-channel-desc {
  color: var(--nt-gray);
  font-size: 13px;
  line-height: 1.4;
}

.nt-contact-channel-go {
  font-family: var(--nt-font-mono);
  font-size: 16px;
  color: var(--nt-gray-dim);
  transition: color 200ms ease, transform 200ms ease;
}

.nt-contact-channel:hover .nt-contact-channel-go {
  color: var(--nt-accent);
  transform: translateX(3px);
  text-shadow: var(--nt-glow-text);
}

/* legacy contact hooks */
.heading-4, .heading-5 { color: var(--nt-white); font-family: var(--nt-font-sans); font-weight: 500; }
.heading-5 { color: var(--nt-gray); }
.bg-pattern-dots-form { display: none; }

/* ---------- footer — dojo status bar ---------- */

.footer.section-2,
.nt-footer {
  background-image: none !important;
  background-color: var(--nt-bg) !important;
  border-top: 1px solid var(--nt-line);
  padding: 0 !important;
}

.nt-footer-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 20px 0;
}

.nt-footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 32px;
  align-items: end;
  margin-bottom: 40px;
}

.nt-footer-brand {
  display: inline-block;
  line-height: 0;
}

.nt-footer-logo {
  display: block;
  height: 36px;
  width: auto;
  opacity: 0.92;
}

.nt-footer-motto {
  margin: 0;
  justify-self: end;
  font-family: var(--nt-font-jp);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-footer-motto-sep {
  margin: 0 0.15em;
  color: var(--nt-gray-dim);
  text-shadow: none;
  letter-spacing: 0;
}

.nt-footer-motto-pt {
  grid-column: 2;
  justify-self: end;
  margin: 0;
  font-family: var(--nt-font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--nt-gray-dim);
}

.nt-footer-mid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 28px 0;
  border-top: 1px solid var(--nt-line);
  border-bottom: 1px solid var(--nt-line);
}

.nt-footer-nav,
.nt-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.nt-footer-link,
.nt-footer-social-link {
  font-family: var(--nt-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nt-gray);
  transition: color 200ms ease, text-shadow 200ms ease;
}

.nt-footer-link:hover,
.nt-footer-social-link:hover {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

.nt-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  padding: 28px 0 36px;
}

.nt-footer-copy {
  margin: 0;
  max-width: 62ch;
  color: var(--nt-gray-dim);
  font-size: 12px;
  line-height: 1.65;
}

.nt-footer-top-link {
  font-family: var(--nt-font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nt-gray);
  white-space: nowrap;
  transition: color 200ms ease, text-shadow 200ms ease;
}

.nt-footer-top-link:hover {
  color: var(--nt-accent);
  text-shadow: var(--nt-glow-text);
}

/* hide leftover template footer chrome if any */
.nt-footer .copyright-container,
.nt-footer .footer-flex-container { display: none; }

/* legacy hooks */
.paragraph-footer {
  color: var(--nt-accent);
  font-family: var(--nt-font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-shadow: var(--nt-glow-text);
}
.footer-copyright-text { color: var(--nt-gray-dim); font-size: 13px; }
.heading-6 { color: var(--nt-white); font-weight: 500; }
.text-block-8 {
  color: var(--nt-gray);
  font-family: var(--nt-font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.social-network { filter: grayscale(1) brightness(1.4); transition: filter 250ms ease; }
a:hover > .social-network { filter: none; }

/* ---------- utility pages (404 / password) ---------- */

.utility-page-wrap { background-color: var(--nt-bg); }

._404 {
  color: #1b1b23;
  font-family: var(--nt-font-sans);
}

.title-404, .h2-password {
  color: var(--nt-white);
  font-family: var(--nt-font-sans);
  font-weight: 500;
}

.paragraph-404 { color: var(--nt-gray); }

.text-field-password {
  border: 1px solid var(--nt-line-strong);
  background-color: var(--nt-bg-alt);
  color: var(--nt-white);
  font-family: var(--nt-font-mono);
}

.text-field-password:focus { border-color: var(--nt-accent); }

.password-icon { filter: var(--nt-filter-gray); }

/* ---------- animations ---------- */

@keyframes nt-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes nt-glitch {
  0%, 100% { transform: translate(0, 0); text-shadow: none; }
  20% { transform: translate(-1px, 1px); text-shadow: 1px 0 rgba(244, 145, 30, 0.6); }
  40% { transform: translate(1px, -1px); text-shadow: -1px 0 rgba(244, 145, 30, 0.6); }
  60% { transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .heading-2::after,
  .nt-prompt::after,
  .nt-type-cursor { animation: none; }
  .link-footer:hover,
  .arrow-link-container:hover div { animation: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1099px) {
  .nt-vertical-kanji { display: none; }
}

@media (max-width: 991px) {
  .h1-wrapper { margin-right: 0; }
  .nt-terminal {
    position: static;
    transform: none;
    width: 100%;
    max-width: 420px;
    margin-top: 56px;
  }
  .areas-section::before,
  .nt-courses::before { font-size: 260px; }
  .we-have-a-dream::before { font-size: 280px; }
  .team-section::before,
  .nt-team::before { font-size: 240px; }
  .nt-comments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nt-feedback { padding: 80px 20px; }
  .nt-feedback-spotlight { padding: 26px 22px 34px; }
  .nt-feedback::before { font-size: 220px; }
  .nt-skills-rail { padding: 18px 20px; }
  .nt-dream-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .nt-dream-header { margin-bottom: 40px; }
  .nt-dream-grid { margin-bottom: 56px; }
  .nt-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nt-course-featured {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "body"
      "cta";
    padding: 28px 24px;
  }
  .nt-course-featured::before { font-size: 120px; right: 12px; }
  .nt-team-spotlight {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 28px 32px;
    padding: 28px 24px 32px;
  }
  .nt-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nt-contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .nt-contact { padding: 90px 20px 80px; }
  .nt-contact::before { font-size: 240px; }
  .nt-footer-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nt-footer-motto,
  .nt-footer-motto-pt { justify-self: start; }
}

@media (max-width: 640px) {
  .nt-comments-grid { grid-template-columns: 1fr; }
  .nt-course-grid { grid-template-columns: 1fr; }
  .nt-courses-header { margin-bottom: 36px; }
  .nt-skills-list { gap: 8px 14px; }
  .nt-skill { font-size: 12px; }
  .nt-team-header { margin-bottom: 36px; }
  .nt-team-spotlight {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .nt-team-spotlight-media {
    justify-self: start;
    max-width: 168px;
  }
  .nt-team-grid { grid-template-columns: 1fr; }
  .nt-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .nt-contact-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .nt-contact-terminal-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 479px) {
  .nt-terminal { max-width: 100%; }
  .nt-line { white-space: normal; }
  .areas-section::before,
  .nt-courses::before { font-size: 180px; right: -20px; }
  .we-have-a-dream::before { font-size: 200px; }
  .team-section::before,
  .nt-team::before { font-size: 160px; }
  .nt-dream-manifesto {
    padding-left: 18px;
  }
  .nt-dream-sign {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .nt-dream-signature {
    max-width: 150px;
    height: 48px;
  }
  .nt-path-step {
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 18px 0;
  }
  .nt-path::before { left: 17px; }
  .nt-path-index {
    width: 36px;
    height: 36px;
    font-size: 10px;
  }
  .nt-path-kanji { font-size: 18px; }
  .nt-course-card { padding: 24px 20px 22px; }
  .nt-course-featured-title { font-size: 26px; }
}
