/* ==========================================================================
   e-schmid.ch — Theme-Hauptstil
   Modern · leicht · verspielt. Grün/Blau, Hanken Grotesk, organische Spirale.
   ========================================================================== */

/* ---------- Design-Tokens ------------------------------------------------ */
:root {
  /* Markenfarben (aus Marken-Export) */
  --green:        #377652;
  --green-deep:   #285c40;
  --green-light:  #9bc7a6;
  --blue:         #3a7d9e;
  --blue-light:   #a9d2e2;
  --ink:          #242b27;
  --ink-deep:     #1a2620;

  /* Themenwelten */
  --t-perma: #377652;
  --t-info:  #2d3a32;
  --t-krea:  #3a7d9e;

  /* Flächen & Text (hell) */
  --paper:    #fafbf8;
  --paper-2:  #f1efe9;
  --surface:  #ffffff;
  --surface-2:#f5f6f2;
  --text:     #242b27;
  --text-soft:#535a54;
  --text-mute:#7d837e;
  --line:     #e5e7e1;
  --line-soft:#eeefe9;

  --accent:   var(--green);
  --accent-2: var(--blue);

  /* Radien */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 38px;
  --r-pill: 999px;

  /* Schatten — weich, leicht */
  --sh-1: 0 1px 2px rgba(26,38,32,.04), 0 2px 8px rgba(26,38,32,.05);
  --sh-2: 0 6px 18px rgba(26,38,32,.07), 0 2px 6px rgba(26,38,32,.05);
  --sh-3: 0 18px 50px rgba(26,38,32,.12), 0 6px 16px rgba(26,38,32,.07);
  --sh-green: 0 16px 40px rgba(40,92,64,.22);

  /* Typo */
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-step--1: clamp(.84rem, .82rem + .1vw, .92rem);
  --fs-step-0:  clamp(1rem, .96rem + .2vw, 1.12rem);
  --fs-step-1:  clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --fs-step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --fs-step-3:  clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --fs-step-4:  clamp(2.6rem, 1.7rem + 4.4vw, 5.6rem);

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-back: cubic-bezier(.34,1.56,.64,1);
}

/* ---------- Dark Mode ---------------------------------------------------- */
html[data-theme="dark"] {
  --paper:    #141b16;
  --paper-2:  #1a2620;
  --surface:  #1e2922;
  --surface-2:#243029;
  --text:     #e9efe9;
  --text-soft:#b6c0b8;
  --text-mute:#8a958c;
  --line:     #2c3a31;
  --line-soft:#243029;
  --green:    #6cae7f;
  --green-light:#9bc7a6;
  --blue:     #6fb3d4;
  --t-perma:  #6cae7f;
  --t-info:   #c3cdc4;
  --t-krea:   #6fb3d4;
  --accent:   #6cae7f;
  --accent-2: #6fb3d4;
  --sh-1: 0 1px 2px rgba(0,0,0,.3);
  --sh-2: 0 6px 18px rgba(0,0,0,.35);
  --sh-3: 0 18px 50px rgba(0,0,0,.5);
  --sh-green: 0 16px 40px rgba(0,0,0,.5);
  color-scheme: dark;
}

/* ---------- Reset / Basis ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: var(--fs-step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.1; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: var(--fs-step-4); }
h2 { font-size: var(--fs-step-3); }
h3 { font-size: var(--fs-step-2); }
p { text-wrap: pretty; }

/* ---------- Layout-Helfer ----------------------------------------------- */
.wrap { width: min(100% - 2*var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2*var(--gutter), var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: var(--fs-step--1); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 1.6em; height: 2px; border-radius: 2px;
  background: currentColor; opacity: .6;
}
.lead { font-size: var(--fs-step-1); color: var(--text-soft); line-height: 1.5; }

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  --btn-bg: var(--green); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.5em; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: var(--fs-step-0);
  box-shadow: var(--sh-1);
  transition: transform .35s var(--ease-back), box-shadow .35s var(--ease), background .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--sh-green); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn .arr { transition: transform .35s var(--ease-back); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--green); background: color-mix(in oklab, var(--green) 8%, transparent); }
.btn--blue { --btn-bg: var(--blue); }

