/* ============================================
   Denis Cepeda — Portfolio
   Direction: Bento moderne — gros sans-serif + cartes blanches
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  /* Palette */
  --bg:           #EFEDE8;
  --bg-2:         #E6E4DE;
  --card:         #FFFFFF;
  --card-2:       #F7F6F2;
  --ink:          #111111;
  --ink-soft:     #2A2A2A;
  --muted:        #6E6E6A;
  --muted-2:      #9A9994;
  --hairline:     rgba(17,17,17,0.08);
  --hairline-2:   rgba(17,17,17,0.14);
  --accent:       #FF5A1F;
  --accent-soft:  #FFE3D4;
  --green:        #1FCE5C;

  /* Type */
  --display: "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --body:    "DM Sans", "Inter Tight", -apple-system, sans-serif;

  /* Radii */
  --r-card:   28px;
  --r-card-2: 20px;
  --r-pill:   999px;

  /* Shadow */
  --shadow-card:  0 1px 0 rgba(255,255,255,0.6) inset, 0 1px 2px rgba(17,17,17,0.04), 0 8px 24px rgba(17,17,17,0.05);
  --shadow-tag:   0 1px 2px rgba(17,17,17,0.06), 0 2px 8px rgba(17,17,17,0.04);

  /* Layout */
  --col:    1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-image:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0.7), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(255,255,255,0.5), transparent 40%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .18s ease, opacity .18s ease;
}
a:hover { color: var(--accent); }

button { font-family: inherit; cursor: pointer; }

/* ---------- Layout ---------- */

.shell {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Top bar ---------- */

.topbar {
  position: sticky; top: 16px;
  z-index: 50;
  padding: 0 var(--gutter);
}
.topbar__inner {
  max-width: var(--col);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border-radius: var(--r-pill);
  padding: 12px 22px 12px 16px;
  box-shadow: var(--shadow-tag);
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
}
.brand__logo {
  width: 28px; height: 28px;
  position: relative;
  flex-shrink: 0;
}
.brand__logo svg { width: 100%; height: 100%; }
.brand__email {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  font-weight: 500;
}

.menu-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--card);
  border: none;
  box-shadow: var(--shadow-tag);
  display: none; place-items: center;
  color: var(--ink);
}
.menu-btn:hover { background: var(--ink); color: var(--card); }
.menu-btn svg { width: 18px; height: 18px; }

.navbar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border-radius: var(--r-pill);
  padding: 6px;
  box-shadow: var(--shadow-tag);
  margin: 0 auto;
}
.navbar a {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
}
.navbar a:hover { color: var(--ink); }
.navbar a.is-active {
  background: var(--ink);
  color: var(--card);
}

/* ---------- Display type ---------- */

.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--ink);
}
.display--xxl { font-size: clamp(48px, 8vw, 124px); }
.display--xl  { font-size: clamp(40px, 6vw, 88px); }
.display--lg  { font-size: clamp(32px, 4.4vw, 64px); }
.display--md  { font-size: clamp(24px, 3vw, 40px); }
.display--sm  { font-size: clamp(20px, 2.2vw, 28px); }
.display .mute { color: var(--muted-2); font-weight: 700; }
.display .accent { color: var(--accent); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 30px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn--dark { background: var(--ink); color: var(--card); }
.btn--dark:hover { background: var(--accent); color: var(--card); }
.btn--light { background: var(--card); color: var(--ink); box-shadow: var(--shadow-tag); }
.btn--light:hover { background: var(--ink); color: var(--card); }
.btn--accent { background: var(--accent); color: var(--card); }
.btn--accent:hover { background: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 14px; }

.btn__arrow {
  width: 14px; height: 14px;
  display: inline-block;
  position: relative;
}
.btn__arrow::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}
.btn__arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.pill-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: var(--r-pill);
  padding: 10px 20px 10px 14px;
  box-shadow: var(--shadow-tag);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.pill-status .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(31,206,92,0.18);
}

