/* ============================================================
   MARVINTENDIES.DE · V3 "THE METHOD BEHIND THE INTERFACE"
   Design-Richtung: copula.agency
   Cream Canvas · Ink · Coral · Clash Display + Satoshi
   Wird NUR von index.html geladen (site.css?v=YYYYMMDD).
   Andere Seiten nutzen weiterhin style.css.
   ============================================================ */

/* ===================== FONTS ===================== */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@500,600&f[]=satoshi@400,500,700&display=swap');

/* ===================== TOKENS ===================== */
:root {
  --bg:        #F2EEE4;
  --bg-soft:   #E9E3D6;
  --ink:       #2A2823;
  --ink-soft:  #6E6A5E;
  --mute:      #C7C0AF;
  --accent:    #FC372D;
  --accent-dk: #C92214; /* Coral als Kleintext: erfuellt 4.5:1 auf --bg */
  --white:     #FFFFFF;
  --dark:      #1C1B17;
  --rule:      rgba(42, 40, 35, 0.16);
  --rule-soft: rgba(42, 40, 35, 0.08);

  --font-display: 'Clash Display', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --pad: clamp(20px, 4.5vw, 64px);
  --max: 1680px;
  --r-pill: 999px;
  --r-card: 22px;

  --display-xl: clamp(3.4rem, 10.5vw, 11rem);
  --display-lg: clamp(2.6rem, 7vw, 6.8rem);
  --display-md: clamp(1.9rem, 4.4vw, 4rem);
}

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

html { font-size: 16px; }
html.has-motion { scroll-behavior: auto; }
html:not(.has-motion) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

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

/* ===================== LANGUAGE TOGGLE ===================== */
[data-lang="en"] [data-de] { display: none !important; }
[data-lang="de"] [data-en] { display: none !important; }

/* ===================== HELPERS ===================== */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.025em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

#lang-toggle-m { display: none; }

/* Skip-Link: visuell versteckt, bei Tastatur-Fokus sichtbar */
.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  transform: translateY(calc(-100% - 20px));
}
.skip-link:focus-visible,
.skip-link:focus {
  transform: none;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

#main:focus { outline: none; }

/* Sprach-Toggle: aktive Sprache hervorheben */
.pill--lang { gap: 5px; }
.pill--lang .lt {
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.2s ease;
}
.pill--lang .lt-sep { color: var(--ink-soft); }
html[data-lang="en"] .pill--lang .lt-en,
html[data-lang="de"] .pill--lang .lt-de {
  color: var(--ink);
  font-weight: 700;
}

/* Grain, sehr subtil */
.has-motion body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 996;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: multiply;
}

/* ===================== PRELOADER ===================== */
.preloader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  align-items: center;
  justify-content: center;
}
.has-motion .preloader { display: flex; }

.preloader-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.preloader-mark .o {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--accent);
  align-self: center;
}

/* ===================== TOP NOTE ===================== */
.topnote {
  position: relative;
  z-index: 5;
  text-align: center;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 12px var(--pad);
  border-bottom: 1px solid var(--rule-soft);
}
.topnote strong { color: var(--ink); font-weight: 700; }

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.has-motion .nav {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.has-motion .nav.nav--hidden { transform: translateY(-110%); }
.has-motion .nav.nav--scrolled { box-shadow: 0 1px 0 var(--rule-soft); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  flex-shrink: 0;
}
.nav-logo .o {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--accent);
  align-self: center;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: opacity 0.25s ease;
}
.nav-link:hover { opacity: 0.55; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.pill:hover { background: var(--ink); color: var(--bg); }

.pill--solid {
  background: var(--ink);
  color: var(--bg);
}
.pill--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

.pill--lang {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 9px 14px;
}

/* Burger (mobil) */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  position: relative;
  flex-shrink: 0;
}
.nav-burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
}
.nav-burger span:nth-child(1) { top: calc(50% - 5px); }
.nav-burger span:nth-child(2) { top: calc(50% + 5px); }
.nav-burger.is-active span:nth-child(1) { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
.nav-burger.is-active span:nth-child(2) { top: 50%; transform: translate(-50%, -50%) rotate(-45deg); }

/* Mobile Overlay-Menue */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}
.menu-overlay > a,
.menu-overlay button.menu-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 9vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: left;
  width: max-content;
}
.menu-overlay .menu-meta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
}
body.no-scroll { overflow: hidden; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: clamp(60px, 9vh, 120px) 0 clamp(60px, 8vh, 110px);
  overflow: clip;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: clamp(28px, 5vh, 56px);
}
.hero-eyebrow .dotsep { color: var(--accent); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--display-xl);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-line { display: block; }
.has-motion .hero-line {
  clip-path: inset(-0.25em -0.6em 0 -0.6em);
  padding-bottom: 0.05em;
}

.hero-accent { color: var(--accent); display: inline-block; }
.hero-accent .char { display: inline-block; }

