:root {
  --color-ink: #263f55;
  --color-muted: #516a7f;
  --color-border: #c9d6e2;
  --color-surface: #f8fafc;
  --color-section-bg: #e8eef5;
  --color-accent: #486780;
  --color-badge: #dce7f1;
  --color-badge-alt: #cbd9e6;
  --skill-card-bg: var(--color-surface);
  --skill-card-border: var(--color-border);
  --skill-heading: #2c455d;
  --skill-badge-border: #b6cadb;
  --skill-badge-text: var(--color-ink);
  --skill-card-accent: #829bb2;
  --personal-badge-odd: #135207;
  --personal-badge-even: #7ead05;
  --education-image-border: #7029b5;
}

html {
  scroll-padding-top: 60px;
  scroll-behavior: auto;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
.skip-link {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background-color: #263f55;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transform: translate(-50%, -200%);
}
.skip-link:focus, .skip-link:focus-visible {
  transform: translate(-50%, 0);
  color: #ffffff;
  outline: 3px solid #86b7fe;
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2f678f;
  outline-offset: 3px;
}

.professional-section {
  --pro-ink: var(--color-ink);
  --pro-muted: var(--color-muted);
  --pro-border: var(--color-border);
  --pro-card: var(--color-surface);
  --pro-accent: var(--color-accent);
  --pro-badge: var(--color-badge);
  color: var(--pro-ink);
  background-color: var(--color-section-bg);
  border-radius: 12px;
}
.professional-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
}
.professional-section .professional-intro {
  max-width: 740px;
  color: var(--pro-muted);
}
.professional-section .professional-subintro {
  color: var(--pro-muted);
}
.professional-section .pro-role {
  margin-bottom: 8px;
  color: var(--pro-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.professional-section .pro-card h4,
.professional-section .pro-card h5 {
  color: var(--pro-ink);
  font-weight: 700;
}
.professional-section .pro-challenge {
  background: #edf3f8;
  border-left: 3px solid #8ba5ba;
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
}
.professional-section .pro-challenge h5 {
  margin-bottom: 6px;
}
.professional-section .pro-challenge p {
  line-height: 1.5;
}
.professional-section .pro-attribution {
  color: var(--pro-muted);
  font-size: 0.85rem;
}

.skills-section .skill-card {
  background: var(--skill-card-bg);
  border: 1px solid var(--skill-card-border);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(42, 65, 86, 0.08);
  border-top: 3px solid var(--skill-card-accent);
}

.portfolio-section .card .card-body,
.professional-section .pro-card .card-body {
  color: var(--color-ink);
}
.portfolio-section .card .card-title,
.portfolio-section .card h4,
.portfolio-section .card h5,
.professional-section .pro-card .card-title,
.professional-section .pro-card h4,
.professional-section .pro-card h5 {
  color: var(--color-ink);
}
.portfolio-section .card .card-text,
.professional-section .pro-card .card-text {
  color: var(--color-muted);
  line-height: 1.6;
}

.professional-section .pro-card {
  background: var(--pro-card);
  border: 1px solid var(--pro-border);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(38, 63, 85, 0.08);
  overflow: hidden;
}
.professional-section .pro-card .card-body {
  padding: clamp(18px, 2.5vw, 26px);
}
.professional-section .pro-featured {
  border-top: 4px solid var(--pro-accent);
}
.professional-section .pro-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #edf2f6;
  border-bottom: 1px solid var(--pro-border);
}
@media (min-width: 768px) {
  .professional-section .pro-featured-img {
    height: 100%;
    min-height: 330px;
    aspect-ratio: auto;
    border-right: 1px solid var(--pro-border);
    border-bottom: 0;
  }
}

.skill-tag {
  background-color: var(--color-badge);
  color: var(--skill-badge-text);
  border: 1px solid var(--skill-badge-border);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}
.skill-tag:nth-child(even) {
  background-color: var(--color-badge-alt);
}

.professional-section .pro-skills li {
  color: var(--pro-ink);
  background: var(--pro-badge);
  border: 1px solid #b6cadb;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Mixed-image/video carousel used by each professional project */
.professional-section .pro-media-gallery {
  background: #e6edf4;
  border-bottom: 1px solid var(--pro-border);
  color: var(--pro-ink);
  min-width: 0;
}

.professional-section .pro-gallery-stage {
  width: 100%;
  aspect-ratio: 16/9;
  background: #dce5ed;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.professional-section .pro-gallery-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.professional-section .pro-gallery-caption {
  margin: 0;
  padding: 9px 12px 2px;
  color: var(--pro-ink);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 2em;
}

.professional-section .pro-gallery-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 5px 12px 12px;
}

.professional-section .pro-gallery-arrow {
  background: #fff;
  border: 1px solid #a8bacb;
  border-radius: 8px;
  color: #263f55;
  cursor: pointer;
  font-size: 1.35rem;
  height: 36px;
  line-height: 1;
  width: 42px;
}

.professional-section .pro-gallery-arrow:hover {
  background: #dce7f1;
}

.professional-section .pro-gallery-count {
  color: #415e77;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  min-width: 50px;
  text-align: center;
}

.professional-section .pro-gallery-thumbs {
  display: flex;
  gap: 9px;
  padding: 0 13px 13px;
  overflow-x: auto;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.professional-section .pro-gallery-thumb {
  position: relative;
  display: block;
  background: #f8fafc;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  flex: 0 0 76px;
  height: 55px;
  overflow: hidden;
  padding: 0;
}

.professional-section .pro-gallery-thumb.is-active {
  border-color: #304d67;
}

.professional-section .pro-gallery-thumb img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.professional-section .pro-gallery-video-mark {
  align-items: center;
  background: rgba(20, 35, 50, 0.72);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 11px;
  height: 22px;
  justify-content: center;
  left: calc(50% - 11px);
  position: absolute;
  top: calc(50% - 11px);
  width: 22px;
}

.professional-section .pro-gallery-arrow:focus-visible,
.professional-section .pro-gallery-thumb:focus-visible {
  outline: 3px solid #2f678f;
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .professional-section .pro-featured .pro-media-gallery {
    height: 100%;
    border-bottom: 0;
    border-right: 1px solid var(--pro-border);
  }
}
.portfolio-section {
  background-color: var(--color-section-bg);
  color: var(--color-ink);
  border-radius: 12px;
  margin-block: 1.5rem;
}
.portfolio-section h2 {
  color: var(--color-ink);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
}
.portfolio-section .portfolio-intro {
  color: var(--color-muted);
  max-width: 740px;
}
.portfolio-section .card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(38, 63, 85, 0.08);
  color: var(--color-ink);
  overflow: hidden;
}
.portfolio-section .card:hover, .portfolio-section .card:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 5px 16px rgba(38, 63, 85, 0.13);
}
.portfolio-section .card-img-top {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #edf2f6;
  border-bottom: 1px solid var(--color-border);
}
.portfolio-section .card-body {
  padding: clamp(18px, 2.5vw, 26px);
  text-align: left;
}
.portfolio-section .card-title {
  color: var(--color-ink);
  font-size: 1.25rem;
  font-weight: 700;
}
.portfolio-section .card-text {
  color: var(--color-muted);
  line-height: 1.6;
}
.portfolio-section .card-body h4 {
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.skills-section .skill-card h3 {
  color: var(--skill-heading);
  font-weight: 700;
}

.education-section .education-card {
  background-color: #f8fafc;
  border: 1px solid #c9d6e2;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(42, 65, 86, 0.08);
}
.education-section .education-year {
  color: #526e87;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.education-section h3 {
  color: #263f55;
  font-weight: 700;
}
.education-section .education-minor {
  color: #45637c;
  font-weight: 600;
}
.education-section .education-school {
  color: #526e87;
}
.education-section .education-summary {
  color: #344f68;
  line-height: 1.7;
}
.education-section .education-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 767px) {
  .education-section .education-card {
    padding: 1.25rem;
  }
}
.contact-section .contact-content {
  max-width: 850px;
}
.contact-section .contact-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(42, 65, 86, 0.08);
}
.contact-section h3 {
  color: var(--color-ink);
  font-weight: 700;
}
.contact-section .contact-intro {
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-inline: auto;
}
.contact-section .contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: 100%;
  min-height: 90px;
  padding: 1rem;
  background-color: #edf3f8;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-ink);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-section .contact-link:hover {
  background-color: #dce7f1;
  border-color: var(--color-accent);
  box-shadow: 0 3px 10px rgba(42, 65, 86, 0.12);
}
.contact-section .contact-link:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}
.contact-section .contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: #dce7f1;
  color: var(--color-ink);
  font-size: 1.5rem;
}
.contact-section .contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.contact-section .contact-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-ink);
}
.contact-section .contact-detail {
  font-size: 0.9rem;
  color: var(--color-muted);
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .contact-section .contact-card {
    padding: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-section .contact-link {
    transition: none;
  }
}
.site-footer {
  background-color: #dce5ee;
  border-top: 1px solid #c1cfda;
  color: var(--color-ink, #263f55);
  padding: 2rem 0 1.25rem;
}
.site-footer .footer-name {
  font-size: 1.1rem;
  font-weight: 700;
}
.site-footer .footer-subtitle {
  color: var(--color-muted, #516a7f);
  font-size: 0.875rem;
}
.site-footer .footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #344f68;
  font-weight: 600;
  text-decoration: none;
}
.site-footer .footer-links a:hover {
  text-decoration: underline;
}
.site-footer .footer-links a:focus-visible {
  outline: 3px solid #476f94;
  outline-offset: 4px;
  border-radius: 3px;
}
.site-footer .footer-links .footer-resume {
  background-color: #344f68;
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 8px;
}
.site-footer .footer-links .footer-resume:hover {
  background-color: #243c52;
}
.site-footer .footer-bottom {
  border-top: 1px solid #c1cfda;
  color: var(--color-muted, #516a7f);
  font-size: 0.8rem;
}

@media (max-width: 767px) {
  .site-footer .footer-brand {
    width: 100%;
    text-align: center;
  }
  .site-footer nav {
    width: 100%;
  }
  .site-footer .footer-links {
    justify-content: center;
  }
}

/*# sourceMappingURL=main.css.map */
