/* Sebastien Thill - CV interactif
   Tailwind (CDN) gere la mise en page ; ici : tokens de theme, composants et impression. */

/* ------------------------------------------------------------------ */
/* Tokens de theme                                                     */
/* ------------------------------------------------------------------ */

:root {
  --bg: #f5f6fb;
  --bg-deep: #eceffa;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-soft: rgba(109, 40, 217, 0.05);
  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.16);
  --heading: #0f172a;
  --text: #3f4a5f;
  --text-muted: #5b6579;
  --text-faint: #8792a6;
  --accent: #6d28d9;
  --accent-2: #0e7490;
  --solar: #b45309;
  --shadow: 0 22px 60px -28px rgba(15, 23, 42, 0.4);
  --glow: 0 12px 30px -12px rgba(109, 40, 217, 0.5);
  --grid-line: rgba(15, 23, 42, 0.05);
  --star-opacity: 0;
}

html.dark {
  --bg: #04060f;
  --bg-deep: #070b18;
  --surface: rgba(7, 11, 24, 0.6);
  --surface-solid: #0c1226;
  --surface-soft: rgba(124, 92, 252, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --heading: #ffffff;
  --text: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  --accent: #7c5cfc;
  --accent-2: #22d3ee;
  --solar: #fbbf24;
  --shadow: 0 24px 70px -30px rgba(0, 0, 0, 0.9);
  --glow: 0 0 40px -8px rgba(124, 92, 252, 0.55);
  --grid-line: rgba(255, 255, 255, 0.028);
  --star-opacity: 1;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ------------------------------------------------------------------ */
/* Fond anime                                                          */
/* ------------------------------------------------------------------ */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
}

.starfield {
  position: absolute;
  inset: 0;
  opacity: var(--star-opacity);
  transition: opacity 0.4s ease;
  background-image: radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 75% 15%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 45% 70%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 88% 55%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 12% 82%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 62% 40%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 33% 12%, rgba(255, 255, 255, 0.35), transparent);
  background-size: 620px 620px;
  animation: twinkle 6s ease-in-out infinite alternate;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, black 10%, transparent 72%);
}

.orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  animation: drift 18s ease-in-out infinite;
}

.orb-a {
  top: -10rem;
  left: -10rem;
  height: 34rem;
  width: 34rem;
  background: color-mix(in srgb, var(--accent) 26%, transparent);
}

.orb-b {
  top: 22%;
  right: -13rem;
  height: 38rem;
  width: 38rem;
  background: color-mix(in srgb, var(--accent-2) 20%, transparent);
  animation-delay: 3s;
}

.orb-c {
  bottom: 0;
  left: 32%;
  height: 26rem;
  width: 26rem;
  background: color-mix(in srgb, var(--solar) 14%, transparent);
  animation-delay: 6s;
}

@keyframes twinkle {
  from {
    opacity: calc(var(--star-opacity) * 0.45);
  }
  to {
    opacity: calc(var(--star-opacity) * 0.9);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(30px, 40px, 0) scale(1.12);
  }
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px);
}

.brand-badge {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-family: "Sora", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--glow);
  transition: transform 0.2s ease;
}

.group:hover .brand-badge {
  transform: scale(1.06);
}

.brand-name {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--heading);
}

.brand-role {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-2);
}

.nav-link {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: var(--surface-soft);
  color: var(--heading);
}

.icon-btn {
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--accent-2);
  color: var(--heading);
}

.icon-btn.px-3 {
  width: auto;
}

.icon-sun {
  display: none;
}

html.dark .icon-sun {
  display: block;
}

html.dark .icon-moon {
  display: none;
}

/* ------------------------------------------------------------------ */
/* Boutons & typographie                                               */
/* ------------------------------------------------------------------ */

.btn-primary {
  display: inline-block;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  padding: 0.7rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--glow);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.7rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--accent-2);
  color: var(--heading);
  transform: translateY(-2px);
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 55%, var(--solar));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--solar);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--solar);
  box-shadow: 0 0 12px var(--solar);
}

.section-title {
  margin-top: 0.75rem;
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--heading);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-intro {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.card-title {
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
}

/* ------------------------------------------------------------------ */
/* Surfaces                                                            */
/* ------------------------------------------------------------------ */

.surface-card {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.stat-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.4rem;
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-2);
}

