/* ============================================================
   STYLES.CSS
   Portfolio — αίσθηση
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400;1,9..144,500&family=DM+Sans:wght@300;400;500&display=swap');
@import 'tokens.css';

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open {
  overflow: hidden;
}
main {
  overflow-x: clip;
}

main > section[id] {
  scroll-margin-top: var(--nav-h);
}

@media (max-width: 1024px) {
  main > section[id] {
    scroll-margin-top: var(--nav-h);
  }
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Utility ────────────────────────────────────────────── */
.container {
  width: min(1160px, 100% - var(--s-8));
  margin-inline: auto;
  padding-inline: var(--s-6);
}

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

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  overflow: visible;
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--ease);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  width: 100%;
  max-width: 1160px;
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--s-6);
  box-sizing: border-box;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s-2);
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--terra);
  border-radius: 1px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}
.nav-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-mid);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--terra-soft); }

.btn-cv {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #F7F4EE !important;
  background: var(--terra);
  padding: 8px 20px;
  border-radius: var(--r-pill);
  transition: background var(--ease), color var(--ease);
  letter-spacing: 0.02em;
}
.btn-cv:hover { background: #8A9E8C; color: #F7F4EE !important; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: var(--s-6);
  position: relative;
}
.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  align-content: center;
  gap: var(--s-8);
  width: min(1160px, 100% - var(--s-8));
  margin-inline: auto;
}
.hero-text { padding-block: var(--s-9); }

.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra-soft);
  margin-bottom: var(--s-5);
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--s-5);
}
.hero-h1 em {
  font-style: italic;
  color: var(--terra);
  font-weight: 300;
}

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: var(--s-7);
}

.hero-actions {
  display: flex;
  gap: var(--s-4);
  align-items: center;
}
.btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  letter-spacing: 0.01em;
  display: inline-block;
  border: 1.5px solid transparent;
}
.btn-dark {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--terra);
  border-color: var(--terra);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--ink);
}

/* Hero image block */
.hero-visual {
  position: relative;
  height: 580px;
  display: flex;
  align-items: flex-end;
}
.hero-img-frame {
  width: 100%;
  height: 520px;
  background: var(--surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}
.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Placeholder state */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-placeholder-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Floating tag */
.hero-tag {
  position: absolute;
  bottom: -16px;
  left: -20px;
  background: var(--terra);
  color: var(--bg);
  font-size: 12px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Scroll indicator */
.scroll-hint {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-5);
  color: var(--ink-muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: var(--ink-muted);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.6); }
}

/* ── WORK ───────────────────────────────────────────────── */
.work {
  padding-top: var(--s-10);
  padding-bottom: 0;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--s-8);
}
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra-soft);
  margin-bottom: var(--s-4);
}
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.section-h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--terra);
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}

.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform var(--ease), box-shadow var(--ease);
  cursor: pointer;
}
a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(42, 31, 26, 0.10);
}

.card-img {
  height: 260px;
  background: var(--surface-2);
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card--link .card-img img { transform: scale(1.3); }
.card:hover .card-img img { transform: scale(1.04); }
.card--link:hover .card-img img { transform: scale(1.35); }

.card-body { padding: var(--s-6); }
.card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--s-3);
  line-height: 1.2;
}
.card-desc-wrap {
  margin-bottom: var(--s-5);
}
.card-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 0;
}
.card-desc-wrap.is-clamped .card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-desc-toggle {
  display: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--terra);
  background: none;
  border: none;
  padding: 0;
  margin-top: var(--s-2);
  cursor: pointer;
  letter-spacing: 0.02em;
}
.card-desc-wrap.has-overflow .card-desc-toggle {
  display: inline-block;
}
.card-desc-toggle:hover { text-decoration: underline; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--terra-soft);
  color: var(--terra);
  letter-spacing: 0.03em;
}
.card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  transition: color var(--ease), gap var(--ease);
}
.card-link:hover { color: var(--terra); gap: var(--s-3); }