/* ---------- Bento cards ---------- */

.bento {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.card {
  background: var(--card);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
}
.card--accent {
  background: var(--accent);
  color: var(--card);
}
.card--accent .card__tag { background: rgba(255,255,255,0.18); color: #fff; }
.card--dark {
  background: var(--ink);
  color: var(--card);
}
.card--dark .card__tag { background: rgba(255,255,255,0.1); color: var(--card); }

.card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--card);
  box-shadow: var(--shadow-tag);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  z-index: 2;
}
.card__title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 8px;
}
.card__sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.card__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Spans */
.c-3  { grid-column: span 3; }
.c-4  { grid-column: span 4; }
.c-5  { grid-column: span 5; }
.c-6  { grid-column: span 6; }
.c-7  { grid-column: span 7; }
.c-8  { grid-column: span 8; }
.c-9  { grid-column: span 9; }
.c-12 { grid-column: span 12; }

@media (max-width: 1024px) {
  .c-3, .c-4, .c-5 { grid-column: span 6; }
  .c-6, .c-7, .c-8, .c-9 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .c-3, .c-4, .c-5, .c-6, .c-7, .c-8, .c-9 { grid-column: span 12; }
}

/* ---------- Section headers ---------- */
.section-head {
  max-width: var(--col);
  margin: clamp(60px, 8vw, 100px) auto clamp(20px, 3vw, 36px);
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(32px, 5vw, 64px);
}
.section-head h2 .accent { color: var(--accent); }
.section-head__sub {
  color: var(--muted);
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Page head ---------- */
.page-head {
  max-width: var(--col);
  margin: clamp(40px, 6vw, 80px) auto clamp(30px, 4vw, 48px);
  padding: 0 var(--gutter);
}
.page-head__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  box-shadow: var(--shadow-tag);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.page-head__kicker .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-size: clamp(36px, 5.4vw, 76px);
  margin-bottom: 24px;
}
.page-head h1 .accent { color: var(--accent); }
.page-head h1 .mute { color: var(--muted-2); }
.page-head__lede {
  max-width: 60ch;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.foot {
  margin-top: clamp(60px, 8vw, 100px);
  padding: 0 var(--gutter) 30px;
}
.foot__inner {
  max-width: var(--col);
  margin: 0 auto;
  background: var(--ink);
  color: var(--card);
  border-radius: var(--r-card);
  padding: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.foot__lead {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  margin-bottom: 24px;
}
.foot__lead .accent { color: var(--accent); }
.foot__lead .mute { color: rgba(255,255,255,0.32); }
.foot__lead-sub {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  max-width: 32ch;
  line-height: 1.55;
}
.foot__col h4 {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  margin-bottom: 16px;
}
.foot__col a, .foot__col p {
  display: block;
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,0.85);
}
.foot__col a:hover { color: var(--accent); }
.foot__bottom {
  max-width: var(--col);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .brand__email { display: none; }
  .brand { flex: 1; }

  /* Nav → dropdown sous la topbar */
  .topbar__inner { flex-wrap: wrap; }
  .navbar {
    order: 10;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--r-card-2);
    gap: 2px;
    padding: 0 6px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .32s ease, opacity .22s ease, padding .22s ease;
  }
  .navbar.is-open {
    max-height: 300px;
    opacity: 1;
    padding: 6px;
    margin-bottom: 12px;
  }
  .navbar a {
    display: flex;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 18px;
    border-radius: 14px;
    color: var(--ink-soft);
    transition: background .15s ease, color .15s ease;
  }
  .navbar a:hover { background: var(--card-2); color: var(--ink); }
  .navbar a.is-active { background: var(--ink); color: var(--card); }
  .navbar a.is-active:hover { background: var(--accent); color: var(--card); }

  /* Hamburger ↔ X */
  .menu-btn { display: grid; }
  .icon-close { display: none; }
  .menu-btn.is-open { background: var(--ink); color: var(--card); }
  .menu-btn.is-open .icon-menu { display: none; }
  .menu-btn.is-open .icon-close { display: block; }

  .foot__inner { grid-template-columns: 1fr; gap: 30px; }
  .foot__bottom { flex-direction: column; gap: 8px; }
  .section-head { align-items: start; }
}

