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

:root {
  --bg: #f2f0ed;
  --tile: #e8e5e1;
  --text: #1a1a1a;
  --muted: #7a7672;
  --squircle: url(#squircle);
  --gap: 36px;
  --font: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ── Page layout ── */
.page {
  display: flex;
  gap: var(--gap);
  padding: 44px;
  height: 100vh;
  overflow: visible;
  align-items: center;
  justify-content: center;
}

/* ── Sidebar — same height as grid ── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  flex-shrink: 0;
  width: var(--sidebar-w);
  height: var(--grid-h);
}

.tile {
  background: var(--tile);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.photo-tile {
  /* height set by JS via --photo-h */
  height: var(--photo-h);
  flex-shrink: 0;
  background: #ede8e0;
  cursor: default;
}

.photo-tile canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 40px 14px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.photo-name {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.age-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.bio-tile {
  height: var(--bio-h);
  flex-shrink: 0;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  overflow-y: auto;
}
.bio-tile::-webkit-scrollbar { display: none; }
.bio-tile { -ms-overflow-style: none; scrollbar-width: none; }

.bio-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Hide bio text until teleprompter wraps words, preventing flash */
.bio-content.teleprompter-pending p {
  visibility: hidden;
}
.bio-content.teleprompter-ready p {
  visibility: visible;
}

.bio-headline {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -0.02em;
}

.bio-body {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
}

.bio-cta {
  color: var(--text);
  font-weight: 500;
}

/* Teleprompter word reveal */
.bio-word {
  display: inline;
  opacity: 0.35;
  filter: blur(1px);
  transition: opacity 0.5s ease, filter 0.5s ease;
}
.bio-word.revealed {
  opacity: 1;
  filter: blur(0);
}

/* Wave letter animation for special words */
.bio-wave-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.bio-wave-letter.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Social pills */
.socials {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-shrink: 0;
}

.social-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 0 12px;
  height: var(--pill-h, 44px);
  text-decoration: none;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 12px;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}

.social-pill:hover {
  background: #d8d4ce;
  transform: scale(1.02);
}

.social-pill svg { opacity: 0.4; transition: opacity 0.2s; }
.social-pill:hover svg { opacity: 0.8; }

/* ── Projects area wrapper ── */
.projects-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: var(--grid-h);
  min-width: 0;
}

/* ── View toggle icon ── */
.view-toggle-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--gap);
  padding: 5px 16px 5px 8px;
  background: var(--tile);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font);
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
  align-self: flex-start;
}
.view-toggle-icon:hover {
  background: #d8d4ce;
  transform: scale(1.03);
}
.view-toggle-icon:active {
  transform: scale(0.97);
}
.view-toggle-icon svg {
  flex-shrink: 0;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.view-toggle-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

/* SVG morph transitions */
#morphPath {
  transition: d 0.7s cubic-bezier(0.22, 1, 0.36, 1), stroke-width 0.5s ease;
}
#timelineDots {
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Project Grid ── */
.project-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: var(--row-h);
  gap: var(--gap);
  overflow: visible;
}

.tile-project {
  background: var(--tile);
  clip-path: var(--squircle);
  cursor: pointer;
  overflow: hidden;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
  will-change: transform, filter;
  position: relative;
}


/* Proximity hover is driven by JS — see script.js */

/* active press handled by JS for snappier response */


/* Active project LED */
.tile-led {
  position: absolute;
  top: 18%;
  right: 18%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6ee88c, #34c759 50%, #28a745);
  border: 1.5px solid rgba(255,255,255,0.7);
  box-shadow:
    0 0 6px 2px rgba(52, 199, 89, 0.45),
    0 0 12px 4px rgba(52, 199, 89, 0.2),
    inset 0 -1px 2px rgba(0,0,0,0.15);
  z-index: 3;
  animation: led-pulse 2s ease-in-out infinite;
}