.highlight-card {
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  padding: 0.9rem 1.1rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.skill-group {
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
  backdrop-filter: blur(14px);
  transition: border-color 0.25s ease;
}

.skill-group:hover {
  border-color: var(--accent);
}

.list-item {
  display: flex;
  gap: 0.6rem;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.list-item::before {
  content: "";
  margin-top: 0.5rem;
  height: 4px;
  width: 4px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--accent-2);
}

.contact-pill {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.75rem 1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-pill:hover {
  border-color: var(--accent-2);
  color: var(--heading);
}

@media (min-width: 640px) {
  .contact-pill {
    font-size: 0.875rem;
  }
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-faint);
}

/* ------------------------------------------------------------------ */
/* Switch de profil                                                    */
/* ------------------------------------------------------------------ */

.profile-switch {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 42rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  margin-top: 1.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.375rem;
  backdrop-filter: blur(12px);
}

.switch-indicator {
  position: absolute;
  inset: 0.375rem auto 0.375rem 0.375rem;
  width: calc(50% - 0.375rem);
  border-radius: 0.75rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: var(--glow);
  transition: transform 0.3s ease;
}

.profile-tab {
  position: relative;
  z-index: 10;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

@media (min-width: 640px) {
  .profile-tab {
    font-size: 0.875rem;
  }
}

.profile-tab:hover {
  color: var(--heading);
}

.profile-tab[aria-selected="true"] {
  color: #fff;
}

/* ------------------------------------------------------------------ */
/* Timeline                                                            */
/* ------------------------------------------------------------------ */

.timeline-rail {
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent) 12%, var(--accent-2) 88%, transparent);
}

.timeline-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(14px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 34px -14px color-mix(in srgb, var(--accent) 75%, transparent);
}

.timeline-card.is-open {
  border-color: var(--accent-2);
}

.timeline-dot {
  position: absolute;
  top: 1.75rem;
  left: -1.6rem;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  border: 2px solid var(--accent);
  background: var(--bg);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 640px) {
  .timeline-dot {
    left: -2.1rem;
  }
}

.timeline-card.is-open .timeline-dot,
.timeline-card:hover .timeline-dot {
  transform: scale(1.3);
  border-color: var(--accent-2);
  box-shadow: 0 0 16px var(--accent-2);
}

.timeline-toggle {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  text-align: left;
  cursor: pointer;
}

.timeline-period {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
}

.timeline-role {
  display: block;
  margin-top: 0.375rem;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--heading);
}

.timeline-company {
  display: block;
  margin-top: 0.125rem;
  font-size: 13px;
  color: var(--text-muted);
}

.timeline-chevron {
  flex-shrink: 0;
  color: var(--text-faint);
  transition: transform 0.3s ease, color 0.3s ease;
}

.timeline-card.is-open .timeline-chevron {
  transform: rotate(180deg);
  color: var(--accent-2);
}

.timeline-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.timeline-card.is-open .timeline-body {
  grid-template-rows: 1fr;
}

.timeline-body > div {
  overflow: hidden;
}

.timeline-inner {
  border-top: 1px solid var(--border);
  padding: 1rem 1.4rem 1.4rem;
}

.detail-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--solar);
}

.detail-text {
  margin-top: 0.375rem;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.tech-badge {
  display: inline-block;
  cursor: default;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  padding: 0.25rem 0.6rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.tech-badge:hover {
  transform: translateY(-2px);
  border-color: var(--accent-2);
  color: var(--heading);
  box-shadow: 0 0 18px -4px var(--accent-2);
}

/* ------------------------------------------------------------------ */
/* Chat                                                                */
/* ------------------------------------------------------------------ */

.chat-dock {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.chat-panel {
  pointer-events: none;
  display: flex;
  width: min(23rem, calc(100vw - 2.5rem));
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface-solid) 96%, transparent);
  opacity: 0;
  transform: translateY(1rem) scale(0.95);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-panel.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
}

.chat-avatar {
  position: relative;
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
}

.chat-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  height: 0.7rem;
  width: 0.7rem;
  border-radius: 9999px;
  border: 2px solid var(--surface-solid);
  background: #34d399;
}

.chat-disclaimer {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--solar) 12%, transparent);
  padding: 0.5rem 1rem;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.chat-log {
  height: 17rem;
  overflow-y: auto;
  padding: 1rem;
}

.chat-log > * + * {
  margin-top: 0.75rem;
}

.chat-scroll::-webkit-scrollbar {
  width: 6px;
}

.chat-scroll::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background: var(--border-strong);
}

.chat-bubble {
  max-width: 88%;
  width: fit-content;
  border-radius: 1rem;
  padding: 0.6rem 0.9rem;
  font-size: 13px;
  line-height: 1.65;
}

.chat-bubble-bot {
  border-top-left-radius: 0.25rem;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
}

.chat-bubble-user {
  margin-left: auto;
  border-top-right-radius: 0.25rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  font-weight: 500;
  color: #fff;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
}