/* ── ABOUT ──────────────────────────────────────────────── */
.about {
  padding-block: var(--s-10);
  background: var(--surface);
  border-radius: var(--r-xl);
}
.about-inner {
  display: block;
}
.about-text .section-label { margin-bottom: var(--s-3); }
.about-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--s-5);
}
.about-h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--terra);
}
.about-p {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.85;
  margin-bottom: var(--s-5);
}

.about-bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  margin-bottom: var(--s-6);
}

.about-bio-copy .about-p:last-child {
  margin-bottom: 0;
}
.skills-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--s-3);
  margin-top: var(--s-6);
}
.skills-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.skill-tag {
  font-size: 12px;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(138, 158, 140, 0.12);
  color: #4a6b4d;
  border: 1px solid rgba(138, 158, 140, 0.35);
}

.about-img-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  align-self: center;
  background: var(--surface-2);
  position: relative;
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── CONTACT ────────────────────────────────────────────── */
.contact {
  padding-block: var(--s-10);
  text-align: center;
}
.contact-h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--s-5);
}
.contact-h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--terra);
}
.contact-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-mid);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.75;
  margin-bottom: var(--s-7);
}
.contact-email {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 40px);
  font-style: italic;
  font-weight: 300;
  color: var(--terra);
  border-bottom: 1.5px solid var(--terra-soft);
  padding-bottom: 4px;
  transition: color var(--ease), border-color var(--ease);
  display: inline-block;
  margin-bottom: var(--s-7);
}
.contact-email:hover {
  color: var(--terra-dim);
  border-color: var(--terra-dim);
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
.social-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.social-icon:hover {
  border-color: var(--terra);
  color: var(--terra);
  background: rgba(193, 96, 58, 0.06);
}
.social-icon svg { width: 18px; height: 18px; }
.contact-note {
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 300;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  padding-block: var(--s-6);
  border-top: 1px solid var(--border-soft);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.footer-name {
  font-size: 13px;
  color: var(--ink-muted);
}
.footer-links {
  display: flex;
  gap: var(--s-5);
  list-style: none;
}
.footer-links a {
  font-size: 12px;
  color: var(--ink-muted);
  transition: color var(--ease);
  letter-spacing: 0.02em;
}
.footer-links a:hover { color: var(--terra); }

@media (prefers-reduced-motion: reduce) {
  .nav-toggle span { transition: none; }
  .section-drawer,
  .section-drawer-backdrop { transition: none; }
}

/* ── SECTION DRAWER (mobile / tablet) ───────────────────── */
.section-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 101;
  background: rgba(42, 36, 32, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}
.section-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.section-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 102;
  flex-direction: column;
  width: min(280px, 82vw);
  height: 100dvh;
  padding: calc(var(--s-4) + env(safe-area-inset-top, 0px)) var(--s-6) var(--s-6);
  background: var(--bg);
  border-left: 1px solid var(--border-soft);
  box-shadow: -12px 0 40px rgba(42, 36, 32, 0.08);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
  box-sizing: border-box;
}
.section-drawer.is-open {
  transform: translateX(0);
}
.section-drawer-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: var(--s-5);
  flex-shrink: 0;
}
.section-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--terra);
  cursor: pointer;
  border-radius: var(--r-pill);
  transition: color var(--ease), background var(--ease);
  flex-shrink: 0;
}
.section-drawer-close:hover {
  color: var(--terra-dim);
  background: rgba(168, 92, 58, 0.08);
}
.section-drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  flex: 1;
}
.section-drawer-link {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-mid);
  transition: color var(--ease);
  letter-spacing: 0.02em;
  cursor: pointer;
}
.section-drawer-link:hover {
  color: var(--terra-soft);
}
.section-drawer-link.is-active {
  color: var(--terra);
  font-weight: 500;
}

