:root {
  --font-sans: "Segoe UI", Inter, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --header-h: 92px;
}

html[data-theme="blue"] {
  --bg: #071A2D;
  --bg-2: #0D2742;
  --surface: #0C223A;
  --text: #FFFFFF;
  --muted: #A9BAD0;
  --accent: #2478FF;
  --accent-2: #78B7FF;
  --border: #294763;
  --nav: rgba(255,255,255,.83);
  --hero-overlay: linear-gradient(90deg, rgba(7,26,45,.96) 0%, rgba(7,26,45,.92) 31%, rgba(7,26,45,.62) 52%, rgba(7,26,45,.18) 75%, rgba(7,26,45,.05) 100%);
  --glow: rgba(36,120,255,.22);
  --button-text: #fff;
  --meta-theme: #071A2D;
  --hero-image: url('../img/hero-blue.webp');
  --media-overlay: linear-gradient(180deg, rgba(7,26,45,.04), rgba(7,26,45,.06) 45%, rgba(7,26,45,.58));
}

html[data-theme="green"] {
  --bg: #F5F8F5;
  --bg-2: #EAF2EC;
  --surface: #FFFFFF;
  --text: #10241B;
  --muted: #617069;
  --accent: #08663E;
  --accent-2: #48D98B;
  --border: #CBD9D0;
  --nav: rgba(16,36,27,.78);
  --hero-overlay: linear-gradient(90deg, rgba(245,248,245,.97) 0%, rgba(245,248,245,.92) 35%, rgba(245,248,245,.62) 55%, rgba(234,242,236,.20) 76%, rgba(234,242,236,.06) 100%);
  --glow: rgba(72,217,139,.18);
  --button-text: #fff;
  --meta-theme: #F5F8F5;
  --hero-image: url('../img/hero-green.webp');
  --media-overlay: linear-gradient(180deg, rgba(255,255,255,.02), rgba(8,102,62,.04) 45%, rgba(8,102,62,.30));
}

html[data-theme="dark"] {
  --bg: #0B0D10;
  --bg-2: #15181D;
  --surface: #14171B;
  --text: #F6F3ED;
  --muted: #AAA6A0;
  --accent: #D4AF74;
  --accent-2: #ECD3A6;
  --border: #343238;
  --nav: rgba(246,243,237,.82);
  --hero-overlay: linear-gradient(90deg, rgba(11,13,16,.96) 0%, rgba(11,13,16,.92) 32%, rgba(11,13,16,.65) 54%, rgba(11,13,16,.20) 76%, rgba(11,13,16,.06) 100%);
  --glow: rgba(212,175,116,.18);
  --button-text: #141414;
  --meta-theme: #0B0D10;
  --hero-image: url('../img/hero-dark.webp');
  --media-overlay: linear-gradient(180deg, rgba(11,13,16,.04), rgba(11,13,16,.10) 45%, rgba(11,13,16,.56));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.page-shell { min-height: 100vh; overflow: clip; }
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 clamp(24px, 4vw, 74px);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 86%, transparent), transparent);
  backdrop-filter: blur(9px);
}
.brand { display: inline-flex; align-items: center; width: fit-content; font-size: clamp(25px, 2.3vw, 39px); line-height: 1; letter-spacing: -.035em; font-weight: 700; }
.brand-name { color: var(--text); }
.brand-ai {
  color: var(--accent-2);
  font-weight: 650;
  margin-left: .08em;
  position: relative;
  padding: .10em .12em .07em;
}
.brand-ai::before, .brand-ai::after {
  content: "";
  position: absolute;
  width: .42em;
  height: .42em;
  border-color: var(--accent-2);
  border-style: solid;
}
.brand-ai::before { top: -.06em; right: -.05em; border-width: 2px 2px 0 0; border-radius: 0 4px 0 0; }
.brand-ai::after { bottom: -.08em; left: -.04em; border-width: 0 0 2px 2px; border-radius: 0 0 0 4px; }

