/* ═══════════════════════════════════════════════
   Vedaant Kulkarni — Portfolio  |  style.css
   ═══════════════════════════════════════════════
   AI USAGE: Overall visual design (retro 80s arcade theme,
   colour palette, neon glow effects, CSS grid layouts) was
   generated with Claude AI and then adjusted by me —
   tweaking colours, spacing, section structure, and removing
   features I didn't want (e.g. the stat-bar section).
   ═══════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #0a0a1a;
  --bg2:       #0f0f2e;
  --fg:        #e0e0ff;
  --accent:    #ff3c6e;      /* neon pink */
  --cyan:      #00f5ff;
  --yellow:    #ffe74c;
  --green:     #39ff14;
  --orange:    #ff6b2b;
  --purple:    #b04aff;
  --border:    #3a3a6e;

  /* brick colours */
  --b-red:     #ff2244;
  --b-orange:  #ff6b2b;
  --b-yellow:  #ffe74c;
  --b-green:   #39ff14;
  --b-cyan:    #00f5ff;

  --font-pixel: 'Press Start 2P', monospace;
  --font-vt:    'VT323', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-vt);
  font-size: 1.15rem;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── SCANLINE OVERLAY ── */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.18) 2px,
    rgba(0,0,0,0.18) 4px
  );
}

/* ── PIXEL BORDER UTILITY ── */
.pixel-border {
  border: 3px solid var(--border);
  box-shadow:
    4px 4px 0 var(--accent),
    0 0 20px rgba(255, 60, 110, 0.15);
  image-rendering: pixelated;
}

.pixel-border:hover {
  box-shadow:
    4px 4px 0 var(--cyan),
    0 0 30px rgba(0, 245, 255, 0.25);
  border-color: var(--cyan);
  transition: box-shadow 0.2s, border-color 0.2s;
}

/* ── CURSOR BLINK ── */
.cursor-blink {
  animation: blink 0.9s step-start infinite;
  color: var(--cyan);
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ── SECTION COMMON ── */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 2rem 60px;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.75rem;
}

.section-num {
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  color: var(--accent);
}

.section-title {
  font-family: var(--font-pixel);
  font-size: clamp(1rem, 3vw, 1.6rem);
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan);
  letter-spacing: 0.1em;
}

.scroll-hint-inline {
  margin-left: auto;
  font-family: var(--font-pixel);
  font-size: 0.4rem;
  color: var(--fg);
  opacity: 0.45;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  background: rgba(10, 10, 26, 0.92);
  backdrop-filter: blur(4px);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 0 20px rgba(255, 60, 110, 0.3);
}

.nav-logo {
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-btn {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--fg);
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  transition: color 0.15s, text-shadow 0.15s;
}

.nav-btn:hover,
.nav-btn.active {
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan);
}

.nav-score {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--yellow);
  text-shadow: 0 0 8px var(--yellow);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  max-width: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(176, 74, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(0, 245, 255, 0.08) 0%, transparent 50%);
}

.hero-content {
  flex: 1;
  max-width: 600px;
  padding-top: 80px;
}

.hero-tag {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--yellow);
  text-shadow: 0 0 10px var(--yellow);
  letter-spacing: 0.25em;
  margin-bottom: 1.5rem;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-pixel);
  font-size: clamp(1.8rem, 6vw, 3.5rem);
  line-height: 1.2;
  color: var(--fg);
  text-shadow: 3px 3px 0 var(--purple);
  margin-bottom: 1rem;
}

.hero-title .accent {
  color: var(--accent);
  text-shadow: 3px 3px 0 #7a001f, 0 0 20px var(--accent);
}

.hero-sub {
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 8px var(--cyan);
}

.hero-lives {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.scroll-hint {
  font-family: var(--font-pixel);
  font-size: 0.38rem;
  color: var(--fg);
  opacity: 0.4;
  letter-spacing: 0.2em;
  margin-top: 2rem;
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0);    opacity: 0.4; }
  50%       { transform: translateY(6px); opacity: 0.7; }
}

.life {
  font-size: 1.4rem;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

/* ── BREAKOUT CANVAS ── */
#breakout-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none; /* let clicks pass through to elements below */
  z-index: 3;
}

/* Individual hero title letters — transition lets colour changes animate smoothly */
.hero-letter {
  display: inline;
  transition: color 0.5s, text-shadow 0.5s;
}

/* ── BRICK GRID (hero decoration) ── */
.brick-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  padding-top: 80px;
  flex-shrink: 0;
}

.brick-row {
  display: flex;
  gap: 6px;
}

.brick {
  width: 70px;
  height: 26px;
  border-radius: 2px;
  position: relative;
  animation: brick-float 3s ease-in-out infinite;
}

.brick::after {
  content: '';
  position: absolute;
  inset: 2px 2px 0 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 1px 1px 0 0;
}

.brick:nth-child(odd)  { animation-delay: 0.3s; }
.brick:nth-child(even) { animation-delay: 0.6s; }

@keyframes brick-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

