/* ---------- tokens ---------- */
:root {
  --bg: #211c15;
  --bg-2: #2a241b;
  --panel: #2b251c;
  --ink: #f3ead8;
  --ink-2: #d6caae;
  --muted: #a3967e;
  --honey: #f2a516;
  --honey-2: #ffcf5a;
  --amber-deep: #b8610a;
  --glider-red: #d9452b;
  --glider-teal: #2aa39a;
  --line: rgba(243, 234, 216, .14);
  --line-2: rgba(243, 234, 216, .28);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 4px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--honey-2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--honey); }
.muted { color: var(--muted); }
.label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--honey);
}

/* ---------- background layers ---------- */
#comb {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: -2;
}
.grain {
  position: fixed; inset: -50%;
  z-index: -1;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .9  0 0 0 0 .7  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- ripstop fabric (paraglider cloth) ---------- */
.ripstop {
  background-color: var(--panel);
  background-image:
    /* satin sheen across the cloth */
    linear-gradient(115deg, rgba(255,240,210,.07) 0%, transparent 32%, transparent 60%, rgba(255,240,210,.045) 74%, transparent 88%),
    /* reinforcement threads, the "rip-stop" grid */
    repeating-linear-gradient(0deg, rgba(255,235,200,.06) 0 1px, transparent 1px 2px, rgba(255,235,200,.035) 2px 3px, transparent 3px 18px),
    repeating-linear-gradient(90deg, rgba(255,235,200,.06) 0 1px, transparent 1px 2px, rgba(255,235,200,.035) 2px 3px, transparent 3px 18px),
    /* fine weave */
    repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
}
.panel {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow:
    5px 5px 0 -1px var(--bg),
    5px 5px 0 0 var(--line),
    0 20px 40px -20px rgba(0,0,0,.8);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* stitched seam */
.panel::after {
  content: "";
  position: absolute; inset: 5px;
  border: 1px dashed rgba(243,234,216,.13);
  border-radius: 2px;
  pointer-events: none;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(33,28,21,.92), rgba(33,28,21,.68));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--honey); font-weight: 600; letter-spacing: .02em;
}
.brand span { color: var(--ink); }
.brand:hover { text-decoration: none; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
}
.tabs a:hover { color: var(--ink); text-decoration: none; border-color: var(--line); }
.tabs a[aria-selected="true"] {
  color: #1a1206;
  background: var(--honey);
  border-color: var(--honey);
  box-shadow: 0 0 18px rgba(242,165,22,.35);
}

main { padding: 0 clamp(16px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
.tab { padding: clamp(32px, 6vw, 72px) 0 64px; animation: rise .5s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.title {
  font-size: clamp(52px, 11vw, 128px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 22px 0 18px;
  text-shadow: 0 0 40px rgba(242,165,22,.25), 0 0 2px rgba(255,240,210,.4);
}
.title em { font-size: 1.04em; letter-spacing: -.01em; }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-2); max-width: 620px; margin: 0 auto; }

.news {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgba(242,165,22,.55);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242,165,22,.16), rgba(242,165,22,.04));
  color: var(--ink);
  font-size: 14.5px;
  box-shadow: 0 0 0 4px rgba(242,165,22,.06), 0 0 30px rgba(242,165,22,.15);
}
.news:hover { text-decoration: none; border-color: var(--honey-2); }
.news b { color: var(--honey-2); font-weight: 600; }
.news-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  background: var(--honey); color: #1a1206; padding: 2px 8px; border-radius: 999px; font-weight: 500;
}
.news-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--honey-2);
  box-shadow: 0 0 0 0 rgba(255,207,90,.7); animation: pulse 2s infinite; flex: none;
}
.news-arrow { color: var(--honey); transition: transform .2s; }
.news:hover .news-arrow { transform: translateX(3px); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,207,90,0); } 100% { box-shadow: 0 0 0 0 rgba(255,207,90,0); } }