/* ============================================
   Home — Hero + Bento (page-specific)
   ============================================ */

/* ---------- Hero ---------- */
.hero {
  max-width: var(--col);
  margin: clamp(28px, 4vw, 56px) auto clamp(32px, 4vw, 56px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-card);
  position: relative;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__photo__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: var(--r-pill);
  background: var(--card);
  box-shadow: var(--shadow-card);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  z-index: 2;
}
.hero__photo__badge::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(31,206,92,0.18);
}

.hero__lockup {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  font-size: clamp(36px, 5.4vw, 76px);
  color: var(--ink);
  margin-bottom: 8px;
}
.hero__lockup .row { display: block; }
.hero__lockup .mute { color: var(--muted-2); font-weight: 700; }
.hero__lockup .accent { color: var(--accent); }
.hero__lockup .at { color: var(--muted-2); font-weight: 700; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__photo { aspect-ratio: 1/1; max-width: 480px; }
}

.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 44px);
}
.hero__cta-row .pill-status {
  font-size: clamp(13px, 1.1vw, 15px);
  padding: 18px 24px 18px 18px;
}
.hero__desc {
  max-width: 38ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- Bento — Experience timeline ---------- */
.card-exp__list {
  margin-top: 50px;
  padding-left: 0;
  list-style: none;
  position: relative;
}
.card-exp__list::before {
  content: "";
  position: absolute;
  top: 6px; bottom: 6px;
  left: 5px;
  width: 1.5px;
  background: var(--hairline-2);
}
.card-exp__item {
  position: relative;
  padding: 6px 0 6px 28px;
  margin-bottom: 14px;
}
.card-exp__item:last-child { margin-bottom: 0; }
.card-exp__item::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--card);
  box-shadow: 0 0 0 1.5px var(--hairline-2);
}
.card-exp__item.is-current::before {
  background: var(--accent);
  box-shadow: 0 0 0 1.5px var(--accent);
}
.card-exp__item.is-fade { opacity: 0.35; }
.card-exp__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.25;
}
.card-exp__meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Bento — Photo card ---------- */
.card-photo { padding: 0; aspect-ratio: 4/5; min-height: 320px; }
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--r-card);
}
.card-photo__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 70%);
  color: #fff;
  z-index: 2;
}
.card-photo__overlay h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.card-photo__overlay p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
}

/* ---------- Bento — Map card ---------- */
.card-map {
  padding: 0;
  min-height: 320px;
  background: var(--card-2);
}
.card-map__map {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 28px, rgba(17,17,17,0.06) 28px, rgba(17,17,17,0.06) 29px),
    repeating-linear-gradient(90deg, transparent 0, transparent 28px, rgba(17,17,17,0.06) 28px, rgba(17,17,17,0.06) 29px),
    radial-gradient(circle at 30% 40%, rgba(17,17,17,0.08), transparent 25%),
    radial-gradient(circle at 70% 60%, rgba(17,17,17,0.06), transparent 30%);
  background-size: 60px 60px, 60px 60px, auto, auto;
}
.card-map__roads {
  position: absolute;
  inset: 0;
}
.card-map__pin {
  position: absolute;
  left: 50%; top: 52%;
  transform: translate(-50%, -100%);
  z-index: 2;
}
.card-map__pin-marker {
  width: 44px; height: 44px;
  background: var(--accent);
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 8%;
  transform: rotate(-45deg);
  box-shadow: 0 8px 24px rgba(255,90,31,0.4);
  position: relative;
}
.card-map__pin-marker::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.card-map__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 24px;
  background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(255,255,255,0.85) 60%, transparent);
  backdrop-filter: blur(8px);
  z-index: 3;
}
.card-map__label h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.card-map__label p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Bento — Skills card ---------- */
.card-skills {
  background: var(--accent);
  color: var(--card);
  min-height: 320px;
  padding-top: 60px;
}
.card-skills .card__tag { background: rgba(255,255,255,0.18); color: #fff; backdrop-filter: blur(4px); }
.card-skills__title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(32px, 3.2vw, 44px);
  margin-top: auto;
  margin-bottom: 18px;
}
.card-skills__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card-skills__chip {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

/* ---------- Bento — Stat card ---------- */
.card-stat {
  background:
    linear-gradient(180deg, rgba(17,17,17,0.55) 0%, rgba(17,17,17,0.85) 100%),
    url("assets/drapeau.webp") center/cover no-repeat,
    var(--ink);
  color: var(--card);
  min-height: 220px;
}
.card-stat .card__tag { background: rgba(255,255,255,0.15); color: var(--card); backdrop-filter: blur(6px); }
.card-stat__num {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-size: clamp(72px, 8vw, 120px);
  margin-top: auto;
}
.card-stat__num .small {
  font-size: 0.35em;
  color: rgba(255,255,255,0.5);
  margin-left: 6px;
  font-weight: 600;
}
.card-stat__label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
}