.b-red    { background: var(--b-red);    box-shadow: 0 0 10px var(--b-red); }
.b-orange { background: var(--b-orange); box-shadow: 0 0 10px var(--b-orange); }
.b-yellow { background: var(--b-yellow); box-shadow: 0 0 10px var(--b-yellow); }
.b-green  { background: var(--b-green);  box-shadow: 0 0 10px var(--b-green); }
.b-cyan   { background: var(--b-cyan);   box-shadow: 0 0 10px var(--b-cyan); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  color: var(--bg);
  background: var(--cyan);
  border: none;
  padding: 0.9rem 1.6rem;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.1em;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  transition: background 0.15s, transform 0.1s;
  box-shadow: 4px 4px 0 var(--purple);
}

.btn-primary:hover {
  background: var(--accent);
  box-shadow: 4px 4px 0 var(--yellow);
  transform: translate(-2px, -2px);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.btn-sm {
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  color: var(--cyan);
  text-decoration: none;
  border: 2px solid var(--cyan);
  padding: 0.4rem 0.6rem;
  transition: background 0.15s, color 0.15s;
}

.btn-sm:hover {
  background: var(--cyan);
  color: var(--bg);
}

/* ═══════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════ */
#about {
  background: var(--bg2);
  max-width: 100%;
  padding: 100px 2rem 80px;
}

#about > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-photo {
  overflow: hidden;
  line-height: 0;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card {
  background: rgba(15, 15, 46, 0.8);
  padding: 1.5rem;
  border-radius: 2px;
}

.about-interests {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.about-interest-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.about-interest-icon {
  font-size: 1.3rem;
  filter: drop-shadow(0 0 6px var(--cyan));
}

.about-interest-name {
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  color: var(--fg);
  letter-spacing: 0.08em;
}

.card-label {
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
}

.about-text {
  font-size: 1.05rem;
  color: var(--fg);
  opacity: 0.9;
}

/* Skill tags — compact, sits below bio in the about card */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.skill-tag {
  font-family: var(--font-pixel);
  font-size: 0.35rem;
  color: var(--bg);
  background: var(--green);
  padding: 0.25rem 0.5rem;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.35);
  letter-spacing: 0.04em;
}

/* Disabled project links (placeholders) */
.btn-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Placeholder project cards — slightly dimmed */
.project-placeholder {
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════ */
#projects {
  padding: 100px 2rem 80px;
}

/* Horizontal scroller, newest project card first (left) */
.projects-grid {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.3rem 0.3rem 1.4rem;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) var(--bg2);
}

.projects-grid::-webkit-scrollbar {
  height: 10px;
}

.projects-grid::-webkit-scrollbar-track {
  background: var(--bg2);
}

.projects-grid::-webkit-scrollbar-thumb {
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.project-card {
  background: rgba(15, 15, 46, 0.8);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.2s;
  flex: 0 0 320px;
  scroll-snap-align: start;
}

.project-card:hover {
  transform: translate(-3px, -3px);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-bricks {
  display: flex;
  gap: 5px;
}

.pb {
  width: 22px;
  height: 12px;
  border-radius: 1px;
}

.project-tag {
  font-family: var(--font-pixel);
  font-size: 0.38rem;
  color: var(--yellow);
  border: 2px solid var(--yellow);
  padding: 0.2rem 0.45rem;
}

.project-name {
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  color: var(--accent);
  text-shadow: 2px 2px 0 #7a001f;
  line-height: 1.5;
}

.project-desc {
  font-size: 1rem;
  color: var(--fg);
  opacity: 0.85;
  flex: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tech span {
  font-family: var(--font-pixel);
  font-size: 0.35rem;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 0.2rem 0.4rem;
  opacity: 0.85;
}

.project-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

/* ═══════════════════════════════════════════════
   CATALYST LOG (special situations book)
   Reuses the project scroller/cards; adds stats + thesis rows
   ═══════════════════════════════════════════════ */
#book {
  padding: 100px 2rem 80px;
}

.book-intro {
  max-width: 760px;
  margin-bottom: 1.8rem;
  font-size: 1.1rem;
  color: var(--fg);
}

.book-intro p {
  opacity: 0.85;
}

.book-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1rem;
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  color: var(--cyan);
}

.book-stats b {
  color: var(--yellow);
  font-weight: normal;
}

.book-ticker {
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--green);
  text-shadow: 0 0 6px var(--green);
}

.book-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.8rem;
  font-size: 0.95rem;
  border-top: 1px dashed var(--border);
  padding-top: 0.8rem;
}

.book-meta dt {
  font-family: var(--font-pixel);
  font-size: 0.35rem;
  color: var(--yellow);
  padding-top: 0.3rem;
}

.book-meta dd {
  opacity: 0.85;
}

.project-tech .book-status {
  color: var(--green);
  border-color: var(--green);
}

