/* ============================================
   FLORENT KIENTEGA — BENTO GRID PORTFOLIO
   Style: Clean · Editorial · Apple-inspired
   ============================================ */

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

:root {
  --bg:        hsl(40, 30%, 97%);
  --bg-card:   hsl(0, 0%, 100%);
  --bg-muted:  hsl(40, 20%, 94%);
  --text:      hsl(220, 20%, 10%);
  --text-mid:  hsl(220, 10%, 38%);
  --text-light:hsl(220, 8%, 58%);
  --border:    hsl(220, 15%, 88%);

  --accent:    hsl(248, 88%, 58%);       /* Indigo vif */
  --accent-2:  hsl(158, 70%, 48%);       /* Mint */
  --accent-3:  hsl(32,  95%, 58%);       /* Orange */
  --accent-4:  hsl(340, 80%, 60%);       /* Rose */

  --shadow:    0 2px 12px hsl(220 20% 10% / 0.06);
  --shadow-md: 0 6px 28px hsl(220 20% 10% / 0.09);
  --shadow-lg: 0 12px 50px hsl(220 20% 10% / 0.14);

  --r:    18px;
  --r-sm: 12px;
  --r-lg: 24px;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --nav-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-muted); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

/* ===== UTILITIES ===== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.text-accent { color: var(--accent); }
.section { padding: 5.5rem 0; }
.section-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.15;
  color: var(--text); margin-bottom: 3rem;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--text); color: #fff;
  border-radius: 50px; padding: 0.8rem 1.8rem;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px hsl(220 20% 10% / 0.18);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px hsl(248 88% 58% / 0.35); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--text);
  border-radius: 50px; padding: 0.8rem 1.8rem;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  border: 2px solid var(--border);
  transition: border-color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: hsl(40 30% 97% / 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-container {
  max-width: 1180px; margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: var(--text); text-decoration: none;
}
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-link {
  font-size: 0.9rem; font-weight: 500; color: var(--text-mid);
  text-decoration: none; transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.btn-hire {
  background: var(--text); color: #fff; border-radius: 50px;
  padding: 0.5rem 1.3rem; font-weight: 600; font-size: 0.88rem;
  text-decoration: none; transition: background 0.2s;
}
.btn-hire:hover { background: var(--accent); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
  max-width: 1080px; margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.hero-inner {
  display: flex; flex-direction: column; gap: 0;
}
.hero-photo-side {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  flex-shrink: 0;
}
.hero-photo-wrap {
  position: relative;
}
.hero-photo {
  width: 330px; height: 370px;
  border-radius: 32px;
  object-fit: cover;
  object-position: top;
  border: 4px solid var(--bg-card);
  box-shadow: 0 20px 60px hsl(220 20% 10% / 0.20);
  display: block;
  position: relative; z-index: 1;
}
.hero-photo-ring {
  position: absolute; inset: -6px;
  border-radius: 36px;
  background: conic-gradient(var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  z-index: 0;
  animation: spin-hero 8s linear infinite;
  mask: radial-gradient(farthest-side at 50% 50%, transparent calc(100% - 4px), #fff calc(100% - 4px));
  -webkit-mask: radial-gradient(farthest-side at 50% 50%, transparent calc(100% - 4px), #fff calc(100% - 4px));
}
@keyframes spin-hero { to { transform: rotate(360deg); } }
.hero-photo-glow {
  position: absolute; inset: 20px;
  border-radius: 28px;
  background: radial-gradient(ellipse at 50% 100%, hsl(248 88% 65% / 0.3), transparent 70%);
  z-index: 0;
  filter: blur(20px);
}
.hero-photo-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--text); color: #fff;
  border-radius: 50px; padding: 0.5rem 1.1rem;
  font-size: 0.82rem; font-weight: 700;
  box-shadow: var(--shadow-md);
  letter-spacing: 0.02em;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 500; color: var(--text-mid);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 50px; padding: 0.4rem 1rem;
  margin-bottom: 1.2rem; width: fit-content;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero-name-row {
  display: flex; align-items: center; gap: 2rem;
  margin-bottom: 1.5rem;
}
.hero-photo-wrap-inline {
  position: relative; flex-shrink: 0;
}
.hero-name-block {
  display: flex; flex-direction: column; gap: 0.3rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800; line-height: 1.05;
  color: var(--text); margin-bottom: 0.3rem;
}
.hero-role {
  font-size: 1.05rem; font-weight: 600;
  color: var(--accent); margin-bottom: 0.8rem;
}
.hero-sub {
  font-size: 0.95rem; color: var(--text-mid);
  margin-bottom: 1.2rem; font-weight: 400; line-height: 1.6;
}
.hero-tech-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2rem;
}
.hero-tech-tags span {
  font-size: 0.8rem; font-weight: 600;
  color: var(--accent); background: hsl(248 88% 58% / 0.08);
  border-radius: 50px; padding: 0.35rem 0.9rem;
  transition: transform 0.2s, background 0.2s;
  cursor: default;
}
.hero-tech-tags span:hover {
  transform: translateY(-2px);
  background: hsl(248 88% 58% / 0.12);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--text-light);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(7px)} }

/* ===== BENTO GRID ===== */
.bento-section { padding: 3rem 0 6rem; }
.bento-container {
  max-width: 1080px; margin: 0 auto; padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-auto-rows: minmax(130px, auto);
  gap: 1rem;
}

