/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --ink:      #1c1917;
  --ink-soft: #44403c;
  --rose:     #c9a99a;
  --rose-light: #f3ede9;
  --gold:     #b8966a;
  --gold-light: #f7f0e6;
  --sage:     #8a9e8c;
  --cream:    #faf8f5;
  --white:    #ffffff;
  --border:   rgba(28,25,23,.1);
  --border-soft: rgba(28,25,23,.06);

  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'DM Sans', system-ui, sans-serif;

  --r:  .75rem;
  --r2: 1.5rem;
  --trans: .35s cubic-bezier(.4,0,.2,1);
  --color-trans: background-color .4s ease, color .4s ease, border-color .4s ease;
  --dark-surface: #1c1917;
  --dark-surface-2: #262220;
  --on-dark: rgba(255,255,255,.8);
  --on-dark-soft: rgba(255,255,255,.45);
  --on-dark-muted: rgba(255,255,255,.25);
  --on-dark-border: rgba(255,255,255,.12);
}

/* ── DARK MODE ───────────────────────────────────────────────── */
html[data-theme="dark"] {
  --ink:        #f0ebe6;
  --ink-soft:   #bdb3ab;
  --cream:      #18160f;
  --white:      #211f18;
  --rose-light: #2e1f1a;
  --gold-light: #261e10;
  --border:     rgba(240,235,230,.12);
  --border-soft: rgba(240,235,230,.07);
}
html[data-theme="dark"] body { background: var(--cream); color: var(--ink); }
html[data-theme="dark"] .nav.scrolled { background: rgba(24,22,15,.94); }
html[data-theme="dark"] .skills-section { background: var(--white); }
html[data-theme="dark"] .timeline-section { background: var(--cream); }
html[data-theme="dark"] .docs-section { background: var(--cream); }
html[data-theme="dark"] .doc-card { background: var(--white); }
html[data-theme="dark"] .skill-block { background: var(--cream); }
html[data-theme="dark"] .modal-box { background: var(--white); }
html[data-theme="dark"] .hobby-card { background: var(--white); }
html[data-theme="dark"] .quote-card { background: var(--white); border-color: var(--border); }
html[data-theme="dark"] .nav-links.open { background: rgba(24,22,15,.97); }
html[data-theme="dark"] .btn-doc { background: rgba(255,255,255,.06); color: var(--ink-soft); }
html[data-theme="dark"] .pill { background: rgba(255,255,255,.06); }

/* dark: contact & footer maradnak sötét — csak az on-dark tokenek változnak */
html[data-theme="dark"] .contact-section { background: #0d0b08; }
html[data-theme="dark"] .footer { background: #141210; border-top-color: rgba(255,255,255,.09); }
html[data-theme="dark"] .footer-name { color: rgba(255,255,255,.75); }
html[data-theme="dark"] .footer-copy { color: rgba(255,255,255,.35); }
html[data-theme="dark"] .footer-social-link { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.55); }
html[data-theme="dark"] .contact-card { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.85); background: rgba(255,255,255,.07); }
html[data-theme="dark"] .section-title.light,
html[data-theme="dark"] .contact-inner .section-title { color: #ffffff; }
html[data-theme="dark"] .section-label.light,
html[data-theme="dark"] .contact-inner .section-label { color: rgba(255,255,255,.6); }

*, *::before, *::after { transition: var(--color-trans); }

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 2rem;
  transition: background var(--trans), box-shadow var(--trans);
}
.nav.scrolled {
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; }
.logo-placeholder {
  display: flex; flex-direction: column; align-items: center;
  width: 56px; height: 56px;
  border-radius: var(--r); justify-content: center; gap: 2px;
  background: rgba(201,169,154,.08);
  transition: background var(--trans);
}
.logo-placeholder:hover { background: rgba(201,169,154,.18); }
.logo-text { font-family: var(--f-display); font-size: 1.1rem; font-weight: 600; color: var(--rose); line-height:1; }
.logo-hint { font-size: .55rem; color: var(--rose); opacity: .7; text-transform: uppercase; letter-spacing: .05em; }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-size: .85rem; font-weight: 400; color: var(--ink-soft);
  letter-spacing: .05em; text-transform: uppercase;
  position: relative; padding-bottom: 2px;
  transition: color var(--trans);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 100%;
  height: 1px; background: var(--gold);
  transition: right var(--trans);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: var(--trans); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center; padding: 100px 2rem 120px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .18;
}
.orb1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--rose) 0%, transparent 70%);
  top: -100px; right: -150px;
  animation: float1 12s ease-in-out infinite;
}
.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  bottom: -80px; left: 5%;
  animation: float2 16s ease-in-out infinite;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  opacity: .5;
}
@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-30px,20px) scale(1.05)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-30px)} }