/* ---------- Header / Navigation ----------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  transition: transform .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.is-stuck {
  background: color-mix(in oklab, var(--paper) 80%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--sh-1);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; padding-block: clamp(.7rem, 1.6vw, 1.1rem);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand .mark svg, .brand .mark img { width: 100%; height: 100%; }
.brand:hover .mark { animation: spin-soft 1.4s var(--ease); }

.primary-nav { display: flex; align-items: center; gap: .3rem; }
.primary-nav a {
  position: relative; padding: .55em .9em; border-radius: var(--r-pill);
  font-weight: 500; color: var(--text-soft);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: .32em; translate: -50% 0;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  scale: 0; transition: scale .3s var(--ease-back);
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--text); background: var(--surface-2); }
.primary-nav .current-menu-item > a, .primary-nav a[aria-current="page"] { color: var(--green); }
.primary-nav .current-menu-item > a::after, .primary-nav a[aria-current="page"]::after { scale: 1; }

.nav-tools { display: flex; align-items: center; gap: .4rem; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; color: var(--text-soft);
  transition: background .25s var(--ease), color .25s, transform .3s var(--ease-back);
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); transform: translateY(-2px); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: block; }
html[data-theme="dark"] .theme-toggle .moon { display: none; }

.nav-toggle { display: none; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 70;
  background: var(--paper);
  padding: 6rem var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: .3rem;
  transform: translateX(100%); transition: transform .5s var(--ease);
  visibility: hidden;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav a {
  font-size: var(--fs-step-2); font-weight: 600; padding: .4em 0;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0; transform: translateY(18px);
}
.mobile-nav.is-open a { animation: rise-in .5s var(--ease) forwards; }
.mobile-nav.is-open a:nth-child(1){animation-delay:.08s}
.mobile-nav.is-open a:nth-child(2){animation-delay:.14s}
.mobile-nav.is-open a:nth-child(3){animation-delay:.20s}
.mobile-nav.is-open a:nth-child(4){animation-delay:.26s}
.mobile-nav.is-open a:nth-child(5){animation-delay:.32s}
.mobile-nav.is-open a:nth-child(6){animation-delay:.38s}

/* ---------- Hero -------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: clip; }
.hero__inner { position: relative; z-index: 2; max-width: 56ch; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--green); }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -.05em; right: -.05em; bottom: .08em; height: .32em; z-index: -1;
  background: var(--green-light); border-radius: var(--r-pill); opacity: .55;
  transform: scaleX(0); transform-origin: left; animation: underline-grow 1s var(--ease) .6s forwards;
}
.hero .lead { margin-block: 1.4rem 2.2rem; max-width: 48ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* organische Blobs als Hintergrund */
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; will-change: transform; }
.blob--1 { width: 36vw; height: 36vw; right: -8vw; top: -6vw; background: radial-gradient(circle at 30% 30%, var(--green-light), transparent 70%); }
.blob--2 { width: 26vw; height: 26vw; right: 14vw; top: 22vw; background: radial-gradient(circle at 30% 30%, var(--blue-light), transparent 70%); opacity: .45; }
.blob--3 { width: 18vw; height: 18vw; left: -6vw; bottom: -4vw; background: radial-gradient(circle at 30% 30%, var(--green-light), transparent 70%); opacity: .35; }

/* Riesen-Spirale (Markenmotiv) */
.hero-spiral { position: absolute; right: clamp(-10rem,-4vw,-2rem); top: 50%; translate: 0 -50%; width: clamp(280px, 40vw, 620px); opacity: .9; z-index: 1; }
.hero-spiral svg { width: 100%; height: auto; overflow: visible; }