.main-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); color: var(--nav); font-size: 14px; }
.main-nav a { position: relative; padding: 12px 0; }
.main-nav a::after { content:""; position:absolute; left:0; right:100%; bottom:2px; height:1px; background:var(--accent-2); transition:right .25s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { right:0; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.login-link { border: 1px solid color-mix(in srgb, var(--text) 35%, transparent); border-radius: 999px; padding: 11px 18px; font-size: 13px; transition: .25s; }
.login-link:hover { border-color: var(--accent-2); color: var(--accent-2); }
.theme-switcher { position: relative; }
.theme-trigger {
  border: 1px solid color-mix(in srgb, var(--text) 20%, transparent);
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  border-radius: 999px;
  min-width: 112px;
  height: 40px;
  padding: 0 13px;
  display:flex; align-items:center; gap:8px;
  cursor:pointer;
}
.theme-trigger svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; margin-left:auto; }
.theme-dot { width:9px; height:9px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.theme-current { font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.theme-menu {
  position:absolute; top:50px; right:0; width:210px; padding:8px;
  border:1px solid var(--border); border-radius:16px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow:0 18px 50px rgba(0,0,0,.24);
  opacity:0; transform: translateY(-6px) scale(.98); pointer-events:none;
  transition:.2s var(--ease);
  backdrop-filter:blur(18px);
}
.theme-switcher.open .theme-menu { opacity:1; transform:none; pointer-events:auto; }
.theme-menu button { width:100%; border:0; background:transparent; color:var(--text); display:grid; grid-template-columns:16px 1fr auto; align-items:center; gap:9px; padding:10px; border-radius:10px; cursor:pointer; text-align:left; font-size:13px; }
.theme-menu button:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.theme-menu button > span:last-child { color:var(--muted); font-size:11px; }
.swatch { width:11px; height:11px; border-radius:50%; }
.swatch-blue { background:#2478FF; }
.swatch-green { background:#48D98B; }
.swatch-dark { background:#D4AF74; }

.hero {
  position: relative;
  min-height: 100svh;
  display: block;
  background: var(--bg);
  overflow: hidden;
}
.hero::before {
  content:""; position:absolute; inset:0; z-index:3; pointer-events:none; background:var(--hero-overlay); transition:background .45s var(--ease);
}
.hero-art {
  position:absolute;
  inset:0;
  z-index:1;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  transition: background-image .2s linear;
}
.hero-ambient {
  position:absolute; inset:-10%; z-index:2; pointer-events:none;
  background:
    radial-gradient(circle at 22% 42%, var(--glow), transparent 22%),
    radial-gradient(circle at 76% 22%, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 18%),
    radial-gradient(circle at 70% 78%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 20%);
  transition: background .45s var(--ease);
}
.hero-copy {
  position:relative; z-index:5;
  min-height: 100svh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: calc(var(--header-h) + 35px) 4vw 110px clamp(30px, 5.2vw, 96px);
  max-width: min(60vw, 1080px);
}
.eyebrow { margin: 0 0 28px; font-size: 12px; letter-spacing: .30em; color: var(--muted); font-weight: 700; }
.eyebrow span { color: var(--accent-2); padding: 0 .5em; }
.hero h1 { margin:0; max-width:820px; font-size:clamp(54px, 4.85vw, 94px); line-height:.93; letter-spacing:-.055em; font-weight:760; }
.hero h1 .line { display:block; white-space:nowrap; }
.hero h1 .accent { color:var(--accent-2); }
.hero-lead { margin:30px 0 0; max-width:620px; color: color-mix(in srgb, var(--text) 78%, var(--muted)); font-size:clamp(17px,1.35vw,22px); line-height:1.55; }
.hero-cta { margin-top:32px; display:flex; align-items:center; gap:34px; flex-wrap:wrap; }
.button { display:inline-flex; align-items:center; gap:28px; min-height:54px; padding:0 25px; border-radius:999px; font-size:14px; font-weight:700; transition:transform .25s var(--ease), filter .25s var(--ease), background-color .25s var(--ease); }
.button-primary { background:var(--accent); color:var(--button-text); box-shadow:0 12px 34px color-mix(in srgb, var(--accent) 28%, transparent); }
.button-primary:hover { transform: translateY(-1px); filter:brightness(1.05); }
.button-link { color:var(--text); font-size:14px; padding-bottom:5px; border-bottom:1px solid color-mix(in srgb, var(--text) 55%, transparent); }
.button-link span { color:var(--accent-2); margin-left:8px; }

.hero-quote { margin: clamp(60px, 8vh, 100px) 0 0; padding: 0 0 0 44px; border-left:1px solid var(--border); color:var(--muted); position:relative; }
.quote-index { position:absolute; left:-8px; top:6px; transform:translateX(-100%); font-size:12px; letter-spacing:.15em; }
.hero-quote p { margin:0; color: color-mix(in srgb, var(--text) 83%, transparent); font-family:var(--font-display); font-style:italic; font-size:17px; line-height:1.45; }
.hero-quote footer { margin-top:12px; font-size:11px; letter-spacing:.12em; }

.hero-side-notes { position:absolute; inset:0; z-index:4; pointer-events:none; }
.visual-note { position:absolute; color: color-mix(in srgb, var(--text) 68%, transparent); font-size:11px; line-height:1.75; letter-spacing:.22em; }
.note-top { right:5.2vw; top:26%; }
.note-top::after, .note-bottom::before { content:""; display:block; width:34px; height:1px; background:var(--accent-2); margin-top:14px; }
.note-bottom { right:4.7vw; bottom:9%; }
.note-bottom::before { margin:0 0 14px; }

.scroll-cue { position:absolute; z-index:6; bottom:34px; left:50%; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:6px; color: color-mix(in srgb, var(--text) 76%, transparent); font-size:9px; letter-spacing:.24em; }
.mouse { width:20px; height:30px; border:1px solid currentColor; border-radius:12px; display:flex; justify-content:center; padding-top:5px; }
.mouse span { width:2px; height:6px; border-radius:2px; background:currentColor; animation:wheel 1.8s infinite; }
.chevron { font-size:16px; line-height:.5; }
@keyframes wheel { 0%{opacity:0;transform:translateY(0)} 30%{opacity:1} 100%{opacity:0;transform:translateY(8px)} }

/* Shared section styles */
.section {
  position: relative;
  padding: clamp(58px, 6vw, 92px) clamp(28px, 7vw, 126px);
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.section:nth-of-type(even) { background: var(--bg-2); }
.section-grid,
.section-heading,
.topic-grid,
.insight-grid,
.personal-grid,
.contact-panel,
.perspective-panel,
.insights-footer { max-width: 1500px; margin-left: auto; margin-right: auto; }
.section-kicker {
  margin: 0 0 22px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: 11px;
  font-weight: 750;
}
.section h2 {
  margin: 0;
  font-size: clamp(46px, 5.7vw, 94px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 720;
}
.section h2 span { color: var(--accent-2); }
.section-heading { margin-bottom: 34px; }
.section-heading > p:last-child { max-width: 760px; margin: 28px 0 0; color: var(--muted); line-height: 1.75; font-size: 17px; }

.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--media-overlay);
  pointer-events: none;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 5vw, 82px);
  align-items: start;
}
.about-copy { padding-top: 14px; }
.about-copy > p { color: var(--muted); line-height: 1.8; font-size: 17px; max-width: 760px; }
.about-copy .lead-copy { margin-top: 0; color: var(--text); font-size: clamp(20px, 1.8vw, 27px); line-height: 1.55; }
.about-visual-card {
  margin: 28px 0 30px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}
.about-visual-media { min-height: 330px; border-right: 1px solid var(--border); }
.about-visual-copy { padding: clamp(24px, 3vw, 38px); display:flex; flex-direction:column; justify-content:center; gap:18px; }
.about-visual-copy strong { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; font-family: var(--font-display); }
.about-visual-copy p { margin: 0; color: var(--muted); line-height: 1.7; }
.about-facts { margin-top: 4px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.about-facts > div { position: relative; padding: 28px 20px 8px 0; border-right: 1px solid var(--border); }
.about-facts > div:last-child { border-right: 0; padding-left: 24px; }
.about-facts > div:nth-child(2) { padding-left: 24px; }
.about-facts span { display: block; color: var(--accent-2); font-size: 10px; letter-spacing: .22em; margin-bottom: 24px; }
.about-facts strong { display: block; font-size: 18px; margin-bottom: 8px; }
.about-facts small { color: var(--muted); line-height: 1.45; }

/* Topics */
.section-topics { background: var(--bg-2); }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.topic-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.topic-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent-2) 58%, var(--border)); }
.topic-card-accent { background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface)); }
.topic-image { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--border); }
.topic-body { padding: clamp(26px, 3vw, 38px); }
.topic-number { color: var(--accent-2); font-size: 11px; letter-spacing: .24em; margin-bottom: 22px; }
.topic-card h3 { margin: 0 0 16px; font-size: clamp(28px, 2.4vw, 42px); letter-spacing: -.035em; line-height: 1.05; }
.topic-card p { margin: 0 0 24px; max-width: 620px; color: var(--muted); line-height: 1.7; }
.topic-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topic-card li { border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; font-size: 12px; color: color-mix(in srgb, var(--text) 78%, var(--muted)); }