/* ── RESPONSIVE — TABLET ─────────────────────────────────── */
@media (max-width: 1024px) {
  .container {
    width: 100%;
    max-width: none;
    padding-inline: var(--s-5);
  }

  .hero-inner {
    gap: var(--s-6);
    width: 100%;
    max-width: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + var(--s-5));
    padding-bottom: var(--s-6);
    overflow-x: clip;
  }

  .hero-inner { align-content: start; }

  .hero-text { padding-block: var(--s-5); min-width: 0; }
  .hero-visual {
    height: clamp(340px, 42vw, 480px);
    min-width: 0;
  }
  .hero-img-frame { height: clamp(300px, 38vw, 440px); }
  .hero-tag { left: 0; bottom: -12px; }

  .scroll-hint { margin-top: var(--s-4); }

  .cards-grid { gap: var(--s-4); min-width: 0; }
  .curiosity-grid { grid-template-columns: repeat(2, 1fr); min-width: 0; }
  .books-grid { grid-template-columns: repeat(2, 1fr); min-width: 0; }

  .curiosity-card,
  .curiosity-card:hover { overflow: hidden; }

  .hero-visual { overflow: hidden; }

  .hero-tag {
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }

  .experiences-timeline { overflow-x: clip; }

  /* Nav — top bar with terracotta burger */
  .nav {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border-soft);
    pointer-events: auto;
    padding-inline: max(var(--s-5), env(safe-area-inset-left, 0px))
                     max(var(--s-5), env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }

  .nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    height: 100%;
  }

  .nav-brand {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .section-drawer-backdrop {
    display: block;
  }

  .section-drawer {
    display: flex;
  }

  .nav-menu {
    display: none;
  }
}

/* ── RESPONSIVE — MOBILE ─────────────────────────────────── */
@media (max-width: 768px) {
  .container {
    width: 100%;
    padding-inline: var(--s-5);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + var(--s-5));
    padding-bottom: var(--s-4);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }

  .hero-text {
    padding-block: 0;
    order: 1;
  }

  .hero-visual {
    order: 2;
    height: auto;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-img-frame { height: clamp(280px, 70vw, 360px); }
  .hero-tag { left: 0; bottom: -12px; }
  .hero-actions { flex-wrap: wrap; }

  .scroll-hint {
    margin-top: var(--s-7);
    padding-bottom: var(--s-3);
  }

  .scroll-line { height: 40px; }

  .section-header { flex-direction: column; gap: var(--s-3); }
  .cards-grid { grid-template-columns: 1fr; }
  .card--link .card-img img { transform: scale(1.15); }
  .card--link:hover .card-img img { transform: scale(1.2); }

  .about-bio { grid-template-columns: 1fr; gap: var(--s-6); }
  .about-img-frame {
    height: auto;
    max-height: 420px;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  .curiosity-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr; }

  .about,
  .books,
  .curiosity {
    border-radius: var(--r-lg);
  }

  .credibility-item::after { display: none; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s-3) var(--s-4);
  }
}

/* ── RESPONSIVE — SMALL MOBILE ─────────────────────────── */
@media (max-width: 480px) {
  .container { padding-inline: var(--s-4); }

  .nav {
    padding-inline: max(var(--s-4), env(safe-area-inset-left, 0px))
                     max(var(--s-4), env(safe-area-inset-right, 0px));
  }

  .hero-h1 { font-size: clamp(34px, 9vw, 42px); }
  .hero-sub { font-size: 15px; }
  .btn { padding: 10px 22px; font-size: 13px; }

  .scroll-hint { margin-top: var(--s-6); }
  .scroll-line { height: 32px; }

  .section-h2 { font-size: clamp(26px, 7vw, 32px); }
  .card-body { padding: var(--s-5); }
  .card-img { height: 220px; }


  .moment { padding-block: var(--s-7); }
  .experience { padding-bottom: var(--s-7); }
}


/* ══════════════════════════════════════════════════════════
   CURIOSITY SECTION
   ══════════════════════════════════════════════════════════ */

.curiosity {
  padding-block: var(--s-10);
  background: #D8E0D8;
  border-radius: var(--r-xl);
}

