@charset "UTF-8";
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

main {
  max-width: 80rem;
  margin: 2rem auto;
}

/* Professional Summary */
.professional_summary {
  max-width: 80rem;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #fff;
  border-radius: 0.5rem;
}

.professional_summary h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.professional_summary hr {
  border: 0;
  height: 1px;
  background-color: #ccc;
  margin-bottom: 1rem;
}

.professional_summary p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Education */
.education {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e5e7eb;
  --card: #f8fafc;
  --accent: #16a34a;
  /* green-600 */
  max-width: 80rem;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background-color: var(--bg);
  color: var(--ink);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.education h2 {
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.75rem);
  line-height: 1.25;
  margin: 0 0 0.25rem;
  letter-spacing: 0.2px;
}

.education > hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
  margin: 0.75rem 0 1.5rem;
}

/* Grid layout for education cards */
.education_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 42rem) {
  .education_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 72rem) {
  .education_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.edu_item {
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem 1rem 1rem 1rem;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.edu_item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 40%);
  pointer-events: none;
}

.edu_header {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.edu_dot {
  flex: 0 0 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 0.4rem;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent);
}

.edu_title {
  font-weight: 700;
  color: var(--ink);
}

.edu_org,
.edu_dates {
  display: block;
  font-size: 0.95em;
  color: var(--muted);
  font-weight: 500;
}

.edu_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted);
  background: #fff;
}