/* Perspective */
.section-perspective { background: var(--bg); }
.perspective-panel {
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: clamp(36px, 5vw, 78px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 7vw, 90px);
  background: linear-gradient(125deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--accent) 7%, var(--surface)));
}
.perspective-panel h2 { font-size: clamp(44px, 4.5vw, 76px); }
.perspective-copy { align-self: end; }
.perspective-copy p { color: var(--muted); font-size: 17px; line-height: 1.8; }
.perspective-copy p:first-child { color: var(--text); font-size: 20px; }
.perspective-media { grid-column: 1 / -1; min-height: 360px; border-radius: 28px; border: 1px solid var(--border); }
.perspective-media img { object-position: center center; }
.perspective-points {
  position: absolute;
  left: clamp(20px, 3vw, 42px);
  right: clamp(20px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 2;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.perspective-points span {
  border: 1px solid color-mix(in srgb, #fff 20%, transparent);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Insights */
.section-insights { background: var(--bg-2); }
.section-heading-row { display: grid; grid-template-columns: 1fr .55fr; gap: 80px; align-items: end; }
.section-heading-row .insights-intro { margin: 0 0 8px; color: var(--muted); line-height: 1.75; font-size: 17px; }
.insight-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 18px; }
.insight-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.insight-featured { background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface)); }
.insight-thumb { aspect-ratio: 16/10; border-radius: 18px; margin-bottom: 20px; }
.insight-meta { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.insight-meta span:first-child { color: var(--accent-2); }
.insight-card h3 { margin: 18px 0 14px; font-size: clamp(27px, 2.1vw, 37px); line-height: 1.08; letter-spacing: -.035em; }
.insight-card p { color: var(--muted); line-height: 1.65; margin: 0 0 28px; }
.insight-card a { margin-top: auto; width: fit-content; color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 6px; font-size: 13px; }
.insight-card a span { color: var(--accent-2); margin-left: 8px; }
.insights-footer { margin-top: 32px; display: flex; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 13px; }

/* Personal */
.section-personal { background: var(--bg); }
.personal-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(38px, 5vw, 86px); align-items: start; }
.personal-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.personal-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--surface) 88%, transparent), color-mix(in srgb, var(--accent) 5%, var(--surface)));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.personal-image { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--border); }
.personal-body { padding: 24px 26px 30px; display:flex; flex-direction:column; flex:1; }
.personal-card > .personal-body > span { color: var(--accent-2); text-transform: uppercase; letter-spacing: .2em; font-size: 10px; }
.personal-card h3 { margin: 18px 0 16px; font-size: clamp(31px, 2.8vw, 48px); line-height: 1; letter-spacing: -.04em; }
.personal-card p { margin: 0; color: var(--muted); line-height: 1.65; }