.curiosity .section-label { color: #4a6b4d; }

.curiosity .section-h2 { color: var(--ink); }
.curiosity .section-h2 em { color: var(--terra); }

.curiosity-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-mid);
  max-width: 520px;
  line-height: 1.75;
  margin-top: var(--s-5);
}

/* Grid */
.curiosity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-8);
}

/* Individual card */
.curiosity-card {
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.6);
  border-top: none;
  border-radius: var(--r-lg);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
  transition: background var(--ease), border-color var(--ease), transform var(--ease), min-height 0.35s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.curiosity-card:hover {
  background: rgba(255,255,255,0.7);
  border-color: rgba(138,158,140,0.5);
  transform: translateY(-3px);
  overflow: visible;
  min-height: 280px;
}

/* Type icon (emoji or letter) */
.curiosity-type {
  font-size: 22px;
  margin-bottom: 0;
  display: block;
  line-height: 1;
}

.curiosity-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: var(--s-3);
  font-style: italic;
  flex-shrink: 0;
}

/* Hint + connection share the middle area under the title */
.curiosity-reveal {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  min-height: 72px;
  margin-top: 0;
  text-align: left;
  transition: min-height 0.35s ease;
}

.curiosity-card:hover .curiosity-reveal {
  flex: 0 1 auto;
  align-items: flex-start;
  min-height: 0;
}

/* The design connection — hidden until hover */
.curiosity-connection {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 13px;
  font-weight: 300;
  color: #4a6b4d;
  line-height: 1.65;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.curiosity-card:hover .curiosity-connection {
  position: static;
  display: block;
  opacity: 1;
  transform: none;
}

/* Hint text visible before hover */
.curiosity-hint {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  margin: 0;
}
.curiosity-card:hover .curiosity-hint {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

/* Wide card (spans 2 cols) */
/* Wide card (spans 2 cols) */
.curiosity-card--wide {
  grid-column: span 2;
}

.curiosity-card--wide:hover {
  min-height: 240px;
}

/* ── MANIFESTO STRIP ─────────────────────────────────────── */
.manifesto {
  padding-block: var(--s-9);
  text-align: center;
  border-top: 1px solid var(--border-soft);
  margin-block: var(--s-10) 0;
}
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-inline: auto;
}
.manifesto-quote em {
  font-style: italic;
  font-weight: 300;
  color: var(--terra);
}
.manifesto-attr {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: var(--s-5);
}

/* ── MOBILE tweaks for new sections ─────────────────────── */
@media (max-width: 768px) {
  .curiosity-grid { grid-template-columns: 1fr; }
  .curiosity-card--wide { grid-column: span 1; }
  .curiosity-connection { opacity: 1; transform: none; position: static; display: block; }
  .curiosity-reveal { display: block; min-height: 0; margin-top: var(--s-3); text-align: left; }
  .curiosity-hint { display: none; }
}


/* ══════════════════════════════════════════════════════════
   MOMENTS SECTION
   ══════════════════════════════════════════════════════════ */

.moments {
  padding-block: var(--s-10);
}

.moments-intro {
  max-width: 560px;
  margin-bottom: var(--s-9);
}

.moments-intro .section-h2 {
  margin-top: var(--s-3);
}

.moments-intro .moments-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-top: var(--s-5);
}

/* Individual moment */
.moment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  padding-block: var(--s-9);
  border-top: 1px solid var(--border-soft);
}

/* Alternate image left/right */
.moment:nth-child(even) .moment-img { order: 2; }
.moment:nth-child(even) .moment-text { order: 1; }

/* Image */
.moment-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
}

.moment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.moment-img--bottom img {
  object-position: bottom;
}

.moment-img--top img {
  object-position: center -60px;
}

.moment:hover .moment-img img {
  transform: scale(1.03);
}

/* Text */
.moment-text {}

.moment-meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

.moment-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  color: var(--ink-muted);
}

.moment-location {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra-soft);
}

.moment-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-5);
}

.moment-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--terra);
}

.moment-story {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.85;
  margin-bottom: var(--s-5);
}