.book-note {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */
#contact {
  max-width: 100%;
  padding: 100px 2rem 80px;
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-intro {
  max-width: 600px;
  margin: 0 auto 1.8rem;
  font-size: 1.1rem;
  color: var(--fg);
  opacity: 0.7;
  text-align: center;
}

.contact-info {
  background: rgba(15, 15, 46, 0.8);
  padding: 1.5rem;
  border-radius: 2px;
  align-self: start;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 0.5rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  line-height: 1.4;
}

.contact-icon {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-list a {
  color: var(--cyan);
  text-decoration: none;
  font-size: 1rem;
  word-break: break-all;
  transition: color 0.15s;
}

.contact-list a:hover {
  color: var(--yellow);
  text-shadow: 0 0 8px var(--yellow);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
#footer {
  border-top: 3px solid var(--accent);
  padding: 2rem;
  text-align: center;
  background: var(--bg);
  position: relative;
}

.footer-paddle {
  width: 120px;
  height: 14px;
  background: var(--fg);
  border-radius: 3px;
  margin: 0 auto 1.2rem;
  box-shadow: 0 0 14px var(--cyan);
}

.footer-text {
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  color: var(--fg);
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 0.4rem;
}

/* ═══════════════════════════════════════════════
   CHAT WIDGET (Vedaant.EXE)
   ═══════════════════════════════════════════════ */
.chat-widget {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}

.chat-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg2);
  color: var(--fg);
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}

.chat-toggle-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.chat-panel {
  width: 320px;
  max-width: calc(100vw - 2.5rem);
  height: 440px;
  max-height: calc(100vh - 8rem);
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-panel[hidden] {
  display: none;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 2px solid var(--border);
  background: rgba(10, 10, 26, 0.6);
  flex-shrink: 0;
}

.chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

.chat-title {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan);
  flex: 1;
}

.chat-close {
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.1rem 0.3rem;
}

.chat-close:hover {
  color: var(--accent);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chat-msg {
  max-width: 85%;
  padding: 0.5rem 0.7rem;
  font-size: 0.95rem;
  line-height: 1.4;
  border-radius: 2px;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.chat-msg-bot {
  align-self: flex-start;
  background: rgba(255, 60, 110, 0.12);
  border: 1px solid var(--accent);
  color: var(--fg);
}

.chat-msg-user {
  align-self: flex-end;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid var(--cyan);
  color: var(--fg);
}

.chat-typing {
  opacity: 0.6;
}

.chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem;
  border-top: 2px solid var(--border);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 2px solid var(--border);
  color: var(--fg);
  padding: 0.5rem 0.6rem;
  font-family: var(--font-vt);
  font-size: 1rem;
}

.chat-input:focus {
  outline: none;
  border-color: var(--cyan);
}

.chat-input:disabled {
  opacity: 0.5;
}

.chat-send {
  cursor: pointer;
  flex-shrink: 0;
}

.chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── HAMBURGER (hidden on desktop) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET (≤900px)
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-photo {
    max-height: 460px;
  }
  .brick-grid {
    display: none;
  }
  #hero {
    justify-content: center;
    text-align: center;
  }
  .hero-lives {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤680px)
   ═══════════════════════════════════════════════ */
@media (max-width: 680px) {

  /* ── Nav ── */
  #navbar {
    padding: 0.75rem 1.2rem;
    flex-wrap: wrap;
    row-gap: 0;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-score {
    display: none;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 0 0.2rem;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-btn {
    font-size: 0.5rem;
    padding: 0.65rem 0.2rem;
    display: block;
  }

  /* ── Sections ── */
  section {
    padding: 80px 1.2rem 50px;
  }
  #about,
  #book,
  #contact {
    padding: 80px 1.2rem 50px;
  }

  /* ── Hero ── */
  #hero {
    padding: 0 1.2rem;
    min-height: 100svh;
    text-align: center;
    justify-content: center;
  }
  .hero-content {
    padding-top: 80px;
  }
  .hero-tag {
    font-size: 0.42rem;
    letter-spacing: 0.15em;
  }
  .hero-title {
    font-size: clamp(1.4rem, 9vw, 2.2rem);
  }
  .hero-sub {
    font-size: 0.38rem;
    letter-spacing: 0.1em;
  }
  .hero-lives {
    justify-content: center;
  }
  .btn-primary {
    font-size: 0.5rem;
    padding: 0.8rem 1.3rem;
  }

  /* ── Section headers ── */
  .section-title {
    font-size: clamp(0.75rem, 4.5vw, 1.1rem);
  }
  .section-num {
    font-size: 0.48rem;
  }

  /* ── About ── */
  .about-photo {
    max-height: 340px;
  }
  .about-interest-name {
    font-size: 0.42rem;
  }

  /* ── Projects ── */
  .project-card {
    flex-basis: 82vw;
  }
  .scroll-hint-inline {
    display: none;
  }
  .project-name {
    font-size: 0.6rem;
  }
  .project-tech span {
    font-size: 0.32rem;
  }

  /* ── Contact ── */
  .contact-list a {
    font-size: 0.95rem;
  }

  /* ── Footer ── */
  .footer-text {
    font-size: 0.38rem;
  }

  /* ── Chat widget ── */
  .chat-widget {
    right: 1rem;
    bottom: 1rem;
  }
  .chat-panel {
    width: calc(100vw - 2rem);
    height: 65vh;
  }
  .chat-toggle-label {
    display: none;
  }
}
