/*
Theme Name:   menzel works
Theme URI:    https://menzel.works
Description:  Child Theme für Neve — Personal-Brand-Site von Robert Menzel. Hero, Plugin-Store, Domain-Liste, Build-Log, Blog, Kontakt.
Author:       Robert Menzel
Author URI:   https://menzel.works
Template:     neve
Version:      1.0.1
Requires PHP: 7.4
Text Domain:  menzel-works
*/

/* ============================================================
   menzel.works — design tokens
   Geist (sans) + JetBrains Mono — über functions.php geladen
   ============================================================ */

:root {
  --bg: #f5f4ef;
  --paper: #ecebe4;
  --ink: #0e0e10;
  --ink-2: #2b2b2e;
  --muted: #6f6f70;
  --muted-2: #a8a8a4;
  --line: rgba(14, 14, 16, 0.12);
  --line-2: rgba(14, 14, 16, 0.22);
  --accent: oklch(0.66 0.22 28);
  --accent-ink: #fff;
  --on:  oklch(0.78 0.18 145);

  --f-sans: "Geist", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* Neve-Reset, die nerven */
body.home .container,
body.page-template-front-page .container { max-width: none; padding: 0; }
body.home #content,
body.page-template-front-page #content { padding: 0 !important; margin: 0 !important; }
body.home .nv-single-page-wrap,
body.page-template-front-page .nv-single-page-wrap { padding: 0 !important; }

/* ============================================================
   Base
   ============================================================ */
html { scroll-behavior: smooth; }
body.mw-home {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.mw-home a { color: inherit; text-decoration: none; }
body.mw-home button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
body.mw-home h1, body.mw-home h2, body.mw-home h3 {
  margin: 0; font-family: var(--f-sans); letter-spacing: -0.03em;
}
.mw-shell { width: min(1280px, 92vw); margin: 0 auto; }
.mw-mono { font-family: var(--f-mono); }

/* gridlines bg */
body.mw-home::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(to right, rgba(14,14,16,0.04) 1px, transparent 1px);
  background-size: 80px 100%;
  mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.mw-app { position: relative; z-index: 1; }

/* ============================================================
   Nav
   ============================================================ */
.mw-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mw-nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-family: var(--f-mono); font-size: 13px;
}
.mw-brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-sans); font-weight: 600;
  font-size: 1.05rem; letter-spacing: -0.02em;
}
.mw-brand .sq { display: inline-block; width: 12px; height: 12px; background: var(--accent); border-radius: 2px; }
.mw-brand .tld { color: var(--muted); font-weight: 500; }
.mw-nav-mid { display: flex; gap: 6px; }
.mw-nav-mid a {
  padding: 6px 12px; border-radius: 4px; color: var(--muted);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.mw-nav-mid a:hover { color: var(--ink); background: var(--paper); }
.mw-nav-cta,
body.mw-home a.mw-nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--ink); color: var(--bg) !important;
  border-radius: 4px; font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.mw-nav-cta:hover,
body.mw-home a.mw-nav-cta:hover { background: var(--accent); color: var(--bg) !important; }

/* Mobile-Burger — naked three lines, no box */
.mw-burger {
  display: none;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  background: transparent !important;
  border: none !important;
  padding: 0;
  cursor: pointer;
}
.mw-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); position: relative;
}
.mw-burger span::before, .mw-burger span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
}
.mw-burger span::before { top: -7px; }
.mw-burger span::after  { top:  7px; }
.mw-mobile-menu {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.mw-mobile-menu.open { display: block; }
.mw-mobile-menu a {
  display: block;
  padding: 12px 24px;
  font-family: var(--f-mono); font-size: 14px;
  color: var(--ink) !important;
  text-decoration: none;
  border-top: 1px solid var(--line);
}
.mw-mobile-menu a:first-child { border-top: none; }

/* ============================================================
   Buttons
   ============================================================ */
.mw-btn,
body.mw-home a.mw-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  background: var(--ink); color: var(--bg) !important;
  border-radius: 4px;
  font-family: var(--f-sans); font-size: 0.95rem; font-weight: 500;
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: background 0.18s, transform 0.15s;
  white-space: nowrap;
}
.mw-btn:hover,
body.mw-home a.mw-btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); color: var(--bg) !important; }
.mw-btn-ghost,
body.mw-home a.mw-btn-ghost { background: transparent; color: var(--ink) !important; }
.mw-btn-ghost:hover,
body.mw-home a.mw-btn-ghost:hover { background: var(--paper); border-color: var(--ink); color: var(--ink) !important; }