.hero-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 340px 1fr; gap: 5rem;
  align-items: center;
}
.hero-photo-col { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.photo-frame {
  width: 280px; height: 340px;
  border-radius: 140px 140px 100px 100px;
  background: var(--rose-light);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
  box-shadow: 0 20px 60px rgba(201,169,154,.25), inset 0 0 0 6px rgba(255,255,255,.5);
  transition: box-shadow var(--trans);
}
.photo-frame:hover { box-shadow: 0 28px 80px rgba(201,169,154,.35), inset 0 0 0 6px rgba(255,255,255,.5); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.photo-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  color: var(--rose); opacity: .7;
}
.photo-placeholder p { font-size: .8rem; text-align: center; line-height: 1.5; }

.hero-doc-btns { display: flex; flex-direction: column; gap: .75rem; width: 100%; }
.btn-doc {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.2rem; border: 1.5px solid var(--border);
  border-radius: var(--r); font-size: .8rem; font-weight: 500; color: var(--ink-soft);
  background: rgba(255,255,255,.7); backdrop-filter: blur(8px);
  transition: all var(--trans); text-transform: uppercase; letter-spacing: .06em;
}
.btn-doc:hover {
  border-color: var(--gold); color: var(--ink);
  background: var(--gold-light);
  transform: translateY(-1px); box-shadow: 0 4px 16px rgba(184,150,106,.2);
}

.hero-eyebrow {
  font-size: .75rem; font-weight: 500; color: var(--rose);
  text-transform: uppercase; letter-spacing: .15em;
  margin-bottom: .75rem;
}
.hero-name {
  font-family: var(--f-display); font-size: clamp(3.5rem,6vw,5.5rem);
  font-weight: 300; line-height: 1.05; color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero-name em { font-style: italic; color: var(--rose); }
.hero-role {
  font-size: .95rem; color: var(--ink-soft); line-height: 1.8;
  border-left: 2px solid var(--rose); padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.hero-bio { font-size: 1rem; color: var(--ink-soft); max-width: 480px; margin-bottom: 1.75rem; }
.hero-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.pill {
  display: inline-block; padding: .35rem .9rem;
  border: 1px solid var(--border); border-radius: 99px;
  font-size: .75rem; color: var(--ink-soft); background: rgba(255,255,255,.6);
  transition: all var(--trans);
}
.pill:hover { border-color: var(--rose); color: var(--rose); background: var(--rose-light); }

.btn-primary {
  display: inline-flex; align-items: center;
  padding: .9rem 2rem; background: var(--dark-surface); color: #ffffff;
  border-radius: var(--r); font-size: .85rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  transition: all var(--trans);
}
.btn-primary:hover {
  background: var(--rose); color: #ffffff; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,154,.4);
}

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  color: var(--ink-soft); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  animation: fadeInUp .8s .6s both;
}
.scroll-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, var(--rose), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.4; transform:scaleY(.8)} 50%{opacity:1; transform:scaleY(1)} }

/* ── SECTIONS ───────────────────────────────────────────────── */
.section { padding: 7rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .2em;
  color: var(--rose); margin-bottom: .75rem;
}
.section-label.light { color: rgba(255,255,255,.6); }
.section-title {
  font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300; line-height: 1.1; color: var(--ink); margin-bottom: 1.5rem;
}
.section-title.light { color: var(--white); }
.section-title em { font-style: italic; color: var(--rose); }
.section-sub { font-size: 1rem; color: var(--ink-soft); max-width: 580px; margin-bottom: 3rem; }