/* Base cell */
.bento-cell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  position: relative;
}
.bento-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* CELL SIZES — cell-intro removed */
.cell-xp            { grid-column: span 4; }
.cell-stat          { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.cell-stat-a        { background: var(--accent); border-color: var(--accent); }
.cell-stat-b        { background: var(--text); border-color: var(--text); }
.cell-project-featured { grid-column: span 6; grid-row: span 2; background: hsl(248 88% 58%); border-color: hsl(248 88% 58%); color: #fff; }
.cell-mobile        { grid-column: span 4; }
.cell-arch          { grid-column: span 2; }
.cell-gdsc          { grid-column: span 3; }
.cell-langs         { grid-column: span 5; }
.cell-design        { grid-column: span 2; }
.cell-contact       { grid-column: span 6; background: var(--text); border-color: var(--text); color: #fff; }

/* CELL INTRO */
.cell-top { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 1.2rem; }
.avatar-wrap { flex-shrink: 0; }
.bento-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--border);
  box-shadow: var(--shadow-md);
}
.cell-intro-text h2 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  line-height: 1.2; margin-bottom: 0.5rem;
}
.cell-intro-text p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }
.skill-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  font-size: 0.78rem; font-weight: 600;
  border-radius: 50px; padding: 0.3rem 0.8rem;
}
.chip-purple { background: hsl(248 88% 58% / 0.1); color: hsl(248 88% 50%); }
.chip-green  { background: hsl(158 70% 48% / 0.1); color: hsl(158 60% 36%); }
.chip-blue   { background: hsl(210 90% 60% / 0.1); color: hsl(210 70% 42%); }
.chip-orange { background: hsl(32 95% 58% / 0.1);  color: hsl(32 80% 40%); }
.chip-gray   { background: var(--bg-muted); color: var(--text-mid); }

/* CELL XP */
.xp-label {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.5rem;
}
.xp-level-text {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  line-height: 1.15; margin-bottom: 1rem;
}
.level-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent); color: #fff;
  border-radius: 50px; padding: 0.4rem 0.9rem;
  font-size: 0.8rem; font-weight: 700;
  box-shadow: 0 4px 14px hsl(248 88% 58% / 0.35);
  width: fit-content;
}

/* CELL STAT */
.stat-big {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 800; line-height: 1;
  color: #fff; display: inline;
}
.stat-unit { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: rgba(255,255,255,0.7); }
.stat-desc { font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.7); margin-top: 0.4rem; }

/* CELL PROJECT FEATURED */
.cell-project-featured .proj-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
  margin-bottom: 0.6rem;
}
.cell-project-featured .proj-title {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: #fff; margin-bottom: 0.75rem; line-height: 1.1;
}
.cell-project-featured .proj-desc {
  font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.65;
  max-width: 480px; margin-bottom: 1rem;
}
.proj-stack { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.proj-stack span {
  font-size: 0.72rem; font-weight: 600;
  background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.9);
  border-radius: 6px; padding: 0.2rem 0.6rem;
}
.proj-role {
  font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.6);
  margin-bottom: 1.2rem;
}
.proj-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; color: var(--accent);
  border-radius: 50px; padding: 0.55rem 1.3rem;
  font-weight: 700; font-size: 0.88rem; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.proj-link:hover { transform: translateY(-2px); }