@keyframes led-pulse {
  0%, 100% { box-shadow: 0 0 6px 2px rgba(52, 199, 89, 0.45), 0 0 12px 4px rgba(52, 199, 89, 0.2), inset 0 -1px 2px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 0 3px 1px rgba(52, 199, 89, 0.3), 0 0 6px 2px rgba(52, 199, 89, 0.1), inset 0 -1px 2px rgba(0,0,0,0.15); }
}


.tile-upcoming {
  background: repeating-linear-gradient(
    -45deg,
    var(--tile),
    var(--tile) 6px,
    #ddd9d4 6px,
    #ddd9d4 7px
  );
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: none;
}
.tile-upcoming:hover {
  transform: none;
  filter: none;
  background: repeating-linear-gradient(
    -45deg,
    var(--tile),
    var(--tile) 6px,
    #ddd9d4 6px,
    #ddd9d4 7px
  );
}
.tile-upcoming-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  opacity: 0.5;
  letter-spacing: 0.08em;
}

/* Shadow wrapper sits between tile bg and clipped image */
.tile-img-wrap {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  filter: drop-shadow(-4px 4px 6px rgba(0,0,0,0.25)) drop-shadow(-1px 2px 3px rgba(0,0,0,0.12));
}

/* img-wrap proximity expansion driven by JS custom properties */

.tile-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  clip-path: var(--squircle);
  filter: grayscale(1);
}

/* grayscale driven by JS proximity */

/* ── Overlay ── */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  background: rgba(242, 240, 237, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.overlay.active {
  pointer-events: auto;
  opacity: 1;
}

/* ── Card wrapper (holds card + nav buttons, receives offset transform) ── */
.card-wrapper {
  position: relative;
  width: 500px;
}

/* ── Card nav buttons (prev/next) ── */
.card-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: rgba(0,0,0,0.08);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 101;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
  opacity: 0;
  pointer-events: none;
}
.overlay.active .card-nav { opacity: 1; pointer-events: auto; }
.card-nav:hover { transform: translateY(-50%) scale(1.08); }
.card-nav:active { transform: translateY(-50%) scale(0.93); }
.card-nav.disabled { opacity: 0.15; pointer-events: none; }

.card-nav-prev { left: -62px; }
.card-nav-next { right: -62px; }

/* ── Undercard (full duplicate, hidden by default, mobile only) ── */
.card.card-undercard {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  transform: scale(0.96) translateY(6px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
}

/* ── Card — 3D flip container ── */
.card {
  width: 100%;
  perspective: 1200px;
  position: relative;
  z-index: 1;
  background: transparent;
  border-radius: 22px;
}

.overlay.active .card {
  opacity: 1;
}

.card-inner {
  position: relative;
  transition: transform 0.5s var(--ease);
  transform-style: preserve-3d;
}

.card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-face {
  padding: 32px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 32px 96px rgba(0,0,0,0.13), 0 8px 28px rgba(0,0,0,0.05);
  backface-visibility: hidden;
  overflow: hidden;
}

.card-front {
  position: relative;
}

.card-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  overflow-y: auto;
}
.card-back::-webkit-scrollbar { display: none; }
.card-back { -ms-overflow-style: none; scrollbar-width: none; }

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.card-year {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
  display: block;
}

.card-btn {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: none;
  background: var(--text);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.card-btn:hover { transform: scale(1.08); }
.card-btn:active { transform: scale(0.93); }

.card-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 22px;
}

.card-desc a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(26,26,26,0.25);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}
.card-desc a:hover {
  text-decoration-color: rgba(26,26,26,0.7);
}

