/* ============================================================
   MMJHousekeep — Computer Integrated Systems Design
   Dark theme · Silver accent #94A3B8 · supporting #64748B / #CBD5E1
   ============================================================ */

:root {
  --bg: #111214;
  --bg-raise: #17181b;
  --bg-panel: #1d1f23;
  --bg-panel-2: #23262b;
  --line: #2b2e35;
  --line-soft: #383c44;

  --text: #ECEEF1;
  --text-mute: #b7bcc4;
  --text-dim: #8b9099;

  --silver: #94A3B8;
  --silver-soft: #CBD5E1;
  --silver-deep: #64748B;

  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  font-size: 16px;
  font-family: var(--font-sans);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--silver);
  color: #111214;
  padding: 10px 18px;
  font-weight: 600;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

/* ============ NAVIGATION: Diamond Marker Bar ============ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}

.navbar.is-scrolled {
  box-shadow: 0 8px 28px #000000;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-mark {
  width: 14px;
  height: 14px;
  background: var(--silver);
  transform: rotate(45deg);
  flex: none;
}

.brand-name {
  font-size: 1.05rem;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mute);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
}

.diamond {
  width: 7px;
  height: 7px;
  background: var(--silver);
  transform: rotate(45deg);
  flex: none;
  transition: background 0.2s ease;
}

.nav-link:hover .diamond,
.nav-link:focus-visible .diamond {
  background: var(--silver-soft);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  background: var(--silver);
  color: #111214;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid var(--silver);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--silver-soft);
  border-color: var(--silver-soft);
  color: #111214;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  margin-left: auto;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
}

/* ============ HERO: Gleam Bands ============ */

.hero {
  position: relative;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px 88px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-mute);
  max-width: 34em;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-accent {
  background: var(--silver);
  color: #111214;
  border-color: var(--silver);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: var(--silver-soft);
  border-color: var(--silver-soft);
  color: #111214;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-soft);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--silver);
  color: var(--silver-soft);
}

.hero-visual {
  position: relative;
  min-height: 380px;
}

.gleam {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-raise);
}

.band {
  position: absolute;
  top: -12%;
  bottom: -12%;
  width: 72px;
  transform: skewX(-20deg);
}

.band-1 { left: 4%; background: var(--silver-deep); }
.band-2 { left: 16%; background: var(--silver); }
.band-3 { left: 28%; background: var(--silver-soft); }
.band-4 { left: 40%; background: var(--silver-deep); }
.band-5 { left: 54%; background: var(--silver); }
.band-6 { left: 68%; background: var(--silver-soft); }
.band-7 { left: 82%; background: var(--silver-deep); }

.gleam-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #111214;
  border: 1px solid var(--line-soft);
  padding: 26px 40px;
  text-align: center;
  z-index: 2;
}

.gleam-core-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.gleam-core-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

/* ============ Stats ============ */

.stats {
  background: var(--bg-raise);
  border-bottom: 1px solid var(--line);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 34px 24px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: none;
}

.stat-value {
  display: block;
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--silver-soft);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-mute);
}

/* ============ Statement ============ */

.statement {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.statement-inner {
  padding-top: 96px;
  padding-bottom: 96px;
  max-width: 820px;
}

.statement-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 20px;
}

.statement-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 26px;
}

.statement-body {
  font-size: 1.06rem;
  color: var(--text-mute);
  margin-bottom: 18px;
}

.statement-body:last-child {
  margin-bottom: 0;
}

/* ============ Section shared ============ */

.section-head {
  margin-bottom: 48px;
  max-width: 720px;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
}

/* ============ Movements (numbered process) ============ */

.movements {
  background: var(--bg-raise);
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}

.movement-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.movement {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 30px 26px;
}

.movement-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
}

.movement-num::before {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  background: var(--silver);
  transform: rotate(45deg);
}

.movement-num span {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 1.05rem;
  color: #111214;
  line-height: 1;
}

.movement-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.movement-text {
  font-size: 0.96rem;
  color: var(--text-mute);
}

/* ============ Compare table ============ */

.compare {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text-mute);
  vertical-align: top;
}

.compare-table thead th {
  background: var(--bg-panel-2);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.compare-table thead th:nth-child(3) {
  color: var(--silver-soft);
}

.compare-table tbody th {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.compare-table tbody td:nth-child(3) {
  color: var(--silver-soft);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* ============ Capability index ============ */

.index {
  background: var(--bg-raise);
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.index-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 34px 30px;
}

.index-num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--silver);
  margin-bottom: 22px;
}

.index-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.index-text {
  font-size: 0.96rem;
  color: var(--text-mute);
}

/* ============ Disciplines (horizontal scroll) ============ */

.disciplines {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 96px 0 0;
  overflow: hidden;
}

.discipline-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 24px 96px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.discipline-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 30px 26px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.discipline-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid var(--line-soft);
  padding: 5px 10px;
}

.discipline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

/* ============ Voices (slider) ============ */

.voices {
  background: var(--bg-raise);
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}

.slider {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.slide {
  display: none;
}

.slide.is-active {
  display: block;
  animation: slideIn 0.4s ease;
}

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

.slide-quote {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.5;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  padding-left: 24px;
  border-left: 3px solid var(--silver);
}

.slide-cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding-left: 24px;
}

.slider-controls {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  padding-left: 24px;
}

.slider-btn {
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: var(--line-soft);
  border: none;
  transition: background 0.2s ease;
}

.slider-btn.is-active {
  background: var(--silver);
}

/* ============ Accordion ============ */

.questions {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}

.accordion {
  max-width: 820px;
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item:first-child {
  border-top: 1px solid var(--line);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
  border: none;
  padding: 24px 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.accordion-trigger:hover,
.accordion-trigger:focus-visible {
  color: var(--silver-soft);
}

.accordion-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--silver);
  transition: transform 0.25s ease;
}

.accordion-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.accordion-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.accordion-item.is-open .accordion-icon::after {
  transform: rotate(90deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-panel p {
  padding: 0 0 26px;
  color: var(--text-mute);
  max-width: 60ch;
}

/* ============ Contact ============ */

.contact {
  background: var(--bg-raise);
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-text {
  color: var(--text-mute);
  margin-bottom: 28px;
  max-width: 44ch;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link {
  color: var(--silver-soft);
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--text);
  text-decoration: underline;
}

.contact-meta {
  color: var(--text-mute);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mute);
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  padding: 13px 15px;
  width: 100%;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--silver);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-status {
  font-size: 0.9rem;
  color: var(--silver-soft);
  min-height: 1.4em;
}

.form-status.is-error {
  color: #f0a0a0;
}

/* ============ Footer ============ */

.site-footer {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.footer-band {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
}

.footer-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.footer-band-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.footer-tagline {
  color: var(--text-mute);
  margin-top: 18px;
  max-width: 28ch;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-mute);
  font-size: 0.95rem;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
}

.footer-meta {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--line);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-note {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-watermark {
  position: absolute;
  right: -20px;
  bottom: -60px;
  font-size: 11rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--bg-panel-2);
  pointer-events: none;
  user-select: none;
}

/* ============ Reveal animation ============ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .gleam {
    min-height: 300px;
  }

  .movement-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .index-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .nav-inner {
    height: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-raise);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.is-open {
    max-height: 420px;
  }

  .nav-link {
    width: 100%;
    padding: 18px 24px;
    border-top: 1px solid var(--line);
  }

  .nav-cta {
    display: none;
  }

  .hero-grid {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .movement-list {
    grid-template-columns: 1fr;
  }

  .index-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