/* ── PERSONALITY ─────────────────────────────────────────────── */
.personality { background: var(--white); }
.personality-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.pers-card {
  padding: 2rem 1.5rem; border-radius: var(--r2);
  border: 1.5px solid var(--border-soft);
  background: var(--cream);
  transition: all var(--trans); position: relative; overflow: hidden;
}
.pers-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  transition: opacity var(--trans);
}
.pers-dominant { border-color: rgba(28,25,23,.2); background: var(--ink); color: var(--white); }
.pers-dominant .pers-pct { color: var(--rose); }
.pers-dominant .pers-name, .pers-dominant .pers-traits li { color: rgba(255,255,255,.9); }
.pers-dominant .pers-badge { background: rgba(255,255,255,.15); color: var(--rose); }

.pers-secondary { border-color: var(--rose); }
.pers-secondary .pers-pct { color: var(--rose); }

.pers-minor { opacity: .75; }
.pers-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.1); opacity: 1; }

.pers-pct {
  font-family: var(--f-display); font-size: 3rem; font-weight: 300;
  line-height: 1; margin-bottom: .5rem; color: var(--ink);
}
.pers-name { font-weight: 500; font-size: .9rem; margin-bottom: .75rem; }
.pers-badge {
  display: inline-block; padding: .2rem .7rem;
  border-radius: 99px; font-size: .65rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  background: var(--rose-light); color: var(--rose);
  margin-bottom: 1rem;
}
.pers-traits { display: flex; flex-direction: column; gap: .4rem; }
.pers-traits li { font-size: .82rem; color: var(--ink-soft); padding-left: 1rem; position: relative; }
.pers-traits li::before { content: '—'; position: absolute; left: 0; color: var(--rose); font-size: .75rem; }
.pers-dominant .pers-traits li::before { color: var(--rose); }

.pers-bar-wrap { padding: 0 .25rem; }
.pers-bar { display: flex; height: 6px; border-radius: 99px; overflow: hidden; }
.pers-bar-seg {
  height: 100%; position: relative; cursor: pointer;
  transition: filter var(--trans);
}
.pers-bar-seg:hover { filter: brightness(1.2); }
.pers-bar-seg::after {
  content: attr(data-label);
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--white); border-radius: var(--r);
  font-size: .72rem; padding: .25rem .6rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--trans);
}
.pers-bar-seg:hover::after { opacity: 1; }

/* ── TIMELINE ────────────────────────────────────────────────── */
.timeline-section { background: var(--cream); }
.tl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2rem; }
.tl-col-title {
  font-family: var(--f-display); font-size: 1.4rem; font-weight: 400; font-style: italic;
  color: var(--rose); margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem;
}
.tl-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 1.25rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--border-soft);
  transition: all var(--trans);
}
.tl-item:hover { padding-left: .5rem; }
.tl-year { font-size: .75rem; font-weight: 500; color: var(--rose); padding-top: .2rem; letter-spacing: .04em; }
.tl-body { display: flex; flex-direction: column; gap: .25rem; }
.tl-body strong { font-size: .95rem; font-weight: 500; color: var(--ink); }
.tl-body span { font-size: .82rem; color: var(--ink-soft); }
.tl-item.gold .tl-body strong { color: var(--gold); }

/* ── SKILLS ──────────────────────────────────────────────────── */
.skills-section { background: var(--white); }
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.skill-block {
  padding: 2.5rem; border-radius: var(--r2);
  border: 1.5px solid var(--border-soft);
  background: var(--cream);
  transition: all var(--trans); position: relative; overflow: hidden;
}
.skill-block::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--trans);
}
.skill-block:hover::after { transform: scaleX(1); }
.skill-block:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.skill-icon { font-size: 1.75rem; color: var(--rose); margin-bottom: 1rem; }
.skill-block h4 { font-weight: 500; margin-bottom: .75rem; font-size: 1.05rem; }
.skill-block p { font-size: .88rem; color: var(--ink-soft); line-height: 1.7; }