/* Contact */
.section-contact { background: var(--bg-2); }
.contact-panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: clamp(36px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.1fr .7fr;
  gap: clamp(70px, 10vw, 160px);
  align-items: end;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}
.contact-panel-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--accent) 6%, transparent)),
    url('../img/about-workspace.webp') center / cover no-repeat;
  opacity: .26;
}
.contact-panel > * { position: relative; z-index: 2; }
.contact-panel h2 { font-size: clamp(48px, 5vw, 86px); }
.contact-actions p { color: color-mix(in srgb, var(--text) 74%, var(--muted)); line-height: 1.75; font-size: 17px; margin: 0 0 30px; }
.contact-links { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }

/* Footer and animation */
.site-footer { min-height: 130px; padding: 28px clamp(28px, 7vw, 126px); border-top: 1px solid var(--border); background: var(--bg); display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.footer-brand { font-size: 24px; }
.footer-copy { color: var(--muted); font-size: 12px; text-align: center; }
.footer-links { justify-self: end; display: flex; gap: 24px; color: var(--muted); font-size: 12px; }
.footer-links a:hover { color: var(--accent-2); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns:1fr auto; }
  .main-nav { display:none; }
  .hero::before { background:linear-gradient(180deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 76%, transparent) 46%, color-mix(in srgb, var(--bg) 42%, transparent) 100%); }
  .hero-art { background-position: 66% center; }
  .hero-copy { max-width:min(100%, 820px); padding-right:12vw; }
  .hero h1 .line { white-space: normal; }
  .visual-note { display:none; }

  .about-grid,
  .personal-grid,
  .contact-panel,
  .section-heading-row,
  .perspective-panel { grid-template-columns: 1fr; }
  .topic-grid, .insight-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .insight-featured { grid-column: 1 / -1; }
  .about-visual-card { grid-template-columns: 1fr; }
  .about-visual-media { border-right: 0; border-bottom: 1px solid var(--border); min-height: 280px; }
  .perspective-media { grid-column: auto; }
  .contact-panel { gap: 45px; }
}

