/* Mucho Technologies — Editorial site.
   Extracted from the "2. Editorial" concept in pm/mother-company-concepts.html. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; background: #f6f4ee; color: #171614; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #b54d2a; outline-offset: 3px; }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }

.svg-logo-bp { width: 100%; height: auto; }
.svg-logo-pp { width: 100%; height: auto; }
.c2 .foot-brand { color: var(--ink); }

/* =========================================================
   CONCEPT 2 — EDITORIAL STUDIO (WARM LIGHT ARCHITECTURAL)
   ========================================================= */
.c2 {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --surface-alt: #eeebe2;
  --ink: #171614;
  --muted: #5e5a52;
  --line: #dcd6c9;
  --accent: #1d4234;
  --warm: #b54d2a;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  min-height: 100vh;
}
.c2 .wrap { max-width: 1280px; padding: 0 48px; margin: 0 auto; }
.c2 header {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.c2 .brand { display: flex; align-items: baseline; gap: 10px; }
.c2 .brand strong { font-family: 'Instrument Serif', Georgia, serif; font-size: 32px; font-weight: 400; letter-spacing: -0.02em; }
.c2 .brand span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); font-weight: 600; }
.c2 nav { display: flex; gap: 28px; align-items: center; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.c2 nav a:hover { color: var(--ink); }
.c2 .nav-cta { background: var(--ink); color: #faf9f5; padding: 10px 18px; border-radius: 999px; font-weight: 600; }

.c2 .hero {
  padding: 84px 0 68px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 56px;
  align-items: end;
}
.c2 .kicker {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--warm);
  margin-bottom: 18px;
}
.c2 h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(50px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
.c2 h1 em { font-style: italic; color: var(--accent); }
.c2 .hero-side p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 24px;
}
.c2 .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.c2 .hero-stats strong { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.c2 .hero-stats span { font-size: 11.5px; color: var(--muted); }

.c2 .track-section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.c2 .track-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.c2 .track-head h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  margin: 8px 0 0;
}
.c2 .track-head p { max-width: 400px; color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0; }

.c2 .ed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.c2 .ed-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}
.c2 .ed-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23, 22, 20, 0.07); border-color: #bfb7a7; }
.c2 .ed-visual {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.c2 .ed-body { padding: 26px 28px; display: flex; flex-direction: column; }
.c2 .ed-cat { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--muted); }
.c2 .ed-body h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; margin: 8px 0; }
.c2 .ed-body p { font-size: 13.8px; line-height: 1.65; color: var(--muted); margin: 0 0 16px; flex: 1; }
.c2 .ed-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.c2 .ed-tags span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.c2 .ed-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--accent); padding-top: 12px; border-top: 1px solid #ece7dc; }

.c2 .thesis {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}
.c2 .thesis h2 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(36px, 4.2vw, 54px); line-height: 1.06; margin: 10px 0 0; }
.c2 .thesis-copy p { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0 0 20px; }
.c2 .thesis-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.c2 .thesis-list div { border-top: 2px solid var(--ink); padding-top: 14px; }
.c2 .thesis-list strong { display: block; font-size: 14px; margin-bottom: 6px; }
.c2 .thesis-list span { font-size: 12.8px; color: var(--muted); line-height: 1.55; display: block; }

.c2 footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* =========================================================
   PRODUCT DETAIL MODAL
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 10, 0.72);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  width: 100%;
  max-width: 580px;
  background: #14181b;
  border: 1px solid #2b3238;
  border-radius: 22px;
  overflow: hidden;
  color: #f3f5f4;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}
.modal-hero {
  padding: 28px 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.modal-close {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}
.modal-body { padding: 26px 28px 28px; }
.modal-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: #d3fa70; font-weight: 700; }
.modal-body h3 { font-family: 'Manrope', sans-serif; font-size: 28px; margin: 8px 0 10px; letter-spacing: -0.03em; }
.modal-body p { color: #aeb6be; line-height: 1.7; font-size: 14.5px; margin: 0 0 18px; }
.modal-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; }
.modal-list li { font-size: 13.5px; color: #dfe4e8; display: flex; align-items: baseline; gap: 10px; }
.modal-list li::before { content: '→'; color: #d3fa70; font-weight: 700; }
.modal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #252c31;
  font-size: 12.5px;
  color: #8f98a2;
  gap: 12px;
  flex-wrap: wrap;
}
.modal-link {
  background: #d3fa70;
  color: #141c0a;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1060px) {
  .c2 .ed-grid { grid-template-columns: 1fr; }
  .c2 .hero, .c2 .thesis { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .c2 .wrap { padding: 0 20px; }
  .c2 .thesis-list { grid-template-columns: 1fr; }
  .c2 .ed-card { grid-template-columns: 1fr; }
  .c2 nav { display: none; }
  .c2 .brand strong { font-size: 26px; white-space: nowrap; }
  .c2 .brand span { white-space: nowrap; font-size: 10px; }
  .modal-card { max-height: 90vh; overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