.proj-deco {
  position: absolute; bottom: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

/* CELL MOBILE */
.cell-mobile .mobile-icon { color: var(--accent); margin-bottom: 0.6rem; }
.cell-mobile h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; margin-bottom: 0.4rem; }
.cell-mobile p { font-size: 0.82rem; color: var(--text-mid); }

/* CELL ARCH */
.cell-arch { color: var(--text); }
.cell-arch svg { color: var(--accent-3); margin-bottom: 0.6rem; }
.cell-arch h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 800; margin-bottom: 0.4rem; }
.cell-arch p { font-size: 0.8rem; color: var(--text-mid); line-height: 1.5; }

/* CELL GDSC */
.gdsc-badge {
  font-family: var(--font-display); font-size: 2rem; font-weight: 900;
  letter-spacing: -0.03em; color: var(--accent);
  margin-bottom: 0.5rem;
}
.gdsc-text { font-size: 0.83rem; color: var(--text-mid); line-height: 1.6; }
.gdsc-text strong { color: var(--text); }

/* CELL LANGS */
.cell-langs { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.lang-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  width: 100%;
}
.lang-left-side {
  display: flex; align-items: center; gap: 0.8rem;
}
.lang-flag { font-size: 1.3rem; flex-shrink: 0; }
.lang-row strong { font-size: 0.88rem; color: var(--text); }
.lang-level {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  color: var(--accent); background: hsl(248 88% 58% / 0.08);
  border-radius: 50px; padding: 0.25rem 0.75rem;
  text-align: center;
}

/* CELL DESIGN */
.cell-design svg { color: var(--accent-4); margin-bottom: 0.6rem; }
.cell-design h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 800; margin-bottom: 0.4rem; }
.cell-design p { font-size: 0.8rem; color: var(--text-mid); line-height: 1.5; }

/* CELL CONTACT */
.cell-contact h3 {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  color: #fff; margin-bottom: 0.8rem; line-height: 1.25;
}
.contact-quick { display: flex; flex-direction: column; gap: 0.6rem; }
.cq-link {
  display: flex; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.82rem; transition: color 0.2s;
}
.cq-link:hover { color: #fff; }

/* ===== SKILLS ===== */
.skills-section { background: var(--bg-card); }
.skills-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.sk-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sk-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sk-icon { color: var(--accent); margin-bottom: 0.8rem; }
.sk-mobile .sk-icon { color: hsl(248 88% 58%); }
.sk-backend .sk-icon { color: hsl(158 70% 40%); }
.sk-frontend .sk-icon { color: hsl(32 95% 50%); }
.sk-tools .sk-icon { color: hsl(340 80% 55%); }
.sk-card h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800;
  margin-bottom: 1.2rem;
}

.tools-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tools-grid span {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.3rem 0.7rem;
  font-size: 0.8rem; font-weight: 500; color: var(--text-mid);
  transition: border-color 0.2s, color 0.2s;
}
.tools-grid span:hover { border-color: var(--accent); color: var(--accent); }