@media (max-width: 720px) {
  :root { --header-h:76px; }
  .site-header { padding:0 20px; gap:12px; }
  .brand { font-size:26px; }
  .login-link { padding: 10px 14px; font-size: 12px; }
  .theme-trigger { min-width:98px; height:38px; }
  .hero { min-height:920px; }
  .hero-art { background-position: 74% center; }
  .hero-copy {
    min-height: 920px;
    justify-content:flex-start;
    padding: 150px 22px 80px;
    max-width:100%;
  }
  .hero h1 { font-size:clamp(46px,12vw,72px); }
  .hero-lead { max-width:92%; font-size:17px; }
  .hero-quote { margin-top:54px; }
  .scroll-cue { display:none; }
  .eyebrow { font-size:9px; letter-spacing:.20em; }

  .section { padding: 54px 22px; }
  .section h2, .perspective-panel h2, .contact-panel h2 { font-size: clamp(38px, 11vw, 62px); }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts > div, .about-facts > div:nth-child(2), .about-facts > div:last-child { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .topic-grid, .insight-grid, .personal-cards { grid-template-columns: 1fr; }
  .insight-featured { grid-column: auto; }
  .perspective-panel { padding: 30px 24px; border-radius: 24px; }
  .topic-card, .personal-card, .insight-card { border-radius: 22px; }
  .personal-image { aspect-ratio: 16/10; }
  .insights-footer, .contact-links { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; text-align: left; }
  .footer-copy { text-align: left; }
  .footer-links { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
}

/* V5: linked content and dedicated pages */
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}
.card-more span { color: var(--accent-2); }

.subhero {
  min-height: 72svh;
  padding: calc(var(--header-h) + 66px) clamp(28px, 7vw, 126px) 64px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: clamp(38px, 6vw, 92px);
  align-items: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 16% 32%, var(--glow), transparent 22%),
    linear-gradient(135deg, var(--bg), var(--bg-2));
}
.subhero-copy { max-width: 820px; }
.subhero h1 {
  margin: 0;
  font-size: clamp(54px, 5vw, 92px);
  line-height: .96;
  letter-spacing: -.055em;
}
.subhero h1 span { color: var(--accent-2); }
.subhero-copy > p:last-child { color: var(--muted); font-size: 18px; line-height: 1.75; max-width: 700px; margin-top: 28px; }
.subhero-image {
  min-height: 470px;
  height: min(54vw, 620px);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(0,0,0,.18);
}
.subhero-image img { object-position: center; }

.page-jumpnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px clamp(20px, 5vw, 70px);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}
.page-jumpnav a {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}
.page-jumpnav a:hover { color: var(--text); border-color: var(--accent-2); }

.detail-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 72px clamp(28px, 7vw, 82px);
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.detail-section-reverse .detail-media { order: 2; }
.detail-section-reverse .detail-copy { order: 1; }
.detail-media { min-height: 460px; height: min(44vw, 610px); border-radius: 28px; border: 1px solid var(--border); }
.detail-copy h2 { margin: 0 0 26px; font-size: clamp(42px, 4vw, 70px); line-height: 1; letter-spacing: -.05em; }
.detail-copy h2 span { color: var(--accent-2); }
.detail-copy p { color: var(--muted); line-height: 1.8; font-size: 17px; }
.detail-copy .detail-lead { color: var(--text); font-size: 21px; line-height: 1.6; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.detail-tags span { border: 1px solid var(--border); border-radius: 999px; padding: 9px 13px; font-size: 12px; color: color-mix(in srgb, var(--text) 80%, var(--muted)); }

.page-cta {
  margin: 60px auto;
  max-width: 1340px;
  padding: clamp(38px, 5vw, 72px);
  border: 1px solid var(--border);
  border-radius: 32px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--accent) 10%, var(--surface)));
}
.page-cta h2 { margin: 0 0 30px; max-width: 1050px; font-size: clamp(42px, 4vw, 70px); line-height: 1; letter-spacing: -.05em; }
.page-cta h2 span { color: var(--accent-2); }

