:root {
  --bg: #0a0e0b;
  --bg-alt: #0e1410;
  --surface: #131a15;
  --line: #233027;
  --line-soft: #19221c;
  --ink: #eef2ea;
  --muted: #9aa89d;
  --gold: #f2c14e;
  --green: #7ddc8a;
  --sky: #6fc3ff;
  --coral: #ff9274;
  --violet: #b9a2ff;
  --c: var(--gold);
  --serif: "Fraunces", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px max(20px, calc((100% - var(--wrap)) / 2));
  background: rgba(10, 14, 11, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; }
.mark {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1.5px solid var(--gold);
  font-family: var(--serif); font-weight: 600; font-size: 16px; letter-spacing: 0;
  color: var(--ink);
}
.mark--sm { width: 28px; height: 28px; font-size: 12px; border-radius: 8px; margin-right: 8px; vertical-align: middle; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav__links a:hover { color: var(--ink); }

/* BUTTONS + LINKS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--gold); color: #17130a;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid var(--gold);
  transition: transform 0.2s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(242, 193, 78, 0.55); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--muted); box-shadow: none; }
.btn--small { padding: 9px 16px; font-size: 14px; }
.link {
  display: inline-flex; gap: 8px; align-items: center;
  font-family: var(--mono); font-size: 14px;
  color: var(--c); text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  padding-bottom: 2px; transition: border-color 0.2s;
}
.link:hover { border-color: var(--c); }

/* HERO */
.hero { position: relative; padding: clamp(72px, 12vw, 150px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(242, 193, 78, 0.16), transparent 70%),
    radial-gradient(50% 45% at 8% 90%, rgba(125, 220, 138, 0.12), transparent 70%),
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
          mask-image: linear-gradient(#000 55%, transparent);
}
.hero .wrap { position: relative; }
.hero__top { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.portrait {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 0 0 8px rgba(242, 193, 78, 0.08), 0 40px 80px -30px rgba(242, 193, 78, 0.35);
  transform: rotate(1.5deg);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 62%, rgba(10, 14, 11, 0.85)); pointer-events: none; }
.portrait figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
}
.portrait__credit { font-size: 10px; color: #b9c4ba; }
.eyebrow, .kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(125, 220, 138, 0.6); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(125, 220, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(125, 220, 138, 0); } }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); max-width: 16ch; }
h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.lede { margin-top: 28px; max-width: 58ch; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #c9d3c8; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.facts {
  list-style: none; padding: 0; margin: clamp(48px, 7vw, 84px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.facts li { padding: 22px 20px 0 0; display: flex; flex-direction: column-reverse; gap: 2px; }
.facts__k { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }
.facts__v { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

/* SECTIONS */
.section { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line-soft); }
.section--alt { background: var(--bg-alt); }
.kicker { color: var(--c); margin-bottom: 14px; }
#map .kicker { color: var(--muted); }
.section__intro { margin-top: 18px; max-width: 60ch; color: #c2ccc1; }
.section__intro + .link, .section__intro + .btn { margin-top: 26px; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

/* MAP */
.map {
  position: relative;
  margin-top: 56px;
  padding: 44px 24px 36px 44px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  row-gap: 64px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 1px 1px, #1f2a22 1px, transparent 1.5px) 0 0 / 26px 26px,
    linear-gradient(180deg, #0f1611, #0b100c);
}
.map__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.edge { fill: none; stroke: var(--c); stroke-width: 1.5; opacity: 0.32; transition: opacity 0.25s, stroke-width 0.25s; }
.edge--flow { stroke-width: 2; stroke-dasharray: 3 15; stroke-linecap: round; opacity: 0.9; animation: flow 1.6s linear infinite; }
.edge--root { stroke-dasharray: 5 6; opacity: 0.55; }
.edge.is-on { opacity: 1; stroke-width: 2.5; }
.map.has-pick .edge:not(.is-on) { opacity: 0.12; }
@keyframes flow { to { stroke-dashoffset: -18; } }

.node {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: none; border: 0; padding: 0; margin: 0;
  color: var(--ink); font: inherit; text-align: center; cursor: pointer;
  justify-self: center;
}
.node[data-id="me"]       { grid-area: 1 / 6 / auto / span 2; }
.node[data-id="brands"]   { grid-area: 2 / 3 / auto / span 2; }
.node[data-id="advisory"] { grid-area: 2 / 6 / auto / span 2; }
.node[data-id="snorka"]   { grid-area: 2 / 9 / auto / span 2; }
.node[data-id="pp"]       { grid-area: 3 / 1 / auto / span 2; }
.node[data-id="fb"]       { grid-area: 3 / 3 / auto / span 2; }
.node[data-id="rueroo"]   { grid-area: 3 / 5 / auto / span 2; }
.node[data-id="whatbox"]  { grid-area: 3 / 8 / auto / span 2; }
.node[data-id="nm"]       { grid-area: 3 / 10 / auto / span 2; }
.node[data-id="farm"]     { grid-area: 4 / 2 / auto / span 2; }

.bubble {
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: #fff; color: var(--c);
  box-shadow: 0 0 0 2px var(--c), 0 0 0 9px color-mix(in srgb, var(--c) 14%, transparent), 0 18px 40px -18px color-mix(in srgb, var(--c) 70%, transparent);
  transition: transform 0.3s cubic-bezier(0.3, 1.5, 0.5, 1), box-shadow 0.3s;
  margin-bottom: 10px;
}
.bubble img { width: 74%; height: 74%; object-fit: contain; }
.bubble img.fill, .card__logo img.fill { width: 100%; height: 100%; object-fit: cover; }
.chip img.fill { object-fit: cover; padding: 0; }
.bubble--dark { background: #101812; }
.bubble--hub { width: 72px; height: 72px; }
.node--root .bubble { width: 116px; height: 116px; box-shadow: 0 0 0 2px var(--gold), 0 0 0 10px rgba(242, 193, 78, 0.12), 0 0 60px -8px rgba(242, 193, 78, 0.5); }
.mono-mark { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--ink); }
.initials { font-family: var(--serif); font-size: 28px; font-weight: 600; color: #1a2a1f; }
.node:hover .bubble, .node.is-pick .bubble { transform: scale(1.07); box-shadow: 0 0 0 3px var(--c), 0 0 0 13px color-mix(in srgb, var(--c) 22%, transparent), 0 0 50px -6px var(--c); }
.node:focus-visible { outline: none; }
.node:focus-visible .bubble { outline: 2px solid var(--ink); outline-offset: 6px; }
.node__name { font-weight: 600; font-size: 15px; line-height: 1.25; }
.node__role { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); line-height: 1.4; }

.panel {
  grid-area: 4 / 6 / auto / span 7; align-self: center; z-index: 1;
  padding: 24px 26px; border-radius: 16px;
  background: rgba(19, 26, 21, 0.92);
  border: 1px solid var(--line);
  border-left: 3px solid var(--c);
  min-height: 176px;
  transition: border-color 0.25s;
}
.panel__tag { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--c); }
.panel__title { margin-top: 6px; font-size: 1.6rem; }
.panel__body { margin-top: 10px; color: #c2ccc1; font-size: 15.5px; line-height: 1.55; }
.panel__links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; }

.legend { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: 8px; }

/* CARDS */
.cards { display: grid; gap: 20px; margin-top: 48px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  padding: 28px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.3s cubic-bezier(0.3, 1.3, 0.5, 1), border-color 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, var(--line)); }
.card p:not(.card__tag) { color: #c2ccc1; font-size: 16px; }
.card .link { margin-top: auto; }
.card__tag { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c); }
.card__logo { width: 76px; height: 76px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; margin-bottom: 6px; box-shadow: 0 0 0 2px var(--c); }
.card__logo img { width: 74%; height: 74%; object-fit: contain; }

.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; }
.chip img { width: 34px; height: 34px; border-radius: 50%; background: #fff; object-fit: contain; padding: 4px; }
.chain__arrow { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c); }
.chain__arrow::after { content: " →"; }

/* FARM */
.field { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #14201a 0%, #1c2a1c 48%, #0d130e 48%); }
.field__sun { position: absolute; left: 50%; top: 48%; width: 34%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, #f2c14e, #e79a3c 60%, transparent 62%); filter: drop-shadow(0 0 40px rgba(242, 193, 78, 0.55)); }
.field__rows { position: absolute; left: -50%; right: -50%; top: 48%; bottom: 0; background: repeating-linear-gradient(90deg, rgba(125, 220, 138, 0.5) 0 2px, transparent 2px 46px), #0d130e; transform: perspective(240px) rotateX(62deg); transform-origin: top center; }
.field__label { position: absolute; left: 18px; bottom: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: rgba(10, 14, 11, 0.7); padding: 4px 10px; border-radius: 6px; }

/* ADVISORY */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { padding: 18px 20px 18px 50px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); position: relative; color: #c2ccc1; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 20px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent); }
.ticks strong { color: var(--ink); }

/* CONTACT + FOOTER */
.contact { text-align: center; background: radial-gradient(50% 80% at 50% 100%, rgba(242, 193, 78, 0.13), transparent 70%); }
.contact .kicker { color: var(--gold); }
.contact .section__intro { margin-inline: auto; }
.contact .btn { margin-top: 30px; }
.footer { border-top: 1px solid var(--line-soft); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.footer__in { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s, transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
  .split { grid-template-columns: 1fr; }
  .hero__top { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; transform: none; }
  .cards--3 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }

  .map { display: flex; flex-direction: column; gap: 20px; padding: 24px 16px 20px; margin-top: 36px; }
  .node { flex-direction: row; align-items: center; text-align: left; gap: 0; align-self: flex-start; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; }
  .node .bubble { grid-row: 1 / span 2; margin: 0; width: 60px; height: 60px; }
  .node--root .bubble { width: 72px; height: 72px; }
  .bubble--hub { width: 60px; height: 60px; }
  .mono-mark { font-size: 26px; }
  .node__name { align-self: end; }
  .node__role { align-self: start; }
  .node[data-id="me"] { order: 0; }
  .node[data-id="farm"] { order: 1; margin-left: 56px; }
  .node[data-id="brands"] { order: 2; margin-left: 56px; }
  .node[data-id="pp"] { order: 3; margin-left: 106px; }
  .node[data-id="fb"] { order: 4; margin-left: 106px; }
  .node[data-id="rueroo"] { order: 5; margin-left: 106px; }
  .node[data-id="snorka"] { order: 6; margin-left: 56px; }
  .node[data-id="whatbox"] { order: 7; margin-left: 106px; }
  .node[data-id="nm"] { order: 8; margin-left: 106px; }
  .node[data-id="advisory"] { order: 9; margin-left: 56px; }
  .panel { order: 10; margin-top: 8px; min-height: 0; padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .edge--flow, .dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .bubble { transition: none; }
}

/* LINK GROUPS */
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 26px; }
.links .link, .links .btn, .contact .links .btn { margin-top: 0; }
.card .links { margin-top: auto; }
.links--btn { gap: 12px 22px; }
.links--center { justify-content: center; margin-top: 30px; }

/* HOBBY */
.channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 44px; }
.channel {
  display: flex; align-items: center; gap: 20px; padding: 18px 22px 18px 18px;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.3, 1.3, 0.5, 1), border-color 0.3s;
}
.channel:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, var(--line)); }
.channel img { width: 84px; height: 84px; border-radius: 50%; flex: none; object-fit: cover; box-shadow: 0 0 0 2px var(--c), 0 0 0 7px color-mix(in srgb, var(--c) 14%, transparent); }
.channel__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.channel__name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.channel__desc { color: #c2ccc1; font-size: 15.5px; line-height: 1.45; }
.channel__handle { font-family: var(--mono); font-size: 13px; color: var(--c); overflow-wrap: anywhere; }
@media (max-width: 900px) { .channels { grid-template-columns: 1fr; } .channel img { width: 68px; height: 68px; } }
@media (prefers-reduced-motion: reduce) { .channel { transition: none; } }
.channel { align-items: flex-start; }
.channel__icon { flex: none; line-height: 0; border-radius: 50%; }
.channel__name, .channel__handle { text-decoration: none; }
.channel__name:hover { color: var(--c); }
.channel__handle:hover { text-decoration: underline; }
.channel__sub { margin-top: 8px; min-height: 28px; line-height: 0; }

/* LINKEDIN */
a.link[href*="linkedin.com"]::before, a.btn[href*="linkedin.com"]::before {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 5px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230A66C2' d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E") center / cover no-repeat;
}
a.link[href*="linkedin.com"] { border-bottom: 0; padding-bottom: 0; }
a.btn[href*="linkedin.com"]::before { width: 24px; height: 24px; margin: -4px 0; }
.li-follow { display: inline-flex; align-items: center; min-height: 24px; line-height: 0; }