/* ---------- brain ---------- */
#brain { width: 100%; height: calc(100svh - 230px); min-height: 440px; display: block; touch-action: pan-y; position: relative; z-index: 1; cursor: grab; outline: none; }
#brain.grabbing { cursor: grabbing; }
.ball { stroke: rgba(255,207,90,.25); stroke-width: 1; }
.rings path { fill: none; stroke: rgba(255,207,90,.12); stroke-width: 1; stroke-dasharray: 2 5; }
.brain-fallback { display: none; }
.no-js .brain-fallback { display: flex; gap: 12px; flex-wrap: wrap; list-style: none; padding: 0; }

.edge { stroke: rgba(242,165,22,.22); stroke-width: 1.2; transition: stroke .2s, stroke-width .2s; }
.edge.weak { stroke: rgba(243,234,216,.08); stroke-dasharray: 3 4; }
.edge.hot { stroke: rgba(255,207,90,.85); stroke-width: 2; }
.node { cursor: pointer; }
.node .cell { transition: transform .2s ease, filter .2s; transform-box: fill-box; transform-origin: center; }
.node:hover .cell, .node.hot .cell { transform: scale(1.12); filter: drop-shadow(0 0 12px rgba(242,165,22,.7)); }
.node text { pointer-events: none; font-family: var(--display); fill: var(--ink); }
.node.hub text { font-weight: 700; font-size: 15px; }
.node.leaf text { font-size: 12px; fill: var(--ink-2); }
.node.dim { opacity: .28; }
.edge.dim { opacity: .2; }
.node:focus-visible { outline: none; }
.node:focus-visible .cell { stroke: var(--ink); stroke-width: 2; }

.interests { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--muted); margin: 28px auto 0; max-width: 640px; }