.library-section,
.private-library {
  padding: 58px clamp(28px, 7vw, 126px) 84px;
  background: var(--bg);
}
.library-toolbar {
  max-width: 1500px;
  margin: 0 auto 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  cursor: pointer;
}
.filter-button:hover,
.filter-button.active { color: var(--button-text); background: var(--accent); border-color: var(--accent); }
.library-count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.library-count strong { color: var(--accent-2); font-size: 20px; margin-right: 4px; }
.library-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.library-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
}
.library-card[hidden] { display: none !important; }
.library-image { display: block; aspect-ratio: 16 / 8.5; border-bottom: 1px solid var(--border); }
.library-card-body { padding: 28px; }
.library-card h2 { margin: 20px 0 14px; font-size: clamp(28px, 2.3vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.library-card p { color: var(--muted); line-height: 1.7; }

.private-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.private-post-card { border: 1px solid var(--border); border-radius: 30px; overflow: hidden; background: var(--surface); }
.private-post-image { display: block; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--border); }
.private-post-body { padding: 30px; }
.private-post-body h2 { font-size: clamp(31px, 2.8vw, 48px); line-height: 1; letter-spacing: -.045em; margin: 20px 0 16px; }
.private-post-body p { color: var(--muted); line-height: 1.7; }

.article-shell { padding: calc(var(--header-h) + 64px) clamp(24px, 7vw, 120px) 84px; background: var(--bg); }
.article-header { max-width: 1040px; margin: 0 auto 42px; }
.article-back { display: inline-block; color: var(--muted); margin-bottom: 34px; font-size: 13px; }
.article-header .insight-meta { margin-bottom: 24px; }
.article-header h1 { margin: 0; font-size: clamp(48px, 5.4vw, 88px); line-height: .98; letter-spacing: -.055em; }
.article-header > p { color: var(--muted); max-width: 820px; font-size: 20px; line-height: 1.65; }
.article-cover { max-width: 1260px; height: min(54vw, 660px); margin: 0 auto 48px; border-radius: 32px; border: 1px solid var(--border); }
.article-body { max-width: 820px; margin: 0 auto; }
.article-body > p { color: color-mix(in srgb, var(--text) 88%, var(--muted)); font-family: var(--font-display); font-size: clamp(20px, 1.6vw, 25px); line-height: 1.85; }
.article-note { margin-top: 42px; border-left: 3px solid var(--accent); padding: 20px 24px; background: color-mix(in srgb, var(--surface) 88%, transparent); }
.article-note strong { color: var(--accent-2); }
.article-note p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }

@media (max-width: 1100px) {
  .subhero { grid-template-columns: 1fr; min-height: auto; }
  .subhero-image { height: 440px; }
  .detail-section, .detail-section-reverse { grid-template-columns: 1fr; }
  .detail-section-reverse .detail-media, .detail-section-reverse .detail-copy { order: initial; }
  .detail-media { height: 420px; min-height: 0; }
  .library-grid, .private-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .subhero { padding: calc(var(--header-h) + 34px) 22px 42px; gap: 28px; }
  .subhero h1 { font-size: clamp(44px, 13vw, 64px); }
  .subhero-image { height: 320px; min-height: 0; border-radius: 22px; }
  .page-jumpnav { position: static; justify-content: flex-start; }
  .detail-section { padding: 48px 22px; gap: 28px; }
  .detail-media { height: 300px; border-radius: 22px; }
  .detail-copy h2 { font-size: clamp(38px, 11vw, 58px); }
  .page-cta { margin: 36px 22px; border-radius: 24px; }
  .library-section, .private-library { padding: 42px 22px 64px; }
  .library-toolbar { align-items: flex-start; flex-direction: column; }
  .library-count { white-space: normal; }
  .library-card, .private-post-card { border-radius: 22px; }
  .article-shell { padding: calc(var(--header-h) + 38px) 22px 64px; }
  .article-header h1 { font-size: clamp(42px, 12vw, 64px); }
  .article-cover { height: 320px; border-radius: 22px; }
}