/* ---------- Themenwelten ------------------------------------------------ */
.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); }
.world {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--sh-1);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  min-height: 340px;
}
.world::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(120% 120% at 100% 0%, var(--w-tint), transparent 60%);
  transition: opacity .5s var(--ease);
}
.world:hover { transform: translateY(-8px); box-shadow: var(--sh-3); }
.world:hover::before { opacity: 1; }
.world__badge {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  font-size: 2.6rem; font-weight: 500; color: #fff; background: var(--w-color);
  margin-bottom: 1.2rem; box-shadow: var(--sh-2);
  transition: transform .6s var(--ease-back);
}
.world:hover .world__badge { transform: rotate(-8deg) scale(1.08); }
.world h3 { margin-bottom: .4rem; }
.world p { color: var(--text-soft); font-size: var(--fs-step-0); margin-bottom: 1.4rem; }
.world__link { margin-top: auto; display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--w-color); }
.world__link .arr { transition: transform .35s var(--ease-back); }
.world:hover .world__link .arr { transform: translateX(5px); }
.world--perma { --w-color: var(--t-perma); --w-tint: var(--green-light); }
.world--info  { --w-color: var(--t-info);  --w-tint: #c7d0c9; }
.world--krea  { --w-color: var(--t-krea);  --w-tint: var(--blue-light); }
.world__num { position: absolute; right: 1.2rem; top: .6rem; font-size: 4rem; font-weight: 700; color: var(--w-color); opacity: .08; z-index: -1; }

/* ---------- Section-Köpfe ----------------------------------------------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head .titles { max-width: 40ch; }
.section-head h2 { margin-top: .5rem; }
.section-head p { color: var(--text-soft); margin-top: .8rem; }

/* ---------- Blog: Masonry-Raster ---------------------------------------- */
.masonry { columns: 3 280px; column-gap: clamp(1rem, 2vw, 1.6rem); }
.card { break-inside: avoid; margin-bottom: clamp(1rem, 2vw, 1.6rem); }
.post-card {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--sh-1);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.post-card__media { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__media.is-tall { aspect-ratio: 3/4; }
.post-card__cat {
  position: absolute; left: .8rem; top: .8rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .4em;
  padding: .35em .8em; border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--paper) 86%, transparent);
  backdrop-filter: blur(8px); font-size: .78rem; font-weight: 600; color: var(--accent);
}
.post-card__body { padding: 1.2rem 1.3rem 1.4rem; }
.post-card__date { font-size: var(--fs-step--1); color: var(--text-mute); font-weight: 500; }
.post-card h3 { font-size: var(--fs-step-1); margin-top: .35rem; transition: color .3s var(--ease); }
.post-card:hover h3 { color: var(--green); }
.post-card p { color: var(--text-soft); font-size: var(--fs-step--1); margin-top: .55rem; }
/* Karte ohne Bild bekommt Farbverlauf-Kopf */
.post-card--noimg .post-card__media { aspect-ratio: 16/7; display: grid; place-items: center; }
.post-card--noimg .post-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--green), var(--blue)); opacity: .9; }
.post-card--noimg .post-card__media .glyph { position: relative; z-index: 1; color: #fff; opacity: .9; }
.post-card--noimg .post-card__media .glyph svg { width: 54px; height: 54px; }

/* ---------- Einzelbeitrag / Seite --------------------------------------- */
.entry-hero { padding-top: clamp(2rem, 5vw, 3.5rem); }
.entry-hero .eyebrow { margin-bottom: 1rem; }
.entry-hero h1 { max-width: 18ch; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.4rem; color: var(--text-mute); font-size: var(--fs-step--1); }
.entry-meta .who { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; color: var(--text-soft); }
.entry-meta .who img { width: 30px; height: 30px; border-radius: 50%; }
.entry-cover { margin-block: clamp(1.8rem, 4vw, 3rem); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); }
.entry-cover img { width: 100%; }

.prose { font-size: var(--fs-step-0); line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-step-2); margin-top: 1.8em; }
.prose h3 { font-size: var(--fs-step-1); margin-top: 1.5em; }
.prose a { color: var(--green); text-decoration: underline; text-decoration-color: var(--green-light); text-underline-offset: 3px; text-decoration-thickness: 2px; transition: text-decoration-color .25s; }
.prose a:hover { text-decoration-color: var(--green); }
.prose img { border-radius: var(--r); box-shadow: var(--sh-1); }
.prose blockquote {
  margin-block: 1.6em; padding: 1.2em 1.6em; border-radius: var(--r);
  background: var(--surface-2); border-left: 4px solid var(--green);
  font-size: var(--fs-step-1); color: var(--text-soft); font-style: italic;
}
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5em; height: .5em; border-radius: 50%; background: var(--green); }
.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--green); font-weight: 700; }
.prose code { background: var(--surface-2); padding: .15em .45em; border-radius: 6px; font-size: .9em; }
.prose figure figcaption { font-size: var(--fs-step--1); color: var(--text-mute); margin-top: .6em; text-align: center; }