.moment-connection {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.7;
  padding-left: var(--s-4);
  border-left: 2px solid var(--terra-soft);
  font-style: italic;
}

/* Mobile */
@media (max-width: 768px) {
  .moment {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .moment:nth-child(even) .moment-img { order: 0; }
  .moment:nth-child(even) .moment-text { order: 0; }
}


/* ══════════════════════════════════════════════════════════
   CREDIBILITY STRIP
   ══════════════════════════════════════════════════════════ */

.credibility-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding-block: var(--s-4);
  background: var(--surface);
}

.credibility-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
}

.credibility-item {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.credibility-item::after {
  content: '·';
  color: var(--terra-soft);
  font-size: 16px;
  line-height: 1;
}

.credibility-item:last-child::after {
  display: none;
}


/* ══════════════════════════════════════════════════════════
   BOOKS SECTION
   ══════════════════════════════════════════════════════════ */

.books {
  padding-block: var(--s-10);
  background: var(--surface);
  border-radius: var(--r-xl);
}

.books-intro {
  max-width: 560px;
  margin-bottom: var(--s-8);
}

.books-intro .section-h2 {
  margin-top: var(--s-3);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.book-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  border: 1px solid var(--border-soft);
  transition: transform var(--ease), box-shadow var(--ease);
}

.book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(42, 36, 32, 0.08);
}

.book-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  color: var(--terra-soft);
  margin-bottom: var(--s-4);
  display: block;
}

.book-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: var(--s-2);
}

.book-author {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-bottom: var(--s-5);
}

.book-reflection {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.8;
}


/* ══════════════════════════════════════════════════════════
   WHAT FUELS MY CURIOSITY — About subsection
   ══════════════════════════════════════════════════════════ */

.fuels {
  margin-top: var(--s-8);
  padding-top: var(--s-7);
  border-top: 1px solid var(--border-soft);
}

.fuels-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra-soft);
  margin-bottom: var(--s-5);
}

.fuels-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.fuel-item {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-mid);
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: transparent;
  transition: border-color var(--ease), color var(--ease);
}

.fuel-item:hover {
  border-color: var(--terra-soft);
  color: var(--ink);
}


/* ══════════════════════════════════════════════════════════
   MOBILE — new sections
   ══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .books-grid { grid-template-columns: 1fr; }
  .credibility-strip .container { gap: var(--s-3); }
}


/* ══════════════════════════════════════════════════════════
   EXPERIENCES SECTION
   ══════════════════════════════════════════════════════════ */

.experiences {
  padding-block: var(--s-10);
  padding-bottom: var(--s-10);
}

.experiences + .books {
  padding-top: var(--s-10);
}

.experiences-intro {
  max-width: 560px;
  margin-bottom: var(--s-9);
}

.experiences-intro .section-h2 {
  margin-top: var(--s-3);
}

.experiences-intro .experiences-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-top: var(--s-5);
}

/* Timeline */
.experiences-timeline {
  position: relative;
  padding-left: var(--s-7);
}

.experiences-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}

/* Individual experience */
.experience {
  position: relative;
  padding-bottom: var(--s-9);
}

.experience:last-child {
  padding-bottom: 0;
}

/* Dot on timeline */
.experience::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--s-7) - 4px);
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terra-soft);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--terra-soft);
}

/* Future dot — outlined */
.experience--future::before {
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--terra-soft);
}

.experience-meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  flex-wrap: wrap;
}

.experience-date {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra-soft);
}

.experience-tag {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-muted);
  padding: 2px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
}

.experience-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-5);
}

.experience-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--terra);
}

.experience-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.85;
  max-width: 640px;
  margin-bottom: var(--s-5);
}

.experience-insight {
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-muted);
  padding-left: var(--s-4);
  border-left: 2px solid var(--terra-soft);
  line-height: 1.7;
  max-width: 560px;
}

/* Mobile */
@media (max-width: 768px) {
  .experiences-timeline {
    padding-left: var(--s-6);
  }
}