.chat-suggestion {
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  padding: 0.35rem 0.75rem;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.chat-suggestion:hover {
  border-color: var(--accent-2);
  color: var(--heading);
}

.chat-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  padding: 0.75rem;
}

.chat-input {
  min-width: 0;
  flex: 1;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

.chat-input:focus {
  border-color: var(--accent-2);
}

.chat-send {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.chat-send:hover {
  filter: brightness(1.1);
}

.chat-launcher {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  padding: 0.875rem 1.25rem 0.875rem 1rem;
  font-weight: 600;
  color: #fff;
  box-shadow: var(--glow);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.chat-launcher:hover {
  transform: scale(1.05);
}

.typing-dots {
  display: inline-flex;
  gap: 4px;
}

.typing-dots span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--accent-2);
  animation: typing 1s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* ------------------------------------------------------------------ */
/* Reveal                                                              */
/* ------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .orb,
  .starfield {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ------------------------------------------------------------------ */
/* Feuille CV imprimable (export PDF)                                  */
/* ------------------------------------------------------------------ */

#printSheet {
  display: none;
}

@media print {
  @page {
    size: A4;
    margin: 13mm 14mm;
  }

  /* Neutralise entierement le theme ecran pour le papier. */
  :root,
  html.dark {
    --bg: #ffffff;
    --bg-deep: #ffffff;
    --surface: #ffffff;
    --surface-solid: #ffffff;
    --surface-soft: #ffffff;
    --border: #d4d4d8;
    --border-strong: #d4d4d8;
    --heading: #111111;
    --text: #1a1a1a;
    --text-muted: #444444;
    --text-faint: #666666;
    --accent: #4c1d95;
    --accent-2: #4c1d95;
    --solar: #92400e;
    --shadow: none;
    --glow: none;
    --star-opacity: 0;
  }

  html,
  body {
    background: #fff !important;
    background-color: #fff !important;
    color: #1a1a1a !important;
  }

  #printSheet * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body > *:not(#printSheet) {
    display: none !important;
  }

  #printSheet {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 10pt;
    line-height: 1.45;
    color: #1a1a1a;
  }

  #printSheet a {
    color: #1a1a1a;
    text-decoration: none;
  }

  .pr-head {
    border-bottom: 2.5pt solid #4c1d95;
    padding-bottom: 8pt;
    margin-bottom: 12pt;
  }

  .pr-name {
    font-family: "Sora", sans-serif;
    font-size: 22pt;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    color: #1a1a1a;
  }

  .pr-role {
    font-family: "Sora", sans-serif;
    font-size: 12pt;
    font-weight: 600;
    color: #4c1d95;
    margin: 2pt 0 0;
  }

  .pr-contact {
    margin-top: 6pt;
    font-size: 9pt;
    color: #444;
  }

  .pr-contact span + span::before {
    content: " · ";
    color: #999;
  }

  .pr-section {
    margin-top: 12pt;
    break-inside: avoid;
  }

  .pr-section-title {
    font-family: "Sora", sans-serif;
    font-size: 10.5pt;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4c1d95;
    border-bottom: 0.6pt solid #d4d4d8;
    padding-bottom: 3pt;
    margin: 0 0 7pt;
  }

  .pr-summary {
    margin: 0;
    text-align: justify;
  }

  .pr-job {
    margin-bottom: 10pt;
    break-inside: avoid;
  }

  .pr-job-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10pt;
  }

  .pr-job-role {
    font-family: "Sora", sans-serif;
    font-size: 10.5pt;
    font-weight: 700;
    margin: 0;
  }

  .pr-job-period {
    font-family: "JetBrains Mono", monospace;
    font-size: 8.5pt;
    font-weight: 600;
    white-space: nowrap;
    color: #4c1d95;
  }

  .pr-job-company {
    font-size: 9.5pt;
    font-style: italic;
    color: #555;
    margin: 1pt 0 4pt;
  }

  .pr-list {
    margin: 0;
    padding-left: 12pt;
  }

  .pr-list li {
    margin-bottom: 2pt;
  }

  .pr-tech {
    margin-top: 4pt;
    font-family: "JetBrains Mono", monospace;
    font-size: 8pt;
    color: #555;
  }

  .pr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4pt 18pt;
  }

  .pr-skill-line {
    font-size: 9.5pt;
    margin-bottom: 2pt;
  }

  .pr-skill-line strong {
    font-family: "Sora", sans-serif;
    font-size: 9pt;
  }

  .pr-footer {
    margin-top: 14pt;
    border-top: 0.6pt solid #d4d4d8;
    padding-top: 5pt;
    font-size: 8pt;
    color: #777;
    text-align: center;
  }
}