.edu_notes {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (hover: hover) {
  .edu_item {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }
  .edu_item:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 10px 20px rgba(15, 23, 42, 0.06);
  }
}
/* Dark mode for education */
/* Impact Highlights */
.highlights .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 56rem) {
  .highlights .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.highlights .card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.highlights .card p {
  color: #475569;
}

/* Projects */
.projects .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 56rem) {
  .projects .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.projects .meta {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.projects ul {
  margin: 0.25rem 0 0 1rem;
}

.projects li {
  color: #475569;
}

/* ATS keywords */
.keywords .taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.keywords .taglist .badge {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.85rem;
  color: #475569;
}

/* Accordion styles */
.accordion {
  background: none;
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  padding: 1.25rem 0 0.5rem 2rem;
  font-size: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.accordion:hover {
  background-color: #ddd;
}

.accordion::before {
  content: "▶";
  position: absolute;
  left: 0.5rem;
  top: 1.1rem;
  font-size: 1rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.accordion.active::before {
  transform: rotate(90deg);
}

.panel {
  display: none;
  overflow: hidden;
  animation: fadeIn 0.3s;
}

.accordion.active + .panel {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  line-height: 1;
}

h3 {
  font-size: 1.75rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

header {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  grid-template-areas: "avatar name contact";
  align-items: center;
  gap: 1rem 1.25rem;
}

.resume_avatar-container {
  grid-area: avatar;
  width: 5rem;
  height: 5rem;
}

.resume_avatar {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.5rem;
}

.resume_header {
  grid-area: name;
  min-width: 0;
}

.resume_name {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem);
  line-height: 1.05;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.resume_title {
  display: block;
  font-size: clamp(0.95rem, 1vw + 0.5rem, 1.25rem);
  font-weight: 400;
  color: #475569;
  line-height: 1.2;
  margin: 0.25rem 0 0 0;
}

.resume_contact {
  grid-area: contact;
  text-align: right;
  color: #334155;
  font-size: 0.95rem;
}

.resume_contact p {
  margin: 0;
}

.resume_contact a {
  color: inherit;
  text-decoration: none;
}

.resume_contact a:hover,
.resume_contact a:focus {
  text-decoration: underline;
}

/* Tablet */
@media (max-width: 1024px) {
  header {
    grid-template-columns: 4.5rem 1fr;
    grid-template-areas: "avatar name" "contact contact";
  }
  .resume_avatar-container {
    width: 4.5rem;
    height: 4.5rem;
  }
  .resume_contact {
    text-align: left;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 1rem;
    margin-top: 0.5rem;
  }
}
/* Mobile */
@media (max-width: 640px) {
  header {
    grid-template-columns: 1fr;
    grid-template-areas: "avatar" "name" "contact";
    justify-items: center;
    text-align: center;
  }
  .resume_avatar-container {
    width: 4rem;
    height: 4rem;
  }
  .resume_contact {
    font-size: 0.95rem;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
/* Skills */
.skills {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e5e7eb;
  --card: #f8fafc;
  --accent: #7c3aed;
  /* violet-600 */
  /* usage hues */
  --fe: 212 100% 60%;
  /* blue */
  --be: 262 83% 60%;
  /* violet */
  --fs: 160 84% 40%;
  /* teal */
  --erp: 24 95% 53%;
  /* orange */
  max-width: 80rem;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background-color: var(--bg);
  color: var(--ink);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.skills > hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
  margin: 0.75rem 0 1.25rem;
}

/* Collapsible header */
.skills_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.skills_toggle {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid var(--line);
  background: linear-gradient(to bottom, #fff, color-mix(in srgb, #fff 80%, var(--card)));
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem;
  inline-size: 2rem;
  block-size: 2rem;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.skills_toggle .chevron {
  transition: transform 0.22s ease;
  transform-origin: 50% 50%;
}

.skills_toggle.open .chevron {
  transform: rotate(180deg);
}

.skills_toggle:hover,
.skills_toggle:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.skills_toggle:active {
  transform: translateY(1px);
}

/* Collapsible panel container (no animation to keep semantics of [hidden]) */
.skills_panel {
  margin-top: 0.25rem;
}

/* Subtle canvas gradient + sticky legend */
.skills {
  background: radial-gradient(1200px 600px at 20% -10%, color-mix(in srgb, var(--card) 65%, transparent), transparent), radial-gradient(900px 400px at 110% 10%, color-mix(in srgb, var(--card) 55%, transparent), transparent), var(--bg);
}

.skills .skill_legend {
  position: sticky;
  top: 0;
  padding: 1rem 0;
  z-index: 2;
  -webkit-backdrop-filter: saturate(120%) blur(2px);
          backdrop-filter: saturate(120%) blur(2px);
}

/* Legend chips */
.skill_legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.skill_legend .chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: hsla(0, 0%, 100%, 0.8);
  border: 1px solid var(--line);
}

.chip.fe {
  border-color: hsl(var(--fe)/0.35);
  color: hsl(var(--fe));
}

.chip.be {
  border-color: hsl(var(--be)/0.35);
  color: hsl(var(--be));
}

.chip.fs {
  border-color: hsl(var(--fs)/0.35);
  color: hsl(var(--fs));
}

.chip.erp {
  border-color: hsl(var(--erp)/0.35);
  color: hsl(var(--erp));
}

.skill_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 48rem) {
  .skill_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 80rem) {
  .skill_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* allow a card to span 2 columns at lg+ */
@media (min-width: 80rem) {
  .skill_grid {
    grid-auto-rows: 1fr;
  }
}
.skill_group {
  background: linear-gradient(to bottom right, color-mix(in srgb, var(--card) 92%, #fff 8%), var(--card));
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 1.1rem 1.1rem 0.9rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 12px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.skill_group h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.2px;
}

.subhead h4 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.group_desc {
  margin: 0.25rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.skill_subgroup + .skill_subgroup {
  border-top: 1px dashed color-mix(in srgb, var(--line) 85%, transparent);
  padding-top: 0.95rem;
  margin-top: 0.95rem;
}

/* Desc-first layout spacing */
.skill_subgroup .skill_desc {
  margin: 0.3rem 0 0.65rem;
  /* tighter top, room before badges */
  color: var(--muted);
}

.skill_subgroup .skill_tags {
  margin-top: 0.1rem;
  /* slight gap under desc */
}

.skill_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.55rem;
  row-gap: 0.6rem;
}

.badge {
  --ring: var(--line);
  display: inline-flex;
  align-items: center;
  gap: 0.45ch;
  font-size: 0.82rem;
  line-height: 1;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(to bottom, #fff, color-mix(in srgb, #fff 85%, var(--card)));
  border: 1px solid var(--ring);
  position: relative;
  white-space: nowrap;
  min-height: 2rem;
}

/* usage dots + color tints */
.badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--dot, hsl(0, 0%, 70%));
  box-shadow: 0 0 0 2px color-mix(in srgb, currentColor 0%, transparent 100%);
  margin-right: 0.25rem;
}

.badge.fe {
  --ring: hsl(var(--fe) / 0.25);
  --dot: hsl(var(--fe));
}

.badge.be {
  --ring: hsl(var(--be) / 0.25);
  --dot: hsl(var(--be));
}

.badge.fs {
  --ring: hsl(var(--fs) / 0.25);
  --dot: hsl(var(--fs));
}

.badge.erp {
  --ring: hsl(var(--erp) / 0.25);
  --dot: hsl(var(--erp));
}

.badge:is(:hover, :focus-visible) {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

/* Shared tooltip skin */
.tooltip-skin, .badge[data-usage]::after {
  background: #0f172a;
  color: #fff;
  padding: 0.5rem 0.6rem;
  border-radius: 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.3);
}

/* pure-CSS tooltip from data-usage */
.badge[data-usage]::after {
  content: attr(data-usage);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.badge:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Badge tooltips: merge 'what it is' + 'impact' */
.badge {
  position: relative;
}

.badge::after {
  /* Show only when the badge has either attribute */
  content: attr(data-info) "\a" attr(data-impact);
  white-space: pre-wrap;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) scale(0.97);
  background: #111827;
  color: #fff;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.72rem;
  line-height: 1.25;
  width: min(36ch, 78vw);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* show tooltip on hover or keyboard focus */
.badge:hover::after,
.badge:focus-visible::after,
.badge:active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Bigger hit area for accessibility */
.badge {
  outline: none;
}

.badge:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 40%, transparent);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .info::after,
  .badge::after {
    transition: none;
  }
}
/* Dark mode tweaks */
/* Shared section card layout (reuses theme vars) */
.section_cards {
  max-width: 80rem;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background: var(--bg, #fff);
  color: var(--ink, #0f172a);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.section_cards h2 {
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.75rem);
  margin-bottom: 0.25rem;
}

.section_cards > hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #e5e7eb, transparent);
  margin: 0.75rem 0 1.25rem;
}

.section_cards .card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

/* Subgroup header with info button */
.subhead {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.subhead h4,
.subhead h3 {
  margin: 0;
}

/* Info icon button with tooltip (CSS-only) */
.info {
  --size: 1.35rem;
  inline-size: var(--size);
  block-size: var(--size);
  border-radius: 50%;
  border: 1px solid var(--line);
  background: linear-gradient(to bottom, #fff, color-mix(in srgb, #fff 80%, var(--card)));
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}

.info svg {
  width: 0.95rem;
  height: 0.95rem;
  opacity: 0.8;
}

.info:hover,
.info:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.info:active {
  transform: translateY(1px);
}

/* Tooltip bubble for .info */
.info::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) scale(0.96);
  background: #0f172a;
  color: #fff;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  width: min(42ch, 82vw);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.info::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0f172a;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 1;
}

.info:hover::after,
.info:hover::before,
.info:focus-visible::after,
.info:focus-visible::before,
.info:active::after,
.info:active::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  z-index: 1000;
}

/* Badge tooltips: merge 'what it is' + 'impact' */
.badge {
  position: relative;
}

.badge::after {
  /* Show only when the badge has either attribute */
  content: attr(data-info) "\a" attr(data-impact);
  white-space: pre-wrap;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) scale(0.97);
  background: #111827;
  color: #fff;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.72rem;
  line-height: 1.25;
  width: min(36ch, 78vw);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
  /* ensure it appears above other content */
}

/* show tooltip on hover or keyboard focus */
.badge:hover::after,
.badge:focus-visible::after,
.badge:active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Bigger hit area for accessibility */
.badge {
  outline: none;
}

.badge:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 40%, transparent);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .info::after,
  .badge::after {
    transition: none;
  }
}
/* Dark mode tweaks */
/* Small screens: a touch more vertical rhythm under descriptions */
@media (max-width: 40rem) {
  .skill_subgroup .skill_desc {
    margin: 0.4rem 0 0.7rem;
  }
}
@media print {
  .skills {
    box-shadow: none;
    background: #fff;
  }
  .skill_group {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    box-shadow: none;
  }
  .info,
  .badge::after,
  .info::after {
    display: none !important;
  }
  #skills-panel[hidden] {
    display: block !important;
  }
}
.skills_divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
  margin: 0.75rem 0 1.25rem;
}

/* Selected Projects */
.projects {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e5e7eb;
  --card: #f8fafc;
  --accent: #7c3aed;
  max-width: 80rem;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background: var(--bg);
  color: var(--ink);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}
.projects h2 {
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.75rem);
  line-height: 1.25;
  margin: 0 0 0.25rem;
  letter-spacing: 0.2px;
}
.projects > hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
  margin: 0.75rem 0 1.5rem;
}

