/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #f3f4f6;
  --card: #ffffff;
  --card-hover: #fafafa;
  --card-inner: #f3f4f6;
  --card-border: #e5e7eb;
  --text: #141414;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  --green: #22c55e;
  --radius-card: 24px;
  --radius-inner: 20px;
  --radius-pill: 100px;
  --radius-sm: 10px;
  --radius-logo: 12px;
  --max-width: 760px;
  --gap: 12px;
  --font-display: "Geist", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.08);
}

[data-theme="dark"] {
  --bg: #0a0a0a;
  --card: #1a1a1a;
  --card-hover: #222222;
  --card-inner: #222222;
  --card-border: #2a2a2a;
  --text: #f0f0f0;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.3);
}


html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}

.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 16px 48px;
}

/* ===== Status Bar ===== */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  margin-bottom: var(--gap);
  font-size: 13px;
  font-family: var(--font-display);
  color: var(--text-secondary);
}
.status-bar-left, .status-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-bar-left svg { flex-shrink: 0; }
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.theme-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.theme-toggle-track {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--card-inner);
  border: 1px solid var(--card-border);
  position: relative;
  display: block;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease;
}
.theme-toggle-input:checked + .theme-toggle-track .theme-toggle-thumb {
  transform: translateX(18px);
}
.theme-toggle-input:focus-visible + .theme-toggle-track {
  outline: 2px solid rgba(20, 20, 20, 0.18);
  outline-offset: 2px;
}
[data-theme="dark"] .theme-toggle-track {
  background: #202020;
}
[data-theme="dark"] .theme-toggle-thumb {
  background: #f0f0f0;
}

/* ===== Card ===== */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-bottom: var(--gap);
  box-shadow: var(--shadow-card);
  transition: background 0.3s, border-color 0.3s;
}

/* ===== Section Label ===== */
.section-label {
  display: inline-block;
  background: var(--card-inner);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-display);
  
  letter-spacing: 0em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-header .section-label { margin-bottom: 0; }
.section-link {
  font-size: 17px;
  color: var(--text-secondary);
  text-decoration: none;
}

/* ===== Text ===== */
.section-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.section-text:last-child { margin-bottom: 0; }
.snap-word {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  cursor: default;
}
.snap-word-base {
  visibility: hidden;
}
.snap-word-fragment {
  position: absolute;
  inset: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: transform 240ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 180ms ease;
  will-change: transform;
}
.snap-word-fragment-top {
  clip-path: polygon(0 0, 100% 0, 100% 44%, 0 58%);
  transform-origin: left center;
}
.snap-word-fragment-bottom {
  clip-path: polygon(0 58%, 100% 44%, 100% 100%, 0 100%);
  transform-origin: right center;
}
@keyframes snap-word-idle-top {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-0.2px, -0.3px) rotate(-0.4deg); }
  50% { transform: translate(0.15px, 0.2px) rotate(0.3deg); }
  75% { transform: translate(-0.15px, 0.15px) rotate(-0.2deg); }
}
@keyframes snap-word-idle-bottom {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(0.2px, 0.3px) rotate(0.4deg); }
  50% { transform: translate(-0.15px, -0.2px) rotate(-0.3deg); }
  75% { transform: translate(0.15px, -0.15px) rotate(0.2deg); }
}
.snap-word:not(:hover) .snap-word-fragment-top {
  animation: snap-word-idle-top 1.6s ease-in-out infinite;
}
.snap-word:not(:hover) .snap-word-fragment-bottom {
  animation: snap-word-idle-bottom 1.6s ease-in-out infinite;
}
.snap-word:hover .snap-word-fragment-top {
  animation: none;
  transform: translate(-1px, -4px) rotate(-7deg);
}
.snap-word:hover .snap-word-fragment-bottom {
  animation: none;
  transform: translate(1px, 4px) rotate(7deg);
}