/* Galerie aus WP */
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: .8rem; }
.prose .wp-block-gallery img { border-radius: var(--r-sm); }

/* Beitrags-Fortschrittsbalken */
.read-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; z-index: 80; background: linear-gradient(90deg, var(--green), var(--blue)); transition: width .1s linear; }

/* Beitrags-Navigation */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(2.5rem,5vw,4rem); }
.post-nav a { padding: 1.3rem 1.5rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); transition: transform .4s var(--ease), box-shadow .4s; }
.post-nav a:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.post-nav .dir { font-size: var(--fs-step--1); color: var(--text-mute); font-weight: 600; }
.post-nav .ttl { font-weight: 600; margin-top: .3rem; display: block; }
.post-nav .next { text-align: right; }

/* ---------- Über-mich Block --------------------------------------------- */
.about-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.about-portrait { position: relative; }
.about-portrait img { border-radius: var(--r-xl); box-shadow: var(--sh-3); width: 100%; }
.about-portrait .ring { position: absolute; inset: -14px; border-radius: var(--r-xl); border: 2px dashed var(--green-light); z-index: -1; animation: spin-slow 40s linear infinite; }

/* ---------- Kontakt / CF7 ----------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-card { background: var(--surface); border-radius: var(--r-xl); padding: clamp(1.6rem,3vw,2.6rem); box-shadow: var(--sh-2); }
.contact-info li { display: flex; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.contact-info li:last-child { border-bottom: 0; }
.contact-info .ci { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--green); flex: none; }
.contact-info .ci svg { width: 20px; height: 20px; }
.contact-info .lbl { font-size: var(--fs-step--1); color: var(--text-mute); }
.contact-info .val { font-weight: 600; }

/* ---------- Footer ------------------------------------------------------ */
.site-footer { margin-top: var(--section-y); background: var(--ink-deep); color: #d7ddd6; padding-block: clamp(3rem,6vw,5rem) 2rem; position: relative; overflow: hidden; }
html[data-theme="dark"] .site-footer { background: #0f1612; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.site-footer a { color: #c2cabf; transition: color .25s; }
.site-footer a:hover { color: #fff; }
.footer-brand .mark { width: 46px; height: 46px; margin-bottom: 1rem; }
.footer-brand p { color: #98a39a; max-width: 34ch; margin-top: .8rem; }
.footer-col h4 { font-size: var(--fs-step--1); text-transform: uppercase; letter-spacing: .12em; color: #8a958c; margin-bottom: 1rem; }
.footer-col li { margin-bottom: .6rem; }
.footer-bottom { margin-top: clamp(2rem,4vw,3rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: var(--fs-step--1); color: #8a958c; }
.footer-spiral { position: absolute; right: -4rem; bottom: -4rem; width: 240px; opacity: .06; }

/* ---------- Pagination -------------------------------------------------- */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: clamp(2.5rem,5vw,4rem); flex-wrap: wrap; }
.pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 .8rem; display: inline-grid; place-items: center; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--sh-1); font-weight: 600; transition: transform .3s var(--ease-back), background .25s; }
.pagination .page-numbers:hover { transform: translateY(-3px); }
.pagination .page-numbers.current { background: var(--green); color: #fff; }

/* ---------- Diverses ---------------------------------------------------- */
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.tag-list a { padding: .4em .9em; border-radius: var(--r-pill); background: var(--surface-2); font-size: var(--fs-step--1); font-weight: 500; color: var(--text-soft); transition: background .25s, color .25s; }
.tag-list a:hover { background: var(--green); color: #fff; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 200; background: var(--green); color:#fff; padding:.7em 1.2em; border-radius: var(--r-pill); }

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 900px) {
  .worlds { grid-template-columns: 1fr; }
  .masonry { columns: 2 240px; }
  .about-split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .primary-nav { display: none; }
  .nav-toggle { display: grid; }
  .post-nav { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-spiral { display: none; }
}