/* ===== PROJECTS ===== */
.projects-section { background: var(--bg); }
.projects-list { display: flex; flex-direction: column; gap: 0; }
.proj-card {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 1.5rem; align-items: start;
  padding: 1.8rem 0; border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.proj-card:first-child { border-top: 1px solid var(--border); }
.proj-card:hover { background: hsl(0 0% 100% / 0.6); }
.proj-featured .pc-num { color: var(--accent); }
.pc-left { display: flex; flex-direction: column; gap: 0.6rem; padding-top: 0.1rem; }
.pc-num {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 800;
  color: var(--text-light); letter-spacing: 0.06em;
}
.pc-tag {
  font-size: 0.68rem; font-weight: 700; border-radius: 6px;
  padding: 0.2rem 0.55rem; letter-spacing: 0.06em;
  text-transform: uppercase; width: fit-content;
}
.pc-lead      { background: hsl(248 88% 58% / 0.1); color: hsl(248 88% 48%); }
.pc-mobile    { background: hsl(158 70% 48% / 0.1); color: hsl(158 60% 36%); }
.pc-challenge { background: hsl(32 95% 58% / 0.1);  color: hsl(32 80% 38%); }
.pc-design    { background: hsl(340 80% 60% / 0.1); color: hsl(340 70% 45%); }
.pc-community { background: hsl(210 90% 60% / 0.1); color: hsl(210 70% 42%); }

.pc-center h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  margin-bottom: 0.5rem;
}
.pc-center p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 0.8rem; }
.pc-stack { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pc-stack span {
  font-size: 0.72rem; font-weight: 600; color: var(--text-light);
  background: var(--bg-muted); border-radius: 6px; padding: 0.15rem 0.55rem;
}
.pc-right {
  display: flex; flex-direction: column; gap: 0.6rem;
  align-items: flex-end; padding-top: 0.1rem; min-width: 140px;
}
.pc-role { font-size: 0.75rem; font-weight: 600; color: var(--text-light); text-align: right; }
.pc-btn {
  display: inline-flex; align-items: center;
  background: var(--text); color: #fff;
  border-radius: 50px; padding: 0.45rem 1.1rem;
  font-weight: 600; font-size: 0.82rem; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.pc-btn:hover { background: var(--accent); transform: translateX(3px); }

/* ===== JOURNEY ===== */
.journey-section { background: var(--bg-card); }
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.journey-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.journey-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.jc-active { background: var(--text); border-color: var(--text); }
.jc-active .jc-year { color: rgba(255,255,255,0.5); }
.jc-active .jc-icon { color: #fff; }
.jc-active h3 { color: #fff; }
.jc-active p { color: rgba(255,255,255,0.65); }
.jc-year {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.7rem;
}
.jc-now { color: var(--accent-2) !important; }
.jc-icon { color: var(--text); margin-bottom: 0.6rem; }
.journey-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; margin-bottom: 0.35rem; }
.journey-card p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.55; }

/* ===== CONTACT ===== */
.contact-section { background: var(--bg); }
.contact-bento {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 4rem; align-items: start;
}
.cb-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  line-height: 1.1; margin: 0.5rem 0 1rem;
}
.cb-left p { color: var(--text-mid); margin-bottom: 2rem; }
.cb-links { display: flex; flex-direction: column; gap: 0.75rem; }
.cb-link {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--text-mid); text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  padding: 0.7rem 0; border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.cb-link:hover { color: var(--accent); }

.cb-right { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow); }
.cb-form { display: flex; flex-direction: column; gap: 1rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-group { display: flex; flex-direction: column; gap: 0.4rem; }
.cf-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.cf-group input, .cf-group textarea {
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  padding: 0.7rem 0.9rem; font-family: inherit; font-size: 0.92rem;
  color: var(--text); background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; resize: vertical;
}
.cf-group input:focus, .cf-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px hsl(248 88% 58% / 0.1);
  background: #fff;
}

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); padding: 2rem 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.88rem; color: var(--text-light); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.82rem; color: var(--text-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links, .btn-hire { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 1.5rem; gap: 1.2rem; z-index: 99;
    box-shadow: var(--shadow-md);
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-inner {
    align-items: center;
  }
  .hero-photo-side {
    order: -1; /* Place photo on top on mobile */
  }
  .hero-photo {
    width: 270px; height: 300px;
    border-radius: 28px;
  }
  .hero-photo-ring {
    border-radius: 32px;
  }
  .bento-container {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }
  .cell-xp, .cell-stat,
  .cell-project-featured, .cell-mobile, .cell-arch,
  .cell-gdsc, .cell-langs, .cell-design, .cell-contact {
    grid-column: span 1 !important; grid-row: span 1 !important;
  }
  .cell-project-featured { grid-column: span 2 !important; }
  .cell-contact { grid-column: span 2 !important; }
  .skills-bento { grid-template-columns: 1fr; }
  .proj-card { grid-template-columns: 1fr; }
  .pc-right { align-items: flex-start; }
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .contact-bento { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 580px) {
  .hero-title { font-size: 2.5rem; }
  .hero-photo { width: 220px; height: 250px; }
  .bento-container { grid-template-columns: 1fr; }
  .cell-project-featured, .cell-contact { grid-column: span 1 !important; }
  .journey-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