/* ---------- Bento — About card ---------- */
.card-about { min-height: 260px; }
.card-about__title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-size: clamp(22px, 2.4vw, 32px);
  margin-top: 36px;
  margin-bottom: 14px;
}
.card-about__title .accent { color: var(--accent); }
.card-about__title .mute { color: var(--muted-2); }
.card-about__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- Bento — Education card ---------- */
.card-edu { min-height: 220px; display: flex; flex-direction: column; gap: 16px; }
.card-edu .card__tag { position: static; align-self: flex-start; margin-bottom: 8px; }
.card-edu__entry {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.card-edu__entry + .card-edu__entry {
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.card-edu__logo {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--card-2);
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  overflow: hidden;
}
.card-edu__logo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 11px;
}
.card-edu__logo.is-accent { background: var(--accent-soft); }
.card-edu__info { display: flex; flex-direction: column; }
.card-edu__degree {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
}
.card-edu__school {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.card-edu__years {
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  color: var(--accent);
  margin-top: 5px;
}

/* ---------- Bento — Socials card ---------- */
.card-social { min-height: 220px; padding: 0; overflow: visible; }
.card-social__inner {
  background: var(--card);
  border-radius: var(--r-card);
  padding: clamp(20px, 2.2vw, 28px);
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
.card-social__title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  margin-top: 32px;
  margin-bottom: 18px;
}
.card-social__row {
  display: flex;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
}
.card-social__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  background: var(--card-2);
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  transition: all .18s ease;
}
.card-social__btn:hover { background: var(--ink); color: var(--card); }
.card-social__btn svg { width: 16px; height: 16px; }

/* ---------- Bento — Languages card ---------- */
.card-lang { min-height: 220px; }
.card-lang__list {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}
.card-lang__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
}
.card-lang__row:last-child { border-bottom: none; }
.card-lang__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
}
.card-lang__level {
  font-size: 13px;
  color: var(--muted);
  background: var(--card-2);
  padding: 4px 12px;
  border-radius: var(--r-pill);
}

/* ---------- Bento — Now card ---------- */
.card-now { min-height: 220px; }
.card-now__title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-size: clamp(20px, 2vw, 26px);
  margin-top: 32px;
  margin-bottom: 12px;
}
.card-now__list { font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.card-now__list li { list-style: none; padding-left: 18px; position: relative; }
.card-now__list li::before {
  content: "→";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Bento — CTA card ---------- */
.card-cta {
  background: var(--card-2);
  min-height: 220px;
  justify-content: space-between;
}
.card-cta__title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-size: clamp(24px, 2.6vw, 36px);
  margin-top: 32px;
}
.card-cta__title .accent { color: var(--accent); }