/* ── DOCS ────────────────────────────────────────────────────── */
.docs-section { background: var(--cream); }
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.doc-card {
  display: flex; flex-direction: column; gap: 1.25rem;
  padding: 2rem; border-radius: var(--r2);
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: all var(--trans);
}
.doc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.08); border-color: var(--rose); }
.doc-card-placeholder { opacity: .6; }
.doc-card-placeholder:hover { opacity: .8; transform: none; box-shadow: none; border-color: var(--border); }
.doc-icon { color: var(--rose); }
.doc-info h4 { font-weight: 500; margin-bottom: .4rem; }
.doc-info p { font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }
.btn-download {
  display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: auto;
  padding: .75rem 1.25rem; border: 1.5px solid var(--ink);
  border-radius: var(--r); font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .07em; color: var(--ink);
  transition: all var(--trans);
}
.btn-download:hover { background: var(--ink); color: var(--white); transform: translateY(-1px); }
.btn-download.outline { border-color: var(--rose); color: var(--rose); }
.btn-download.outline:hover { background: var(--rose); color: var(--white); }
.btn-download.disabled {
  opacity: .4; pointer-events: none; border-style: dashed; cursor: default;
  color: var(--ink-soft); border-color: var(--border);
}

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-section {
  background: var(--dark-surface); position: relative; overflow: hidden;
  padding: 7rem 2rem;
}
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-inner { position: relative; z-index: 1; }
.contact-inner .section-title { color: #ffffff; }
.contact-inner .section-title em { color: var(--rose); }
.contact-inner .section-label { color: rgba(255,255,255,.55); }
.contact-grid { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 2rem; border: 1px solid var(--on-dark-border);
  border-radius: var(--r2); color: var(--on-dark);
  background: rgba(255,255,255,.05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .95rem; transition: all var(--trans); cursor: pointer;
}
.contact-card:hover { border-color: var(--rose); color: #ffffff; background: rgba(201,169,154,.12); transform: translateY(-2px); }
.contact-card svg { color: var(--rose); flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer { background: var(--dark-surface-2); border-top: 1px solid var(--on-dark-border); padding: 2.5rem 2rem; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem;
}
.footer-name { font-family: var(--f-display); font-size: 1.1rem; font-weight: 300; color: var(--on-dark); font-style: italic; }
.footer-copy { font-size: .75rem; color: var(--on-dark-muted); letter-spacing: .05em; }

.footer-socials {
  display: flex; align-items: center; gap: .75rem;
}
.footer-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--on-dark-border); border-radius: 50%;
  color: var(--on-dark-soft);
  transition: all var(--trans);
}
.footer-social-link:hover {
  border-color: var(--rose); color: var(--rose);
  background: rgba(201,169,154,.15);
  transform: translateY(-2px);
}
.footer-social-link svg { display: block; }

/* ── PHONE MODAL ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(28,25,23,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--white); border-radius: var(--r2);
  padding: 2.5rem 2.5rem 2rem;
  max-width: 440px; width: 100%;
  box-shadow: 0 32px 80px rgba(0,0,0,.18);
  position: relative;
  transform: translateY(16px) scale(.97);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: none; border: none; cursor: pointer;
  color: var(--ink-soft); font-size: 1.25rem; line-height: 1;
  padding: .25rem; border-radius: var(--r);
  transition: color var(--trans);
}
.modal-close:hover { color: var(--ink); }

.modal-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--rose-light); display: flex; align-items: center; justify-content: center;
  color: var(--rose); margin-bottom: 1.25rem;
}
.modal-title {
  font-family: var(--f-display); font-size: 1.6rem; font-weight: 400;
  color: var(--ink); margin-bottom: .5rem;
}
.modal-desc {
  font-size: .88rem; color: var(--ink-soft); line-height: 1.65;
  margin-bottom: 1.75rem;
}
.modal-btn {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; padding: .9rem 1.5rem;
  background: var(--ink); color: var(--white);
  border: none; border-radius: var(--r);
  font-family: var(--f-body); font-size: .85rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: all var(--trans);
}
.modal-btn:hover {
  background: var(--rose); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,169,154,.4);
}
.modal-title em { font-style: italic; color: var(--rose); }
.modal-note {
  font-size: .75rem; color: var(--ink-soft); text-align: center;
  margin-top: .9rem; opacity: .7;
}

/* ── RESEARCH PAGE ───────────────────────────────────────────── */
.research-hero {
  min-height: 55vh; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 120px 2rem 5rem;
  background: var(--ink);
}
.research-hero-inner { position: relative; z-index: 1; }
.back-link {
  display: inline-block; font-size: .8rem; color: rgba(255,255,255,.5);
  margin-bottom: 2rem; text-transform: uppercase; letter-spacing: .08em;
  transition: color var(--trans);
}
.back-link:hover { color: var(--rose); }
.research-title {
  font-family: var(--f-display); font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300; line-height: 1.05; color: var(--white); margin-bottom: 1.5rem;
}
.research-title em { color: var(--rose); font-style: italic; }
.research-subtitle { font-size: 1rem; color: rgba(255,255,255,.6); max-width: 520px; line-height: 1.7; }

.research-intro-section { background: var(--white); padding: 5rem 2rem; }
.research-intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.intro-block { padding: 0; }
.intro-icon { font-size: 1.5rem; color: var(--rose); margin-bottom: 1rem; }
.intro-block h4 { font-weight: 500; font-size: 1rem; margin-bottom: .6rem; }
.intro-block p { font-size: .88rem; color: var(--ink-soft); line-height: 1.7; }

/* JOURNAL */
.journal-section { background: var(--cream); }
.journal-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.journal-timeline::before {
  content: ''; position: absolute; left: 120px; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, var(--rose), transparent);
}
.journal-entry {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 2.5rem; padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-soft);
  position: relative; transition: padding var(--trans);
}
.journal-entry:hover { padding-left: .5rem; }
.entry-meta {
  display: flex; flex-direction: column; gap: .5rem; padding-top: .25rem;
  text-align: right; padding-right: 2rem;
}
.entry-date { font-size: .75rem; color: var(--rose); font-weight: 500; }
.entry-tag {
  display: inline-block; font-size: .65rem; text-transform: uppercase;
  letter-spacing: .08em; padding: .2rem .6rem; border-radius: 99px;
  background: var(--rose-light); color: var(--rose); align-self: flex-end;
}
.entry-title {
  font-family: var(--f-display); font-size: 1.6rem; font-weight: 400;
  color: var(--ink); margin-bottom: 1rem;
}
.entry-body p { font-size: .92rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: .75rem; }
.entry-body p:last-child { margin-bottom: 0; }
.entry-footer { margin-top: 1rem; }
.entry-status {
  display: inline-block; font-size: .68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em;
  padding: .25rem .75rem; border-radius: 99px;
}
.status-draft { background: var(--gold-light); color: var(--gold); }
.status-published { background: rgba(138,158,140,.15); color: var(--sage); }