/* ===== Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat-card {
  background: var(--card-inner);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 14px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  cursor: default;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: var(--text);
}

.stat-text-wrap,
.stat-card .tool-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-text {
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.2;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ===== Hero ===== */
.hero-card { padding: 26px 24px; }
.hero-layout {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
.hero-photo {
  flex-shrink: 0;
  width: 188px;
  height: 188px;
  border-radius: 20px;
  overflow: hidden;
}
.hero-photo-placeholder {
  background: #111;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    min-height: 0;
    gap: 10px;
    padding: 12px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-text {
    max-width: none;
    white-space: normal;
  }

  .hero-layout { flex-direction: column; align-items: center; text-align: center; }
  .hero-photo { width: 100%; max-width: 320px; height: 320px; }
  .hero-info { width: 100%; align-items: center; }
  .hero-copy { width: 100%; gap: 10px; }
  .hero-actions {
    width: 100%;
    justify-content: stretch;
    align-self: stretch;
    margin-top: 0;
  }
  .availability-pill { align-self: center; }
  .hero-name {
    font-size: clamp(22px, 6.4vw, 30px);
    white-space: nowrap;
    text-wrap: nowrap;
    text-align: center;
    line-height: 1;
    letter-spacing: -0.03em;
  }
  .hero-title {
    max-width: none;
    text-align: center;
    align-self: center;
    margin-top: 4px;
    margin-bottom: 2px;
  }
  .btn {
    flex: 1 1 0;
    justify-content: center;
  }
}

.hero-info {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 188px;
  flex: 1;
  min-width: 0;
}
@media (max-width: 560px) {
  .hero-info {
    min-height: auto;
    gap: 12px;
  }
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 400;
  font-family: var(--font-display);
  color: var(--text-secondary);
  width: fit-content;
}
.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-name {
  display: block;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(30px, 5.2vw, 52px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
  cursor: default;
  white-space: nowrap;
}
.hero-title {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 380px;
}
.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-self: flex-start;
  margin-top: auto;
  width: 100%;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 32px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid var(--card-border);
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-primary:hover { opacity: 0.85; }
.btn-secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--card-border);
}
.btn-secondary:hover {
  background: #27A7E7;
  border-color: #27A7E7;
  color: #ffffff;
}
.btn-secondary:hover svg {
  stroke: currentColor;
}

/* ===== Clients ===== */
.clients-card {
  overflow: hidden;
}
.clients-marquee {
  display: grid;
  gap: 15px;
  margin-top: 6px;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.clients-track {
  display: flex;
  width: max-content;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}
.clients-track:active {
  cursor: grabbing;
}
.clients-track span {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding-right: 0;
  margin-right: 0;
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  opacity: 0.9;
  flex: 0 0 auto;
}
@media (max-width: 760px) {
  .clients-marquee {
    gap: 12px;
  }
  .clients-track-left {
    animation-duration: 26s;
  }
  .clients-track-right {
    animation-duration: 42s;
  }
  .clients-track-third {
    animation-duration: 34s;
  }
  .clients-track span {
    font-size: 14px;
  }
}

/* ===== Projects ===== */
.projects-carousel {
  position: relative;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.projects-nav,
.projects-dots {
  display: none;
}
@media (max-width: 760px) {
  .projects-carousel {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .projects-grid {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    width: 100%;
    flex: 1;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .projects-grid::-webkit-scrollbar {
    display: none;
  }
  .projects-grid .project-card {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
  }
  .projects-nav {
    display: none;
  }
  .projects-nav:hover {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
  }
  .projects-nav-next.is-hinting {
    animation: carousel-next-nudge 1.9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  }
  .projects-nav-next:hover {
    animation-play-state: paused;
  }
  @keyframes carousel-next-nudge {
    0%, 100% { transform: translateX(0) scale(1); }
    16% { transform: translateX(0) scale(1); }
    28% { transform: translateX(8px) scale(1.18); }
    38% { transform: translateX(-2px) scale(0.96); }
    48% { transform: translateX(3px) scale(1.04); }
    58% { transform: translateX(0) scale(1); }
  }
  .projects-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
  }
  .projects-carousel + .projects-dots {
    width: 100%;
  }
  .projects-dots button {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    border: none;
    background: var(--card-border);
    padding: 0;
    cursor: pointer;
  }
  .projects-dots button.is-active {
    background: var(--text-secondary);
  }
}

.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--card-inner);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 8px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  align-self: stretch;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.project-card-img {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 4 / 3;
  min-width: 0;
  max-width: 100%;
  background: var(--card-inner);
  isolation: isolate;
}
.project-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
  pointer-events: none;
}
.project-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.08);
  transition: transform 0.25s ease;
}
.project-card:hover .project-card-img::after {
  background: rgba(0, 0, 0, 0.15);
}
.project-card:hover .project-card-img img {
  transform: scale(1.11);
}
.project-card-img-placeholder {
  background: #22c55e;
}
.project-card-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  inline-size: 100%;
  min-width: 0;
  min-height: 96px;
}
.project-card-text {
  flex: 1;
  min-width: 0;
  padding-right: 0;
}
.project-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-card-tag {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3em;
  color: #7a7a7a;
  margin-top: 2px;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card-arrow {
  width: 36px;
  min-width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--card-inner);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}