/* V6: public contact form + private topic overview */
.contact-intro {
  margin: 28px 0 0;
  max-width: 620px;
  color: color-mix(in srgb, var(--text) 76%, var(--muted));
  line-height: 1.75;
  font-size: 17px;
}
.contact-form-wrap {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(16px);
}
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: grid; gap: 8px; }
.form-field label,
.form-consent { color: color-mix(in srgb, var(--text) 82%, var(--muted)); font-size: 12px; font-weight: 650; letter-spacing: .02em; }
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 15px;
  color: var(--text);
  background: color-mix(in srgb, var(--bg) 54%, transparent);
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.form-field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}
.form-consent { display: flex; align-items: flex-start; gap: 10px; line-height: 1.55; color: var(--muted); font-weight: 400; }
.form-consent input { margin-top: 3px; accent-color: var(--accent); }
.form-submit-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 4px; }
.form-mail-hint { color: var(--muted); font-size: 12px; }
.form-mail-hint strong { color: var(--text); font-weight: 650; }
.form-message { margin-bottom: 18px; padding: 13px 15px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
.form-success { border: 1px solid color-mix(in srgb, var(--accent-2) 48%, var(--border)); background: color-mix(in srgb, var(--accent) 11%, var(--surface)); color: var(--text); }
.form-error { border: 1px solid #a64a4a; background: color-mix(in srgb, #a64a4a 12%, var(--surface)); color: var(--text); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.private-topics {
  max-width: 1500px;
  margin: 0 auto 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.private-topics span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: 12px;
  letter-spacing: .03em;
}

@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
  .form-submit-row { align-items: flex-start; flex-direction: column; }
  .form-submit-row .button { width: 100%; justify-content: space-between; }
  .contact-form-wrap { padding: 20px; border-radius: 20px; }
}

.personal-overview-link { display: inline-block; margin-top: 24px; }

.form-consent a { color: var(--text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent-2) 60%, transparent); text-underline-offset: 3px; }
.form-consent a:hover { color: var(--accent-2); }

/* Legal pages */
.legal-hero {
  padding: calc(var(--header-h) + 78px) clamp(28px, 7vw, 126px) 72px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 24%),
    linear-gradient(130deg, var(--bg), var(--bg-2));
}
.legal-hero-inner { max-width: 1500px; margin: 0 auto; }
.legal-hero h1 {
  margin: 0;
  font-size: clamp(58px, 7vw, 112px);
  line-height: .94;
  letter-spacing: -.06em;
}
.legal-hero p:last-child { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.legal-section { padding: 70px clamp(28px, 7vw, 126px) 110px; background: var(--bg); }
.legal-layout { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}
.legal-toc > span { color: var(--accent-2); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 750; margin-bottom: 4px; }
.legal-toc a { color: var(--muted); font-size: 13px; line-height: 1.35; }
.legal-toc a:hover { color: var(--text); }
.legal-content { max-width: 920px; }
.legal-block { padding: 0 0 42px; margin: 0 0 42px; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 28px); }
.legal-block:last-child { border-bottom: 0; margin-bottom: 0; }
.legal-eyebrow { margin: 0 0 12px !important; color: var(--accent-2) !important; text-transform: uppercase; letter-spacing: .18em; font-size: 10px !important; font-weight: 750; }
.legal-block h2 { margin: 0 0 18px; font-size: clamp(28px, 2.6vw, 42px); letter-spacing: -.035em; line-height: 1.1; }
.legal-block p,
.legal-block address { color: var(--muted); font-size: 16px; line-height: 1.78; font-style: normal; }
.legal-block strong { color: var(--text); }
.legal-block a { color: var(--accent-2); border-bottom: 1px solid color-mix(in srgb, var(--accent-2) 35%, transparent); }
.legal-block code { color: var(--text); background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--border); border-radius: 7px; padding: 2px 6px; font-size: .92em; }