.projects .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .projects .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 80rem) {
  .projects .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.project_item {
  background: linear-gradient(to bottom right, color-mix(in srgb, var(--card) 92%, #fff 8%), var(--card));
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.project_item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.project_item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.project_item ul {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
}
.project_item ul li {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

@media (hover: hover) {
  .project_item {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }
  .project_item:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 10px 20px rgba(15, 23, 42, 0.06);
  }
}
@media print {
  .projects {
    box-shadow: none;
    background: #fff;
  }
  .project_item {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    box-shadow: none;
  }
}
/* Work History */
.work_history {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e5e7eb;
  --card: #f8fafc;
  --accent: #2563eb;
  --bullet-size: 0.6rem;
  --li-gap: 0.65rem;
  max-width: 80rem;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background-color: var(--bg);
  color: var(--ink);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  line-height: 1.6;
  font-size: clamp(0.95rem, 0.4vw + 0.9rem, 1.05rem);
  position: relative;
}

.work_history h2 {
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.75rem);
  line-height: 1.25;
  margin: 0 0 0.25rem;
  letter-spacing: 0.2px;
}

.work_history > hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
  margin: 0.75rem 0 1.5rem;
}

/* Job Card */
.work_history .job {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  margin: 2.5rem 0 2.5rem 0;
  padding: 2rem 2rem 1.5rem 3.5rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
  z-index: 1;
}

.work_history .job:hover {
  box-shadow: 0 6px 28px rgba(15, 23, 42, 0.12);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}

/* Job Title */
.work_history .job h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--ink);
  letter-spacing: 0.1px;
}