/* ============================================================
   Sections
   ============================================================ */
.mw-section { padding: 120px 0; position: relative; }
.mw-section + .mw-section { border-top: 1px solid var(--line); }
.mw-hero { padding: 70px 0 110px; }

.mw-hero-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 40px; align-items: end;
}
.mw-kicker {
  font-family: var(--f-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 36px; flex-wrap: wrap;
}
.mw-kicker .live {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px;
  background: var(--ink); color: var(--bg);
  border-radius: 3px; font-weight: 500;
  white-space: nowrap;
}
.mw-kicker .live .d {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--on); box-shadow: 0 0 7px var(--on);
  animation: mw-pulse 1.4s ease-in-out infinite;
}
@keyframes mw-pulse { 50% { opacity: 0.4; } }
.mw-kicker .sep { color: var(--muted-2); }

.mw-hero h1 {
  font-size: clamp(3.6rem, 11vw, 9.5rem);
  font-weight: 700; line-height: 0.88; letter-spacing: -0.05em;
}
.mw-hero h1 .row { display: block; }
.mw-hero h1 .ink2 { color: var(--ink-2); }
.mw-hero h1 .accent { position: relative; color: var(--accent); display: inline; }
.mw-hero h1 .accent .word { display: inline-block; white-space: nowrap; }
.mw-hero h1 .accent .ch {
  display: inline-block;
  animation: mw-foot-morph 9s steps(1) infinite;
  animation-delay: calc(var(--i) * -0.55s);
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1.4), color 0.18s;
}
.mw-hero h1 .accent .ch:hover {
  transform: translateY(-0.05em) scale(1.05);
  color: var(--accent) !important;
  animation-play-state: paused;
}
.mw-hero h1 .small {
  font-size: 0.42em; vertical-align: super;
  font-weight: 500; color: var(--muted);
  margin-left: 0.3em; letter-spacing: 0;
}
.mw-hero-sub {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 14px; color: var(--muted);
}
.mw-hero-sub strong { color: var(--ink); font-weight: 500; }
.mw-hero-actions { margin-top: 44px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.mw-idx {
  border: 1px solid var(--line-2); border-radius: 4px;
  background: var(--paper);
  padding: 18px 18px 14px;
  font-family: var(--f-mono); font-size: 12px;
}
.mw-idx-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 12px;
  display: flex; justify-content: space-between;
}
.mw-idx-row {
  display: flex; justify-content: space-between;
  padding: 5px 0; border-top: 1px dashed var(--line);
  color: var(--ink);
}
.mw-idx-row:first-of-type { border-top: none; }
.mw-idx-row .v { color: var(--muted); }

/* ============================================================
   Section heads
   ============================================================ */
.mw-sec-head {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 32px; align-items: end;
  margin-bottom: 56px; padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.mw-sec-num {
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding-top: 10px;
}
.mw-sec-num .big {
  display: block; font-family: var(--f-sans);
  font-size: 2.4rem; font-weight: 600;
  color: var(--ink); margin-bottom: 4px;
  letter-spacing: -0.03em;
}
.mw-sec-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 600; line-height: 1.02;
}
.mw-sec-title .ink2 { color: var(--muted); }
.mw-sec-lead {
  font-family: var(--f-mono); font-size: 13px; color: var(--muted);
  max-width: 30ch; text-align: right;
}

/* ============================================================
   Plugins
   ============================================================ */