/* home is two full screens: hero, then the brain ball */
.tab.home { padding: 0; }
.screen { min-height: calc(100svh - 66px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.hero-screen { padding: 40px 0 90px; }
.hero-screen .hero { margin-bottom: 0; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
}
.scroll-cue:hover { color: var(--honey-2); text-decoration: none; }
.scroll-cue svg { color: var(--honey); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
.brain-screen { padding: 32px 0 24px; }
.brain-head { text-align: center; }
.brain-head h2 { font-size: clamp(28px, 4.4vw, 46px); letter-spacing: -.02em; margin: 8px 0 0; line-height: 1.05; }
.reveal { opacity: 0; transform: translateY(48px) scale(.96); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- page heads ---------- */
.page-head { margin-bottom: 36px; max-width: 760px; }
.page-head h2 {
  font-size: clamp(36px, 6vw, 64px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; margin: 10px 0 12px;
}

/* ---------- CV ---------- */
.cv-grid { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.cv-card { padding: 22px; position: sticky; top: 90px; }
.portrait { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; filter: saturate(.85) contrast(1.05); border: 1px solid var(--line-2); }
.cv-card h3 { margin: 16px 0 4px; font-size: 20px; line-height: 1.2; }
.cv-card p { margin: 0; font-size: 14.5px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; position: relative; z-index: 1; }
.chip {
  font-family: var(--mono); font-size: 12px; padding: 4px 10px;
  border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink);
}
.chip:hover { border-color: var(--honey); color: var(--honey-2); text-decoration: none; }
.avail { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--honey-2); }

.cv-section {
  font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--honey); margin: 0 0 18px; display: flex; align-items: center; gap: 12px;
}
.cv-section::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cv-section:not(:first-child) { margin-top: 48px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  padding: 0 0 26px; position: relative;
}
.timeline li::before {
  content: ""; position: absolute; left: 132px; top: 8px; width: 9px; height: 10px;
  background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.timeline li::after { content: ""; position: absolute; left: 136px; top: 22px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li > div { padding-left: 14px; }
.when { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding-top: 2px; }
.timeline h4 { margin: 0; font-size: 18px; line-height: 1.3; }
.where { margin: 2px 0 6px; color: var(--honey-2); font-size: 14px; }
.timeline p { margin: 0 0 4px; color: var(--ink-2); font-size: 15.5px; }

.edu { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.edu-item { padding: 16px 18px; }
.edu-item h4 { margin: 4px 0 2px; font-size: 16px; line-height: 1.3; }
.edu-item p { margin: 0; color: var(--ink-2); font-size: 14px; }

.skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px 28px; }
.skills p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }

/* ---------- project cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card { padding: 22px 22px 20px; display: flex; flex-direction: column; }
.card:hover, .feature:hover { transform: translate(-2px, -2px); border-color: rgba(242,165,22,.6);
  box-shadow: 7px 7px 0 -1px var(--bg), 7px 7px 0 0 rgba(242,165,22,.45), 0 24px 50px -20px rgba(0,0,0,.9); }
.card h3 { margin: 10px 0 8px; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.card p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; }
.card .more { margin-top: auto; font-size: 14px; position: relative; z-index: 1; }
.tag {
  align-self: flex-start;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--honey-2); border: 1px solid rgba(242,165,22,.4); padding: 2px 8px; border-radius: 2px;
  background: rgba(242,165,22,.07);
}
.flash { animation: flash 1.4s ease; }
@keyframes flash { 0%, 100% { border-color: var(--line-2); } 30% { border-color: var(--honey-2); box-shadow: 0 0 0 4px rgba(242,165,22,.3); } }

/* ---------- future ---------- */
.future { display: grid; gap: 26px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 28px; align-items: center; }
.feature.small { grid-template-columns: 1fr; }
.feature h3 { font-size: clamp(26px, 3.4vw, 36px); margin: 12px 0 10px; letter-spacing: -.02em; line-height: 1.1; }
.feature p { color: var(--ink-2); margin: 0 0 12px; }
.feature-text { display: flex; flex-direction: column; }
.feature-art { margin: 0; position: relative; z-index: 1; }
.feature-art svg { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 2px; background: #0e0c09; }
.feature-art figcaption { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 8px; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; }
.ticks li { position: relative; padding-left: 22px; margin: 6px 0; color: var(--ink-2); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 10px; background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.disease-chips { display: flex; flex-wrap: wrap; gap: 10px; align-content: center; justify-content: center; position: relative; z-index: 1; }
.disease-chips span {
  padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 2px; font-weight: 600;
  background: radial-gradient(circle at 30% 20%, rgba(242,165,22,.18), transparent 70%);
}
.disease-chips span:last-child { color: var(--honey); border-style: dashed; }
.more-soon {
  text-align: center; font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--honey);
  padding: 10px 0;
}

/* ---------- publications ---------- */
.pubs { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pubs li { padding: 18px 22px; }
.pubs a { display: block; color: var(--ink); font-weight: 600; font-size: 18px; line-height: 1.35; margin: 4px 0; position: relative; z-index: 1; }
.pubs a:hover { color: var(--honey-2); }
.pubs p { margin: 0; color: var(--muted); font-size: 14px; }
.pubs b { color: var(--honey-2); font-weight: 600; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.contact-card { padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.contact-card a, .contact-card p { position: relative; z-index: 1; margin: 6px 0 0; }
.contact-card p { color: var(--ink-2); }
.photo-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line-2); border-radius: 2px; filter: saturate(.9); }

/* ---------- footer ---------- */
.foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 24px clamp(16px, 4vw, 48px); border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .cv-grid { grid-template-columns: 1fr; }
  .cv-card { position: static; max-width: 420px; }
  .feature { grid-template-columns: 1fr; padding: 22px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 24px; }
  .timeline li::before { left: 0; }
  .timeline li::after { left: 4px; }
  .timeline li > div { padding-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { flex-direction: column; align-items: stretch; gap: 10px; padding-bottom: 10px; }
  .tabs { margin: 0 -16px; padding: 0 16px; }
  .photo-strip { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.node text { paint-order: stroke; stroke: rgba(36,33,29,.88); stroke-width: 4px; stroke-linejoin: round; }
.node.core text.core-label { fill: #1a1206; stroke: none; }
@media (max-width: 640px) {
  #brain { height: 72svh; min-height: 420px; }
  .screen { min-height: calc(100svh - 104px); }
  .news-arrow { display: none; }
  .node.hub text { font-size: 13px; }
  .node.leaf text { font-size: 11px; }
}
.screen { scroll-margin-top: 66px; } @media (max-width: 640px) { .screen { scroll-margin-top: 104px; } }

/* brain screen: plain dark sky, no honeycomb, so the ball is the focus */
.brain-screen {
  isolation: isolate;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
}
.brain-screen::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: #24211d; /* flat, warm near-black: calm, nothing competing with the ball */
}
.brain-screen::after { /* soft fade from the honeycomb hero into the dark */
  content: ""; position: absolute; left: 0; right: 0; top: -120px; height: 120px; z-index: -2;
  background: linear-gradient(to bottom, rgba(36,33,29,0), #24211d);
  pointer-events: none;
}
.bee-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.brain-screen .ball { stroke: rgba(255,207,90,.3); }
.scroll-cue { transition: opacity .6s; } .honey-game .scroll-cue { opacity: 0; pointer-events: none; }

/* ---------- CV additions ---------- */
.profile { color: var(--ink-2); margin: 0 0 8px; font-size: 16.5px; }
.bullets { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.bullets li { margin: 4px 0; }
.bullets b { color: var(--ink); font-weight: 600; }
.download {
  display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 14px; position: relative; z-index: 1;
  padding: 8px 14px; border-radius: 999px; background: var(--honey); color: #1a1206; font-weight: 600; font-size: 14px;
}
.download:hover { background: var(--honey-2); text-decoration: none; }
.side-head { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--honey); margin: 22px 0 8px; }
.langs { list-style: none; padding: 0; margin: 0; font-size: 14.5px; }
.langs li { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--line); padding: 4px 0; }
.langs i { color: var(--muted); font-style: normal; font-family: var(--mono); font-size: 12px; }
.small { font-size: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.two-col .cv-section { margin-top: 48px; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin: 0 0 12px; }
.plain b { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.plain span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- publications: newspaper icon, no boxes ---------- */
.pubs { gap: 0; }
.pubs li {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  background: none; box-shadow: none; border-radius: 0;
}
.pubs li:last-child { border-bottom: 0; }
.paper {
  width: 40px; height: 40px; margin-top: 4px; background: var(--honey);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h13v13a2 2 0 0 0 2 2H6a2 2 0 0 1-2-2Z'/%3E%3Cpath d='M17 9h3v9a2 2 0 0 1-2 2'/%3E%3Cpath d='M7 8h7M7 11h7M7 14h4M7 17h4'/%3E%3Crect x='12' y='13.5' width='2.5' height='4' /%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h13v13a2 2 0 0 0 2 2H6a2 2 0 0 1-2-2Z'/%3E%3Cpath d='M17 9h3v9a2 2 0 0 1-2 2'/%3E%3Cpath d='M7 8h7M7 11h7M7 14h4M7 17h4'/%3E%3Crect x='12' y='13.5' width='2.5' height='4' /%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s;
}
.pubs li:hover .paper { transform: rotate(-6deg) scale(1.08); }
.pubs .title { display: block; color: var(--ink); font-weight: 600; font-size: 18px; line-height: 1.35; margin: 4px 0; }
.pubs a { margin: 4px 0; }

/* ---------- contact, no boxes ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 36px; margin-top: 8px; }
.c-block { display: flex; gap: 18px; align-items: flex-start; }
.c-block > div { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.c-block p { margin: 4px 0 0; color: var(--ink-2); }
.c-block a { font-size: 16px; }
.c-icon {
  flex: none; width: 70px; height: 78px; display: grid; place-items: center; color: var(--honey);
  background: rgba(242,165,22,.1);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.c-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.socials a {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink); font-size: 15.5px;
}
.socials a:hover { border-color: var(--honey); color: var(--honey-2); text-decoration: none; }
.socials svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.map-wrap { margin-top: 14px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-2); height: 260px; width: 100%; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: sepia(.35) saturate(.9) brightness(.92); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 26px; } .c-icon { width: 58px; height: 64px; } .c-icon svg { width: 28px; height: 28px; } }
.papagalul-art { display: grid; gap: 12px; }
.papagalul-art img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 4px; }
.papagalul-art img.pod { width: 52%; justify-self: center; }
#f-papagalul .small { font-size: 14px; }
.timeline .bullets { list-style: none; padding-left: 0; }
.timeline .bullets li { display: block; padding: 0 0 0 16px; margin: 6px 0; position: relative; grid-template-columns: none; }
.timeline .bullets li::after { display: none; }
.timeline .bullets li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--honey); clip-path: none; }