/* Job Description */
.work_history .job > p {
  margin: 0 0 1.1rem 0;
  color: var(--muted);
  font-size: 1.01em;
  font-weight: 500;
  max-width: 80ch;
}

/* Job Bullets */
.work_history .job ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 80ch;
}

.work_history .job ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.98em;
  line-height: 1.7;
  display: block;
}

.work_history .job ul li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.9em;
  transform: translateY(-50%);
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.9;
  box-shadow: 0 0 0 2px var(--card);
}

.work_history .job ul li + li {
  border-top: 1px dashed color-mix(in srgb, var(--line) 65%, transparent);
  margin-top: 0.6rem;
}

/* Responsive: stack and tighten for mobile */
@media (max-width: 600px) {
  .work_history {
    padding: 1.1rem 0.5rem;
  }
  .work_history .job {
    padding: 1.2rem 0.8rem 1.1rem 2.2rem;
    margin: 1.5rem 0;
  }
  .work_history .job::before {
    left: -1.2rem;
    top: 1.2rem;
    width: 0.8rem;
    height: 0.8rem;
  }
  .work_history .job ul li {
    padding-left: 1.1rem;
    font-size: 0.97em;
  }
  .work_history .job ul li::before {
    width: 0.5rem;
    height: 0.5rem;
    left: 0.1rem;
  }
}
/* Dark mode */
/* Paginated Certifications */
.certs .certs_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .certs .certs_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 80rem) {
  .certs .certs_grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.certs .cert_card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
}

.certs .cert_head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: flex-start;
  min-height: 100px;
}

.certs .issuer_logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #e5e7eb;
}

.certs .cert_title {
  font-weight: 700;
  line-height: 1.2;
}

.certs .issuer {
  color: #475569;
  font-weight: 600;
  font-size: 0.95rem;
}

.certs .dates {
  color: #64748b;
  font-size: 0.9rem;
}

.certs .desc {
  color: #475569;
  font-size: 0.95rem;
  min-height: 100px;
}

.certs .skills {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.25rem 0;
}

.certs .skills .badge {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.78rem;
  color: #475569;
}

.certs details.impact {
  margin-top: 0.25rem;
}

.certs details.impact summary {
  cursor: pointer;
  color: #2563eb;
  font-weight: 600;
}

details.impact summary {
  list-style: none;
  /* remove default marker */
  cursor: pointer;
}

details.impact summary::-webkit-details-marker {
  display: none;
  /* hide default chevron (Safari/Chrome) */
}

details.impact summary::before {
  content: "▸";
  /* custom arrow */
  display: inline-block;
  margin-right: 0.5em;
  /* space between arrow and text */
  transition: transform 0.2s ease;
}

details.impact[open] summary::before {
  transform: rotate(90deg);
  /* rotate arrow when expanded */
}

.certs .cred {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #64748b;
}

.certs .certs_pager {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.certs .pager_btn {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  color: #2563eb;
  font-weight: 600;
}

.certs .pager_btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.certs .pager_status {
  color: #475569;
  font-weight: 600;
}

@media (hover: hover) {
  .certs .cert_card {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }
  .certs .cert_card:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, #2563eb 30%, #e5e7eb);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 10px 20px rgba(15, 23, 42, 0.06);
  }
}
/* ===========================
   Footer Styles
   =========================== */
.footer {
  background-color: #0f172a;
  color: #f1f5f9;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}
.footer__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer__copy {
  flex: 1;
}
.footer__copy p {
  margin: 0;
  font-size: 0.85rem;
  color: #cbd5e1;
}
.footer__signature {
  flex: 1;
  text-align: center;
}
.footer__signature .signature {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fbbf24;
}
.footer__links {
  flex: 1;
  text-align: right;
}
.footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.footer__links a {
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.footer__links a:hover, .footer__links a:focus {
  color: #38bdf8;
}

/* ===========================
   Responsive Adjustments
   =========================== */
@media (max-width: 768px) {
  .footer__container {
    flex-direction: column;
    text-align: center;
  }
  .footer__links ul {
    justify-content: center;
  }
  .footer__signature {
    order: -1;
  }
}/*# sourceMappingURL=styles.css.map */