:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #1c1c1e;
  --ink-soft: #6e6e73;
  --accent: #2c5f5d;
  --accent-soft: #d4e4e2;
  --line: #e6e2d8;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.08), 0 24px 64px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  min-height: 100vh;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 32px 64px;
}

/* ── HEADER ─────────────────────────────── */
header {
  text-align: center;
  margin-bottom: 56px;
}

h1.name {
  font-family: "SF Pro Display", -apple-system, "Inter", serif;
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 12px;
}

.tagline {
  font-size: 17px;
  color: var(--ink-soft);
  font-weight: 400;
}

.tagline .accent {
  color: var(--accent);
  font-weight: 500;
}

/* ── DOCK ───────────────────────────────── */
.dock-wrapper {
  display: flex;
  justify-content: center;
  margin: 48px 0 64px;
  padding-bottom: 24px;
}

.dock {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  height: 80px;
}

.dock-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
              margin 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom center;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  position: relative;
  will-change: transform;
  text-decoration: none;
}

.dock-icon svg {
  width: 26px;
  height: 26px;
  transition: transform 0.15s ease;
}

.dock-icon .label {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.dock-icon:hover .label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dock-icon.cv-icon {
  background: var(--accent);
  color: #fff;
}

/* ── MAIN GRID ──────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .grid { grid-template-columns: 1fr; gap: 24px; }
  h1.name { font-size: 40px; }
  .container { padding: 48px 20px; }
}

.column h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 20px;
  padding-left: 4px;
}

/* ── CARDS (hover-expand) ───────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.35;
}

.card-meta {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.card-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              margin-top 0.25s ease;
}

.card:hover .card-detail {
  max-height: 280px;
  opacity: 1;
  margin-top: 12px;
}

.card-detail p {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 10px;
}

.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tag {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.card-links {
  display: flex;
  gap: 14px;
  font-size: 12px;
}

.card-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-links a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  margin-top: 80px;
  color: var(--ink-soft);
  font-size: 12px;
}

footer .footer-date {
  color: var(--ink);
}