.hero-bottom {
  margin-top: clamp(40px, 7vh, 80px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-note {
  max-width: 460px;
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero-note strong { color: var(--ink); font-weight: 700; }

/* Runder rotierender CTA */
.cta-circle {
  position: relative;
  width: clamp(120px, 13vw, 168px);
  aspect-ratio: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.cta-circle svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.has-motion .cta-circle svg { animation: spin 14s linear infinite; }
.cta-circle:hover svg { animation-duration: 6s; }
.cta-circle text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  fill: var(--ink);
}
.cta-circle .cta-core {
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: transform 0.3s ease, background 0.3s ease;
}
.cta-circle:hover .cta-core { transform: scale(1.12); background: var(--ink); }

@keyframes spin { to { transform: rotate(360deg); } }

/* ===================== MANIFESTO ===================== */
.manifesto {
  padding: clamp(90px, 14vh, 170px) 0;
  border-top: 1px solid var(--rule-soft);
}

.manifesto-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 7vh, 80px);
}

.manifesto-claim {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--display-md);
  letter-spacing: -0.02em;
  line-height: 1;
}

.manifesto-statement {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 3.3rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 1180px;
}
.manifesto-statement .word { display: inline-block; }
.manifesto-statement em {
  font-style: normal;
  color: var(--accent);
}

/* ===================== ACCORDION (Services & Work) ===================== */
.section {
  padding: clamp(80px, 12vh, 150px) 0;
  border-top: 1px solid var(--rule-soft);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 6vh, 64px);
}

.section-hint {
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 380px;
}

.acc { border-top: 1px solid var(--rule); }
.acc:last-child { border-bottom: 1px solid var(--rule); }

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 3.6vh, 38px) 0;
  text-align: left;
}

.acc-index {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  flex-shrink: 0;
  width: 2.4em;
}

.acc-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--display-lg);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink-soft);
  transition: color 0.35s ease, transform 0.35s ease;
  flex: 1;
}
.acc-head:hover .acc-title,
.acc[data-open="true"] .acc-title { color: var(--ink); }
.acc--services .acc-head:hover .acc-title,
.acc--services[data-open="true"] .acc-title { color: var(--accent); }
.has-motion .acc-head:hover .acc-title { transform: translateX(10px); }

.acc-meta {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink-soft);
  white-space: nowrap;
  flex-shrink: 0;
}

.acc-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 1.5px solid var(--rule);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.acc[data-open="true"] .acc-icon {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.acc-body {
  overflow: hidden;
  height: 0;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Default offene Items sind auch ohne JS / ohne Motion offen.
   Inline-Hoehen aus site.js gewinnen waehrend der Animation. */
.acc[data-open="true"] .acc-body { height: auto; }

.acc-inner {
  padding: 6px 0 clamp(30px, 5vh, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
}

.acc-desc {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink);
  max-width: 560px;
}
.acc-desc p + p { margin-top: 14px; }
.acc-desc .stats {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.acc-desc .stat {
  border: 1.5px solid var(--rule);
  border-radius: var(--r-pill);
  padding: 7px 16px;
  font-weight: 700;
  font-size: 0.82rem;
}
.acc-desc .stat b { color: var(--accent-dk); }

.acc-list {
  list-style: none;
  align-self: start;
}
.acc-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.acc-list li::before {
  content: "→";
  color: var(--accent);
  flex-shrink: 0;
}

.acc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.25s ease;
}
.acc-link:hover { color: var(--accent-dk); }

/* ===================== WORDPLAY / STATIONEN ===================== */
.wordplay {
  padding: clamp(90px, 14vh, 170px) 0;
  border-top: 1px solid var(--rule-soft);
  text-align: center;
}

.wordplay-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5.6vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 1280px;
  margin: 0 auto;
}
.wordplay-line .o-dot {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: baseline;
  transform: translateY(0.04em);
}

.stations {
  margin-top: clamp(40px, 7vh, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.stations .sep { color: var(--accent); }

/* ===================== ABOUT (dunkel) ===================== */
.about {
  background: var(--dark);
  color: var(--bg);
  border-radius: var(--r-card);
  margin: 0 clamp(8px, 1.2vw, 20px);
  padding: clamp(90px, 14vh, 170px) 0;
}

.about .label { color: rgba(242, 238, 228, 0.55); }

.about-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--display-lg);
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: 18px 0 clamp(40px, 7vh, 72px);
}
.about-title em { font-style: normal; color: var(--accent); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.about-portrait {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--accent);
  aspect-ratio: 4 / 5;
  max-width: 420px;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
}
.about-portrait .tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--dark);
  color: var(--bg);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.scrub-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.7vw, 2.45rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.scrub-text .char { color: rgba(242, 238, 228, 0.22); }
html:not(.has-motion) .scrub-text .char,
html:not(.has-motion) .scrub-text { color: var(--bg); }
.scrub-text .word { display: inline-block; white-space: nowrap; }