.mw-plug-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mw-plug {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 22px 22px 18px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 230px;
  transition: background 0.18s, transform 0.18s, border-color 0.18s;
  cursor: pointer; overflow: hidden;
}
.mw-plug::after {
  content: ""; position: absolute;
  inset: auto -30% -30% auto;
  width: 60%; height: 60%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.mw-plug:hover { transform: translateY(-3px); border-color: var(--ink); }
.mw-plug:hover::after { opacity: 0.18; }
.mw-plug-num {
  font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
.mw-plug-name { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1; }
.mw-plug-tag { color: var(--muted); font-size: 13px; }
.mw-plug-foot {
  margin-top: auto; padding-top: 12px;
  border-top: 1px dashed var(--line-2);
  display: flex; align-items: center; justify-content: space-between;
}
.mw-plug-price {
  font-family: var(--f-mono); font-size: 13px; font-weight: 500;
  background: var(--ink); color: var(--bg);
  padding: 4px 10px; border-radius: 3px; white-space: nowrap;
}
.mw-plug:hover .mw-plug-price { background: var(--accent); }
.mw-plug-arr { color: var(--muted); transition: color 0.2s, transform 0.2s; }
.mw-plug:hover .mw-plug-arr { color: var(--accent); transform: translateX(3px); }

.mw-bundle {
  margin-top: 14px; padding: 18px 22px;
  background: var(--ink); color: var(--bg);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-family: var(--f-mono); font-size: 13px;
}
.mw-bundle .star { color: var(--accent); }
.mw-bundle a {
  padding: 8px 14px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 3px;
  font-family: var(--f-sans); font-weight: 500; font-size: 13px;
}

/* ============================================================
   Domains
   ============================================================ */
.mw-dom-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--paper); overflow: hidden;
}
.mw-dom-row {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 24px; align-items: center;
  padding: 18px 22px;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  transition: background 0.15s; cursor: pointer;
}
.mw-dom-row:nth-child(-n+2) { border-top: none; }
.mw-dom-row:nth-child(2n+1) { border-left: none; }
.mw-dom-row:hover { background: var(--bg); }
.mw-dom-row:hover .mw-dom-name .tld { color: var(--accent); }
.mw-dom-row:hover .mw-dom-arr { color: var(--accent); transform: translateX(3px); }
.mw-dom-name { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.mw-dom-name .tld { color: var(--muted); transition: color 0.2s; }
.mw-dom-price {
  font-family: var(--f-mono); font-size: 13px;
  color: var(--ink); font-weight: 500; white-space: nowrap;
}
.mw-dom-arr { color: var(--muted-2); transition: color 0.2s, transform 0.2s; }
.mw-dom-foot {
  margin-top: 18px;
  font-family: var(--f-mono); font-size: 13px; color: var(--muted);
}
.mw-dom-foot a { color: var(--accent); border-bottom: 1px solid var(--accent); }

/* ============================================================
   Projects
   ============================================================ */
.mw-proj-card {
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--paper); overflow: hidden;
}
.mw-proj-head, .mw-proj-row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1.1fr 100px 100px;
  gap: 24px; align-items: center;
  padding: 18px 24px; border-top: 1px solid var(--line);
}
.mw-proj-head {
  border-top: none; background: var(--bg);
  font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); padding: 13px 24px;
}
.mw-proj-row { transition: background 0.15s; }
.mw-proj-row:hover { background: var(--bg); }
.mw-proj-name { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; }
.mw-proj-name .kind {
  display: block; font-family: var(--f-mono); font-weight: 400;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); margin-top: 3px;
}
.mw-proj-desc { color: var(--muted); font-size: 0.92rem; }