.journal-add-cta {
  margin-top: 2rem; display: flex; justify-content: center; padding: 3rem 0;
}
.add-cta-inner {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  text-align: center; color: var(--ink-soft);
}
.add-icon {
  width: 52px; height: 52px; border: 1.5px dashed var(--rose);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--rose); margin-bottom: .5rem;
}
.add-cta-inner p { font-weight: 500; font-size: .95rem; color: var(--ink); }
.add-cta-inner span { font-size: .82rem; color: var(--ink-soft); max-width: 340px; }

.publications-section { background: var(--white); }
.pub-empty {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 4rem 2rem; text-align: center;
  border: 1.5px dashed var(--border); border-radius: var(--r2);
}
.pub-empty-icon { font-size: 2rem; color: var(--rose); }
.pub-empty p { font-weight: 500; color: var(--ink); }
.pub-empty span { font-size: .85rem; color: var(--ink-soft); max-width: 420px; }

/* ── DARK MODE TOGGLE ────────────────────────────────────────── */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: none; border: 1px solid var(--border);
  cursor: pointer; color: var(--ink-soft);
  transition: all var(--trans); flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--rose); color: var(--rose); background: var(--rose-light); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ── PAGE LOADER ─────────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.loader-name {
  font-family: var(--f-display); font-size: 1.8rem; font-weight: 300;
  font-style: italic; color: var(--rose); opacity: 0;
  animation: loaderFade 1.2s .1s ease forwards;
}
.loader-line {
  width: 120px; height: 1px; background: linear-gradient(90deg, var(--rose), var(--gold));
  transform: scaleX(0); transform-origin: left;
  animation: loaderLine 1s .3s ease forwards;
}
@keyframes loaderFade { to { opacity: 1; } }
@keyframes loaderLine { to { transform: scaleX(1); } }

/* ── BACK TO TOP ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  color: var(--ink-soft); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  opacity: 0; transform: translateY(12px);
  transition: all var(--trans); pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--rose); color: var(--white); border-color: var(--rose); transform: translateY(-2px); }

/* ── HERO BOTANICAL DECO ─────────────────────────────────────── */
.hero-deco {
  position: absolute; right: -40px; top: 60px;
  width: 420px; height: 520px;
  opacity: .07; pointer-events: none;
  color: var(--rose);
}
html[data-theme="dark"] .hero-deco { opacity: .05; }