.card-image {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 13px;
  overflow: hidden;
  background: var(--tile);
}
.card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Single link (when only 1 link) */
.card-single-link {
  display: none;
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  border-radius: 13px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.card-single-link:hover { background: #e0dcd7; }
.card-single-link:active { transform: scale(0.98); }
.card-single-link.visible { display: block; }

/* See more button */
.card-see-more {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  border: none;
  border-radius: 13px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.card-see-more:hover { background: #e0dcd7; }
.card-see-more:active { transform: scale(0.98); }

/* Links (back face) */
.card-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: var(--bg);
  border-radius: 13px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.card-link:hover { background: #e8e4df; transform: translateX(4px); }
.card-link svg { opacity: 0.3; transition: opacity 0.2s, transform 0.2s; }
.card-link:hover svg { opacity: 0.7; transform: translateX(2px); }

/* ── Age chip interactive ── */
.age-chip {
  pointer-events: auto;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}
.age-chip:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.08);
}
.age-chip.active {
  background: rgba(255,255,255,0.5);
}

/* ── Timeline ── */
.timeline {
  flex: 1;
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.timeline.visible {
  display: flex;
  opacity: 1;
}
.project-grid {
  transition: opacity 0.3s var(--ease);
}
.project-grid.hidden {
  display: none !important;
}

.timeline-content {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 32px;
  overflow-y: auto;
}
.timeline-content::-webkit-scrollbar { display: none; }
.timeline-content { -ms-overflow-style: none; scrollbar-width: none; }

/* Vertical year gridlines */
.timeline-gridlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
}
.timeline-gridline {
  flex: 1;
  border-left: 1px solid rgba(0,0,0,0.05);
}
.timeline-gridline:last-child {
  border-right: 1px solid rgba(0,0,0,0.05);
}

.timeline-row {
  display: flex;
  align-items: center;
  height: 28px;
  position: relative;
  flex-shrink: 0;
}

.timeline-bar {
  position: absolute;
  height: 100%;
  border-radius: 6px;
  background: var(--tile);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0 10px;
  overflow: visible;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease), filter 0.2s var(--ease);
  filter: grayscale(1);
}
.timeline-bar:hover {
  background: #d5d0ca;
  transform: scaleY(1.15);
  filter: grayscale(0);
  z-index: 2;
}
.timeline-bar.active-bar {
  background: #34c759;
  filter: none;
}
.timeline-bar.active-bar:hover {
  background: #2db84e;
}
.timeline-bar.active-bar .timeline-bar-label {
  color: #fff;
  opacity: 1;
}
.timeline-bar:active {
  transform: scaleY(0.95);
}

.timeline-bar-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  opacity: 0.7;
}
.timeline-bar:hover .timeline-bar-label {
  opacity: 1;
  font-weight: 600;
}

/* Year axis */
.timeline-axis {
  display: flex;
  flex-shrink: 0;
  position: relative;
}
.timeline-axis-label {
  flex: 1;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  padding-left: 4px;
}

/* ── Swipe hint (mobile only) ── */
.swipe-hint {
  display: none;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  opacity: 0;
  pointer-events: none;
  letter-spacing: 0.02em;
  margin-top: 24px;
}

::selection { background: rgba(26,26,26,0.1); }

/* ── Mobile responsive ── */

@media (max-width: 768px) {
  :root {
    --gap: 12px;
  }

  html, body {
    height: auto;
    overflow: auto;
  }

  .page {
    flex-direction: column;
    height: auto;
    overflow: visible;
    padding: 16px;
    align-items: stretch;
  }

  .sidebar {
    width: 100% !important;
    height: auto !important;
    flex-shrink: 0;
  }

  .photo-tile {
    height: 340px !important;
  }

  .bio-tile {
    height: auto !important;
    padding: 20px;
  }

  .bio-headline {
    font-size: 1.15rem;
    line-height: 1.45;
  }

  .bio-body {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .bio-cta {
    font-size: 0.88rem;
  }

  .socials {
    flex-direction: row;
  }

  .social-pill {
    flex: 1;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
    height: 42px !important;
    border-radius: 10px;
    font-size: 0.78rem;
  }

  .projects-area {
    height: auto !important;
  }

  .project-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: calc((100vw - 32px - 24px) / 3);
  }

  .view-toggle-icon {
    align-self: stretch;
    justify-content: center;
  }

  .timeline {
    height: auto !important;
  }

  /* ── Vertical mobile timeline ── */
  .timeline-vertical {
    display: flex;
    flex-direction: column;
    padding-left: 24px;
    position: relative;
  }

  /* Vertical line */
  .timeline-vertical::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    border-radius: 1px;
    background: rgba(0,0,0,0.08);
  }

  .tl-v-year {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    padding: 14px 0 6px;
    position: relative;
  }

  .tl-v-year::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.12);
    background: var(--bg);
    transform: translateY(-50%);
  }

  .tl-v-item {
    padding: 10px 14px;
    margin: 3px 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    background: var(--tile);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s var(--ease), transform 0.15s var(--ease);
  }

  .tl-v-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted);
  }

  .tl-v-item:active {
    transform: scale(0.97);
  }

  .tl-v-active {
    background: #34c759;
    color: #fff;
  }

  .tl-v-active::before {
    background: #34c759;
    width: 8px;
    height: 8px;
  }

  /* Card overlay on mobile — fixed height for consistent card stack */
  .card {
    width: 100%;
    height: 78vh;
    perspective: none;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  }

  .card-inner {
    transform-style: flat;
    height: 100%;
  }

  .card.flipped .card-inner {
    transform: none;
  }

  .card-face {
    backface-visibility: visible;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .card-front .card-desc {
    flex-shrink: 0;
  }

  .card-front .card-image {
    flex: 1;
    min-height: 0;
    aspect-ratio: unset !important;
  }

  .card-front .card-see-more,
  .card-front .card-single-link {
    flex-shrink: 0;
  }

  /* Hide front, show back via opacity on mobile */
  .card-front {
    transition: opacity 0.3s var(--ease);
  }
  .card.flipped .card-front {
    opacity: 0;
    pointer-events: none;
  }

  .card-back {
    transform: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .card.flipped .card-back {
    opacity: 1;
    pointer-events: auto;
  }

  /* Hide nav arrows on mobile — swipe instead */
  .card-nav { display: none; }

  .swipe-hint { display: block; }

  /* Mobile card wrapper */
  .card-wrapper {
    width: calc(100vw - 32px);
    max-width: 500px;
  }

  /* Undercard: full card clone behind main card */
  .card.card-undercard {
    display: block;
    visibility: hidden;
    position: absolute;
  }
}

@media (max-width: 480px) {
  .photo-tile {
    height: 300px !important;
  }

  .project-grid {
    grid-auto-rows: calc((100vw - 32px - 24px) / 3);
  }
}

/* ── Large screens ── */
@media (min-width: 1728px) {
  .page {
    padding: 52px;
    gap: 44px;
  }

  .bio-tile {
    padding: 28px;
  }

  .bio-content {
    gap: 16px;
  }

  .bio-headline {
    font-size: 1.2rem;
  }

  .bio-body {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .social-pill {
    height: 48px;
    padding: 0 16px;
    font-size: 0.84rem;
    border-radius: 14px;
  }

  .photo-name {
    font-size: 0.88rem;
    height: 34px;
    padding: 0 14px;
  }

  .age-chip {
    font-size: 0.78rem;
    min-width: 36px;
    height: 28px;
  }
}

@media (min-width: 1920px) {
  .page {
    padding: 64px;
    gap: 52px;
  }

  .bio-tile {
    padding: 34px;
  }

  .bio-content {
    gap: 18px;
  }

  .bio-headline {
    font-size: 1.35rem;
  }

  .bio-body {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .social-pill {
    height: 54px;
    padding: 0 20px;
    font-size: 0.9rem;
    gap: 8px;
    border-radius: 16px;
  }

  .socials {
    gap: 10px;
  }

  .photo-name {
    font-size: 0.95rem;
    height: 38px;
    padding: 0 16px;
    top: 18px;
    left: 18px;
  }

  .age-chip {
    font-size: 0.84rem;
    min-width: 40px;
    height: 30px;
    padding: 0 11px;
  }
}