@media (max-width: 980px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-toc > span { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .legal-hero { padding: calc(var(--header-h) + 46px) 22px 48px; }
  .legal-hero h1 { font-size: clamp(50px, 15vw, 78px); }
  .legal-section { padding: 48px 22px 72px; }
  .legal-toc { grid-template-columns: 1fr; padding: 18px; }
  .legal-toc > span { grid-column: auto; }
  .legal-block { padding-bottom: 32px; margin-bottom: 32px; }
}

/* V10.1 dynamic homepage insights */
.insight-grid-count-1{grid-template-columns:1fr}.insight-grid-count-1 .insight-card{display:grid;grid-template-columns:minmax(360px,.95fr) minmax(0,1.05fr);column-gap:clamp(28px,4vw,64px);align-items:start;padding:18px}.insight-grid-count-1 .insight-thumb{grid-row:1/6;aspect-ratio:16/10;margin-bottom:0;min-height:100%}.insight-grid-count-1 .insight-meta,.insight-grid-count-1 h3,.insight-grid-count-1 p,.insight-grid-count-1>a{grid-column:2}.insight-grid-count-1 h3{font-size:clamp(32px,3.1vw,52px);margin-top:20px}.insight-grid-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-grid-count-2 .insight-featured{grid-column:auto}.insight-empty{max-width:1500px;margin:0 auto;border:1px solid var(--border);border-radius:24px;padding:34px;background:var(--surface);color:var(--muted)}@media(max-width:900px){.insight-grid-count-1 .insight-card{display:flex;flex-direction:column}.insight-grid-count-1 .insight-thumb{width:100%;min-height:0;margin-bottom:20px}.insight-grid-count-1 .insight-meta,.insight-grid-count-1 h3,.insight-grid-count-1 p,.insight-grid-count-1>a{grid-column:auto}.insight-grid-count-2{grid-template-columns:1fr}}

/* V10.3 compact homepage insights */
.section-insights .insight-grid,
.section-insights .insight-grid-count-1,
.section-insights .insight-grid-count-2,
.section-insights .insight-grid-count-3,
.section-insights .insight-grid-count-4{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.section-insights .insight-card,
.section-insights .insight-grid-count-1 .insight-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:18px;
}
.section-insights .insight-grid-count-1 .insight-thumb,
.section-insights .insight-thumb{
  width:100%;
  min-height:0;
  aspect-ratio:16/10;
  margin-bottom:20px;
}
.section-insights .insight-grid-count-1 .insight-meta,
.section-insights .insight-grid-count-1 h3,
.section-insights .insight-grid-count-1 p,
.section-insights .insight-grid-count-1>a{
  grid-column:auto;
}
.section-insights .insight-card h3,
.section-insights .insight-grid-count-1 h3{
  font-size:clamp(23px,1.55vw,31px);
  margin:18px 0 14px;
}
.section-insights .insight-card p{font-size:14px;line-height:1.65}
@media(max-width:1250px){
  .section-insights .insight-grid,
  .section-insights .insight-grid-count-1,
  .section-insights .insight-grid-count-2,
  .section-insights .insight-grid-count-3,
  .section-insights .insight-grid-count-4{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .section-insights .insight-grid,
  .section-insights .insight-grid-count-1,
  .section-insights .insight-grid-count-2,
  .section-insights .insight-grid-count-3,
  .section-insights .insight-grid-count-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .section-insights .insight-grid,
  .section-insights .insight-grid-count-1,
  .section-insights .insight-grid-count-2,
  .section-insights .insight-grid-count-3,
  .section-insights .insight-grid-count-4{grid-template-columns:1fr}
}

/* V10.4 – kompakter Insights-Kopf auf der Startseite */
.section-insights .section-heading-row{
  grid-template-columns:1fr;
  gap:0;
  align-items:start;
}
.section-insights .insights-home-title{
  white-space:nowrap;
  font-size:clamp(42px,4.8vw,78px);
}
@media(max-width:900px){
  .section-insights .insights-home-title{white-space:normal;}
}

/* V10.5: compact Insights library grid */
@media (min-width: 1281px) {
  .library-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }
  .library-card {
    border-radius: 20px;
  }
  .library-image {
    aspect-ratio: 16 / 10;
  }
  .library-card-body {
    padding: 18px;
  }
  .library-card .insight-meta {
    gap: 8px;
    font-size: 9px;
  }
  .library-card h2 {
    margin: 14px 0 10px;
    font-size: clamp(19px, 1.45vw, 24px);
    line-height: 1.08;
  }
  .library-card p {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .library-card .card-more {
    font-size: 12px;
  }
}

@media (min-width: 1001px) and (max-width: 1280px) {
  .library-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .library-card-body { padding: 20px; }
  .library-card h2 { font-size: clamp(21px, 1.8vw, 28px); }
}

@media (min-width: 721px) and (max-width: 1000px) {
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* V11.3 Hero LinkedIn icon */
.hero-linkedin{
  position:absolute;
  right:5.2vw;
  top:26%;
  z-index:5;
  pointer-events:auto;
  width:68px;
  height:68px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent);
  background:transparent;
  border:0;
  padding:0;
  box-shadow:none;
  text-decoration:none;
  opacity:.82;
  transition:transform .22s var(--ease),opacity .22s var(--ease),filter .22s var(--ease);
}
.hero-linkedin:hover{
  transform:translateY(-3px) scale(1.07);
  opacity:1;
  filter:drop-shadow(0 12px 22px color-mix(in srgb, var(--accent) 35%, transparent));
}
.linkedin-logo{width:64px;height:64px;display:block;fill:currentColor}
.linkedin-logo circle{fill:var(--button-text)}
.linkedin-logo path{fill:var(--button-text)}
@media(max-width:900px){
  .hero-linkedin{right:22px;top:22%;width:56px;height:56px}
  .linkedin-logo{width:52px;height:52px}
}