.about-cta { margin-top: clamp(32px, 5vh, 56px); }
.about .pill { border-color: var(--bg); color: var(--bg); }
.about .pill:hover { background: var(--bg); color: var(--dark); }

/* ===================== NOW ===================== */
.now-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}

.now-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}
.now-card .label { color: var(--accent-dk); }
.now-card .label::before { background: var(--accent); }

.now-card h2,
.now-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.now-card p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}

.now-card .acc-link { margin-top: 0; align-self: start; }

/* ===================== ETYMOLOGIE ===================== */
.etym {
  padding: clamp(90px, 14vh, 160px) 0;
  border-top: 1px solid var(--rule-soft);
  text-align: center;
}

.etym-phon {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 3.2rem);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.etym-phon .etym-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.etym-phon .o {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.etym-def {
  margin: 28px auto 0;
  max-width: 760px;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.etym-def strong, .etym-def em { color: var(--ink); font-style: italic; font-weight: 600; }

/* ===================== CONTACT / FOOTER ===================== */
.contact {
  background: var(--accent);
  color: var(--white);
  border-radius: var(--r-card) var(--r-card) 0 0;
  margin: 0 clamp(8px, 1.2vw, 20px);
  padding: clamp(90px, 14vh, 170px) 0 clamp(40px, 6vh, 64px);
  overflow: clip;
}

.contact .label { color: var(--dark); }
.contact .label::before { background: var(--dark); }

.contact-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--display-xl);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 20px 0 clamp(36px, 6vh, 64px);
}
.has-motion .contact-title { clip-path: inset(-0.25em -0.6em 0 -0.6em); }
.contact-title .char { display: inline-block; }

.contact-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-sub {
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--dark);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.contact .pill {
  border-color: var(--dark);
  color: var(--dark);
  font-size: 0.95rem;
  padding: 13px 26px;
}
.contact .pill:hover { background: var(--dark); color: var(--bg); }
.contact .pill--solid {
  background: var(--dark);
  color: var(--bg);
  border-color: var(--dark);
}
.contact .pill--solid:hover { background: var(--white); border-color: var(--white); color: var(--dark); }

.footer-inner {
  margin-top: clamp(70px, 10vh, 120px);
  padding-top: 26px;
  border-top: 1px solid rgba(28, 27, 23, 0.35);
  display: flex;
  align-items: center;
  gap: 10px 22px;
  flex-wrap: wrap;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--dark);
}
.footer-inner a { border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.footer-inner a:hover { border-color: var(--dark); }
.footer-inner .grow { flex: 1; }

/* ===================== CV DRAWER ===================== */
.cv-panel { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.cv-panel.open { pointer-events: auto; }

.cv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 27, 23, 0.5);
  opacity: 0;
  transition: opacity 0.35s ease;
  cursor: pointer;
}
.cv-panel.open .cv-overlay { opacity: 1; }

.cv-drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 680px;
  max-width: 100%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border-radius: var(--r-card) 0 0 var(--r-card);
}
.cv-panel.open .cv-drawer { transform: translateX(0); }

.cv-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  border-bottom: 1px solid var(--rule-soft);
  flex-shrink: 0;
}
.cv-title-label {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dk);
  display: block;
}
.cv-title-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.cv-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 34px 30px 60px;
  overscroll-behavior: contain;
}

.cv-section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.cv-entry { padding: 20px 0; border-bottom: 1px solid var(--rule-soft); }
.cv-entry:last-child { border-bottom: none; }

.cv-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 8px;
}
.cv-role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.cv-company { font-weight: 700; font-size: 0.85rem; color: var(--accent-dk); }
.cv-period {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--ink-soft);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 4px;
}
.cv-desc { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }

/* ===================== CURSOR ===================== */
.cursor-dot, .cursor-ring {
  display: none;
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
@media (pointer: fine) {
  .has-motion .cursor-dot { display: block; width: 7px; height: 7px; background: var(--accent); }
  .has-motion .cursor-ring {
    display: block;
    width: 36px; height: 36px;
    border: 1.5px solid var(--accent);
    opacity: 0.5;
    transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
  }
  .has-motion .cursor-ring.is-active {
    width: 62px; height: 62px;
    opacity: 0.9;
    background: rgba(252, 55, 45, 0.07);
  }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .acc-inner { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 320px; }
  .now-grid { grid-template-columns: 1fr; }
  .now-card { min-height: 0; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  #lang-toggle-m { display: inline-flex; margin-left: auto; }
  .nav-burger { display: block; }
  .nav-inner { gap: 14px; }

  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .cta-circle { align-self: flex-end; margin-top: -30px; }

  .acc-head { flex-wrap: wrap; gap: 12px 16px; }
  .acc-meta { order: 3; width: 100%; padding-left: calc(2.4em + 16px); }
  .acc-icon { width: 38px; height: 38px; }

  .contact-actions { align-items: flex-start; }
  .cv-drawer { width: 100%; border-radius: 0; }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  .cta-circle svg { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