.mw-bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; position: relative; }
.mw-bar .fill {
  position: absolute; inset: 0 auto 0 0;
  width: var(--p, 0); background: var(--accent);
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mw-bar.shipped .fill { background: var(--on); }
.mw-bar.planning .fill {
  background: repeating-linear-gradient(45deg, var(--ink) 0 5px, var(--paper) 5px 10px);
}
.mw-bar-meta {
  margin-top: 6px;
  font-family: var(--f-mono); font-size: 11px; color: var(--muted);
  display: flex; justify-content: space-between;
}

.mw-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-2); border-radius: 99px;
  font-family: var(--f-mono); font-size: 11px;
  background: var(--bg); white-space: nowrap;
}
.mw-pill .d { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.mw-pill.wip .d { background: var(--accent); }
.mw-pill.shipped .d { background: var(--on); }
.mw-pill.planning .d { background: var(--ink); }
.mw-proj-eta {
  font-family: var(--f-mono); font-size: 12px; color: var(--muted);
  text-align: right; white-space: nowrap;
}

/* ============================================================
   Blog
   ============================================================ */
.mw-blog-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 14px;
}
.mw-post {
  position: relative; display: flex; flex-direction: column;
  padding: 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  min-height: 280px;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
  overflow: hidden;
}
.mw-post:hover { transform: translateY(-3px); border-color: var(--ink); }
.mw-post.feat {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.mw-post.feat .mw-post-meta { color: var(--muted-2); }
.mw-post.feat .mw-post-title { color: var(--bg); }
.mw-post.feat .mw-post-excerpt { color: var(--muted-2); }
.mw-post.feat .mw-post-foot { border-top-color: rgba(255,255,255,0.16); }
.mw-post.feat .mw-post-tag { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.mw-post.feat .mw-post-arr { color: var(--bg); }
.mw-post.feat:hover .mw-post-arr { color: var(--accent); }
.mw-post-meta {
  font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 14px; flex-wrap: wrap;
}
.mw-post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.mw-post-tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--line-2); border-radius: 99px;
  font-family: var(--f-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); background: var(--bg);
  white-space: nowrap;
}
.mw-post-title { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); }
.mw-post.feat .mw-post-title { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; }
.mw-post-excerpt { margin-top: 12px; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.mw-post-foot {
  margin-top: auto; padding-top: 16px;
  border-top: 1px dashed var(--line-2);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-mono); font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.mw-post-arr { color: var(--muted); transition: color 0.2s, transform 0.2s; }
.mw-post:hover .mw-post-arr { transform: translateX(3px); color: var(--accent); }
.mw-blog-foot {
  margin-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-family: var(--f-mono); font-size: 13px; color: var(--muted);
}
.mw-blog-foot a { color: var(--accent); border-bottom: 1px solid var(--accent); }

/* ============================================================
   Contact
   ============================================================ */
.mw-contact-grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.mw-portrait {
  position: relative; border-radius: 4px; overflow: hidden;
  aspect-ratio: 4/5; background: var(--paper); border: 1px solid var(--line);
}
.mw-portrait img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 18%;
  display: block;
}
.mw-portrait .tape {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px;
  background: var(--ink); color: var(--bg);
  font-family: var(--f-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: 2px; white-space: nowrap;
}
.mw-p-name { margin-top: 14px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.mw-p-role {
  margin-top: 4px;
  font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
}

.mw-actions { display: flex; flex-direction: column; gap: 10px; }
.mw-action {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--paper);
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.mw-action:hover {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink); transform: translateY(-2px);
}
.mw-action:hover .mw-action-pill { background: var(--accent); color: var(--accent-ink); }
.mw-action:hover .mw-action-sub { color: var(--muted-2); }
.mw-action-title { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.mw-action-sub {
  margin-top: 4px;
  font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
}
.mw-action-pill {
  font-family: var(--f-mono); font-size: 12px;
  padding: 7px 14px;
  background: var(--ink); color: var(--bg);
  border-radius: 3px; white-space: nowrap;
}
.mw-mini-cal { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.mw-mini-slot {
  padding: 7px 11px;
  border: 1px solid var(--line-2); border-radius: 3px;
  font-family: var(--f-mono); font-size: 12px;
  color: var(--ink); background: var(--bg);
  transition: all 0.15s; white-space: nowrap;
}
.mw-action:hover .mw-mini-slot {
  background: rgba(255,255,255,0.06); color: var(--bg);
  border-color: rgba(255,255,255,0.18);
}
.mw-mini-slot:hover { border-color: var(--ink); }

/* Booking-Karte (mit eingebettetem [mw_booking]-Shortcode) */
.mw-action-booking {
  display: block; padding: 22px 24px;
  cursor: default;
}
.mw-action-booking:hover {
  background: var(--paper); color: inherit;
  border-color: var(--line); transform: none;
}
.mw-action-booking .mw-action-head { margin-bottom: 18px; }
.mw-action-booking-slot { font-family: var(--f-mono); }
.mw-action-booking-slot > * { max-width: 100%; }

/* ============================================================
   Footer
   ============================================================ */
.mw-footer { padding: 60px 0 30px; border-top: 1px solid var(--line); }
.mw-foot-mark {
  display: flex; flex-wrap: nowrap; align-items: baseline;
  white-space: nowrap; overflow: hidden;
}
.mw-foot-mark .ch {
  display: inline-block; flex: 0 0 auto;
  animation: mw-foot-morph 9s steps(1) infinite;
  animation-delay: calc(var(--i) * -0.55s);
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1.4), color 0.18s;
}
.mw-foot-mark .ch:hover {
  transform: translateY(-0.06em) scale(1.06);
  color: var(--accent) !important;
  animation-play-state: paused;
}
@keyframes mw-foot-morph {
  0%   { font-family: var(--f-sans); font-weight: 700; font-style: normal; color: var(--ink); }
  18%  { font-family: var(--f-sans); font-weight: 500; font-style: normal; color: var(--ink-2); }
  34%  { font-family: var(--f-sans); font-weight: 800; font-style: normal; color: var(--accent); }
  52%  { font-family: var(--f-sans); font-weight: 400; font-style: italic; color: var(--ink); }
  70%  { font-family: var(--f-sans); font-weight: 600; font-style: normal; color: var(--ink); }
  86%  { font-family: var(--f-sans); font-weight: 500; font-style: normal; color: var(--muted); }
  100% { font-family: var(--f-sans); font-weight: 700; font-style: normal; color: var(--ink); }
}
@keyframes mw-foot-sq {
  0%, 100% { background: var(--accent); transform: rotate(0deg); border-radius: 0.03em; }
  33%      { background: var(--ink);    transform: rotate(45deg); border-radius: 50%; }
  66%      { background: var(--ink-2);  transform: rotate(0deg); border-radius: 0.03em; }
}
.mw-foot-mark {
  font-family: var(--f-sans);
  font-size: clamp(2.2rem, 10vw, 9rem);
  font-weight: 700; letter-spacing: -0.05em; line-height: 0.88;
  color: var(--ink);
}
.mw-foot-mark .sq {
  display: inline-block; width: 0.16em; height: 0.16em;
  background: var(--accent); border-radius: 0.03em;
  align-self: center; margin: 0 0.06em;
  animation: mw-foot-sq 4s ease-in-out infinite;
  vertical-align: baseline; margin: 0 0.06em;
  transform: translateY(0);
}
.mw-foot-row {
  margin-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 18px;
  font-family: var(--f-mono); font-size: 12px; color: var(--muted);
  padding-top: 20px; border-top: 1px solid var(--line);
}
.mw-foot-row a:hover { color: var(--accent); }
.mw-foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ============================================================
   Archive + Single
   ============================================================ */
.mw-archive-head { padding: 70px 0 40px; }
.mw-archive-head .mw-kicker { margin-bottom: 24px; }
.mw-archive-head .mw-kicker a { text-decoration: none; }
.mw-archive-title {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 700; line-height: 0.95; letter-spacing: -0.04em;
}
.mw-archive-lead {
  margin-top: 18px;
  font-family: var(--f-mono); font-size: 14px; color: var(--muted);
}
.mw-archive-body { padding-top: 40px; padding-bottom: 100px; }
.mw-blog-grid--archive { grid-template-columns: repeat(3, 1fr); }
.mw-blog-grid--archive .mw-post.feat { grid-row: auto; }
.mw-plug-row--archive { grid-template-columns: repeat(3, 1fr); }
.mw-pagination {
  margin-top: 40px;
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  font-family: var(--f-mono); font-size: 13px;
}
.mw-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; padding: 8px 12px;
  border: 1px solid var(--line-2); border-radius: 4px;
  color: var(--ink); background: var(--paper); text-decoration: none;
}
.mw-pagination .page-numbers.current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.mw-pagination .page-numbers:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.mw-empty { font-family: var(--f-mono); color: var(--muted); padding: 60px 0; text-align: center; }

.mw-single { padding: 70px 0 100px; }
.mw-single-shell { max-width: 960px; }
.mw-single-meta {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  margin-bottom: 28px;
  font-family: var(--f-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
.mw-single-back { color: var(--accent) !important; text-decoration: none; }
.mw-single-tags { display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mw-single-tags .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.mw-single-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  margin-bottom: 36px;
}
.mw-single-cta {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin-bottom: 40px;
  padding: 18px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
}
.mw-single-price { font-size: 16px !important; padding: 8px 14px !important; }
.mw-single-progress { margin-bottom: 40px; }
.mw-single-content {
  font-size: 1.05rem; line-height: 1.7; color: var(--ink-2);
}
.mw-single-content h2 { margin-top: 2em; margin-bottom: 0.5em; font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.mw-single-content h3 { margin-top: 1.6em; margin-bottom: 0.4em; font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.mw-single-content p { margin: 0 0 1.2em; }
.mw-single-content a { color: var(--accent); border-bottom: 1px solid var(--accent); text-decoration: none; }
.mw-single-content blockquote {
  margin: 1.6em 0; padding: 14px 22px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  font-style: italic; color: var(--ink);
}
.mw-single-content code {
  font-family: var(--f-mono); font-size: 0.92em;
  background: var(--paper); padding: 2px 6px; border-radius: 3px;
}
.mw-single-content pre {
  background: var(--ink); color: var(--bg);
  padding: 18px 22px; border-radius: 4px; overflow: auto;
  font-family: var(--f-mono); font-size: 0.92em;
}
.mw-single-content pre code { background: transparent; padding: 0; color: var(--bg); }
.mw-single-content ul, .mw-single-content ol { margin: 0 0 1.2em 1.4em; }
.mw-single-content img { max-width: 100%; height: auto; border-radius: 4px; margin: 1.4em 0; }
.mw-single-content hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }
.mw-single-nav {
  margin-top: 60px; padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.mw-single-nav-side {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  text-decoration: none; transition: background 0.18s, border-color 0.18s;
}
.mw-single-nav-side:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.mw-single-nav-side:hover .lbl { color: var(--muted-2); }
.mw-single-nav-side .lbl { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.mw-single-nav-side .ttl { font-size: 1rem; font-weight: 600; letter-spacing: -0.015em; color: inherit; }
.mw-single-nav-side--right { text-align: right; }
.mw-single-foot-cta {
  margin-top: 60px;
  padding: 26px 28px;
  background: var(--ink); color: var(--bg);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.mw-single-foot-title { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; color: var(--bg); }
.mw-single-foot-sub { margin-top: 4px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); }
@media (max-width: 760px) {
  .mw-blog-grid--archive { grid-template-columns: 1fr; }
  .mw-plug-row--archive { grid-template-columns: 1fr; }
  .mw-single-nav { grid-template-columns: 1fr; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .mw-nav { position: relative; }
  .mw-hero-grid { grid-template-columns: 1fr; }
  .mw-hero h1 { font-size: clamp(2.6rem, 13vw, 5rem); overflow-wrap: anywhere; word-break: break-word; hyphens: auto; }
  .mw-hero h1 .accent { display: inline; }
  .mw-plug-row { grid-template-columns: repeat(2, 1fr); }
  .mw-plug-row { grid-template-columns: 1fr; }
  .mw-dom-grid { grid-template-columns: 1fr; }
  .mw-dom-row { border-left: none !important; }
  .mw-contact-grid { grid-template-columns: 1fr; }
  .mw-portrait { max-width: 240px; }
  .mw-nav-mid { display: none; }
  .mw-burger { display: inline-flex; }
  .mw-nav-cta { display: none; }
  .mw-blog-grid { grid-template-columns: 1fr; }
  .mw-post.feat { grid-row: auto; }
  .mw-proj-head, .mw-proj-row { grid-template-columns: 1fr; gap: 10px; }
  .mw-proj-head { display: none; }
  .mw-proj-eta { text-align: left; }
  .mw-sec-head { grid-template-columns: 1fr; gap: 14px; }
  .mw-sec-lead { text-align: left; }
}

.mw-proj-row {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}