.project-card:hover .project-card-arrow {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  transform: translateX(2px);
}

/* ===== Experience ===== */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.exp-item {
  background: var(--card-inner);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-inner);
  padding: 20px;
}
.exp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.exp-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-logo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 16px;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.exp-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.exp-company {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}
.exp-role-badge {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
}
.exp-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 12px;
}
.education-desc {
  margin-top: 12px;
}
.exp-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--text-tertiary);
}
.exp-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 560px) {
  .exp-meta {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}

/* ===== Skills ===== */
.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card-inner);
  border: 1px solid var(--card-border);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ===== Tools ===== */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 560px) {
  .tools-grid { grid-template-columns: 1fr; }
}
.tool-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card-inner);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-inner);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s, transform 0.2s ease, box-shadow 0.2s ease;
}
.tool-item:hover {
  background: var(--card-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}
.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--card);
}
.project-award-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
}

.awards-years-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.awards-year-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: start;
}

.awards-year {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 300;
  color: var(--text);
}

.awards-year-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.awards-year-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
}

.awards-year-item strong {
  color: var(--text);
  font-weight: 600;
}

.awards-year-item:visited,
.awards-year-item:hover,
.awards-year-item:active {
  color: var(--text-secondary);
}

.awards-year-item:hover strong,
.awards-year-item:active strong {
  color: var(--text);
}

.awards-year-mark {
  width: 24px;
  flex: 0 0 24px;
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
}

@media (max-width: 560px) {
  .awards-year-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .awards-year {
    font-size: 22px;
  }
}
.tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tool-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-items: flex-start;
  justify-content: flex-start;
}
.tool-name { font-weight: 600; font-size: 14px; }
.tool-desc { font-size: 14px; color: var(--text-tertiary); }

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switcher-link {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lang-switcher-link.is-active,
.lang-switcher-link:hover {
  color: var(--text);
}

/* ===== Contact / Navigation ===== */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--card-inner);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-inner);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s;
  min-width: 0;
}
.contact-item:hover { background: var(--card-hover); }
.contact-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-tertiary);
  letter-spacing: -0.01px;
  min-width: 80px;
}
.contact-value {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: -0.01px;
}
.contact-arrow {
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.contact-item:hover .contact-arrow {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
@media (max-width: 560px) {
  .contact-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    grid-template-areas:
      "label arrow"
      "value arrow";
    align-items: center;
    gap: 4px 10px;
  }
  .contact-label {
    grid-area: label;
    min-width: 0;
  }
  .contact-value {
    grid-area: value;
    font-size: 14px;
    line-height: 1.35;
  }
  .contact-arrow {
    grid-area: arrow;
    margin-top: 0;
    align-self: center;
  }
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  font-size: 14px;
  color: var(--text-tertiary);
  padding-top: 24px;
}
.footer a { color: var(--text-tertiary); text-decoration: none; }
.footer a:hover { color: var(--text-secondary); }
.footer p { margin-bottom: 4px; }

/* ===== Emoji Cursor ===== */
.emoji-cursor {
  position: fixed;
  pointer-events: none;
  font-size: 24px;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.15s ease;
  user-select: none;
}
.emoji-cursor.visible { opacity: 1; }
@media (max-width: 768px) {
  .emoji-cursor { display: none; }
}

/* ===== Scroll Animations ===== */
.anim-item {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.anim-item.in-view {
  opacity: 1;
  transform: translateY(0);
}.bottom-reel {
  width: 100%;
  max-width: 760px;
  margin: 32px auto 0;
}

.bottom-reel-intro {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  text-align: center;
}

.bottom-reel-window {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-reel-single {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  text-align: center;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.bottom-reel-single.is-leaving {
  opacity: 0;
  transform: translateY(-4px);
}

.bottom-reel-single.is-entering {
  opacity: 0;
  transform: translateY(4px);
}

@media (max-width: 560px) {
  .bottom-reel {
    margin-top: 24px;
  }

  .bottom-reel-intro {
    font-size: 16px;
    line-height: 1.45;
  }

  .bottom-reel-window {
    height: 74px;
  }

  .bottom-reel-item {
    min-height: 62px;
    font-size: 18px;
  }
}