/* ── HERO MOTTO ──────────────────────────────────────────────── */
.hero-motto {
  font-family: var(--f-display); font-size: 1.05rem; font-weight: 300;
  font-style: italic; color: var(--rose);
  letter-spacing: .02em; margin-bottom: 1.5rem;
  padding-left: 1.2rem; border-left: 2px solid rgba(201,169,154,.35);
  line-height: 1.5;
}

/* ── HOBBI SZEKCIÓ ───────────────────────────────────────────── */
.hobby-section { background: var(--cream); }
.hobby-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem; margin-top: 1rem;
}
.hobby-card {
  background: var(--white); border-radius: var(--r2);
  border: 1.5px solid var(--border-soft);
  padding: 2.25rem 1.75rem;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 1.1rem;
  transition: all var(--trans); position: relative; overflow: hidden;
}
.hobby-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201,169,154,.08) 0%, transparent 70%);
  opacity: 0; transition: opacity var(--trans);
}
.hobby-card:hover::before { opacity: 1; }
.hobby-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); border-color: var(--rose); }
.hobby-icon-wrap {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--rose-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--rose);
}
.hobby-card h4 {
  font-family: var(--f-display); font-size: 1.25rem;
  font-weight: 400; font-style: italic; color: var(--ink);
}
.hobby-card p { font-size: .85rem; color: var(--ink-soft); line-height: 1.65; }

/* ── AJÁNLÓK SZEKCIÓ ─────────────────────────────────────────── */
.quotes-section { background: var(--white); }
.quote-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-top: 1rem;
}
.quote-card {
  background: var(--cream); border-radius: var(--r2);
  border: 1.5px solid var(--border-soft);
  padding: 2.5rem 2.25rem 2rem;
  position: relative; transition: all var(--trans);
}
.quote-card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,.07); border-color: var(--rose); }
.quote-mark {
  font-family: var(--f-display); font-size: 5rem; line-height: .6;
  color: var(--rose); opacity: .25; margin-bottom: .5rem;
  display: block; font-weight: 300;
}
.quote-text {
  font-family: var(--f-display); font-size: 1.15rem; font-weight: 300;
  font-style: italic; color: var(--ink); line-height: 1.7;
  margin-bottom: 1.75rem;
}
.quote-author { display: flex; align-items: center; gap: 1rem; }
.quote-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--rose-light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--rose);
}
.quote-author-info { display: flex; flex-direction: column; gap: .1rem; }
.quote-author-name { font-size: .88rem; font-weight: 500; color: var(--ink); }
.quote-author-role { font-size: .75rem; color: var(--ink-soft); }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-text-col > * {
  animation: fadeInUp .7s ease both;
}
.hero-eyebrow { animation-delay: .1s; }
.hero-name    { animation-delay: .2s; }
.hero-role    { animation-delay: .3s; }
.hero-bio     { animation-delay: .4s; }
.hero-pills   { animation-delay: .5s; }
.btn-primary  { animation-delay: .6s; }
.photo-frame  { animation: fadeInUp .7s .15s ease both; }

/* reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .personality-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { grid-template-columns: 260px 1fr; gap: 3rem; }
  .photo-frame { width: 220px; height: 270px; }
  .hero-deco { width: 300px; height: 380px; right: -60px; }
  .quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 1.5rem;
    position: fixed; inset: 68px 0 0 0;
    background: rgba(250,248,245,.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    align-items: center; justify-content: center; z-index: 99;
  }
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-photo-col { order: -1; }
  .hero-role { text-align: center; }
  .hero-motto { text-align: center; border-left: none; padding-left: 0; border-top: 1px solid rgba(201,169,154,.3); padding-top: 1rem; }
  .hero-pills { justify-content: center; }
  .hero-deco { display: none; }
  .tl-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .skills-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .hobby-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .quote-grid { grid-template-columns: 1fr; }
  .personality-grid { grid-template-columns: 1fr; }
  .research-intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .journal-timeline::before { left: 0; }
  .journal-entry { grid-template-columns: 1fr; gap: 1rem; }
  .entry-meta { text-align: left; padding-right: 0; flex-direction: row; align-items: center; }
  .entry-tag { align-self: auto; }
  .back-to-top { bottom: 1.25rem; right: 1.25rem; }
}
