html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Inter", sans-serif;
  position: relative;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.brp-page-shell {
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.brp-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.brp-container--narrow {
  max-width: 64rem;
}

.brp-visible-section {
  display: block;
}

.text-gradient {
  background: linear-gradient(135deg, hsl(var(--gradient-start)), hsl(var(--gradient-mid)), hsl(var(--gradient-end)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.brp-quote-highlight {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: hsl(var(--primary) / 0.4);
}

.glass {
  background: hsl(var(--glass-bg));
  border: 1px solid hsl(var(--glass-border));
  border-radius: 1rem;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.brp-metallic-card {
  position: relative;
  padding: 1px;
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
  transition: transform 0.45s ease;
}

.brp-metallic-card__border,
.brp-metallic-card__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.brp-metallic-card__border {
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05), rgba(255,255,255,0.15));
  opacity: 0.6;
  transition: opacity 0.45s ease;
}

.brp-metallic-card__shine {
  background: linear-gradient(115deg, transparent 10%, rgba(255,255,255,0.16) 50%, transparent 90%);
  transform: translateX(-100%) rotate(15deg);
  opacity: 0;
  transition: opacity 0.7s ease;
}

.brp-metallic-card:hover .brp-metallic-card__border {
  opacity: 1;
}

.brp-metallic-card:hover .brp-metallic-card__shine {
  opacity: 1;
  animation: brp-shimmer 2s ease-in-out infinite;
}

.brp-metallic-card__inner {
  position: relative;
  height: 100%;
  border-radius: 15px;
  background: hsl(var(--glass-bg));
  border: 1px solid hsl(var(--glass-border));
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.brp-navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 2rem);
  max-width: 80rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--nav-border));
  background: hsl(var(--nav-bg));
  box-shadow: var(--nav-shadow);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.brp-navbar.is-scrolled {
  background: hsl(var(--background) / 0.6);
}

.brp-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  padding: 0 0.5rem;
}

.brp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brp-brand__logo {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.light .brp-brand__logo {
  filter: none;
}

.brp-brand:hover .brp-brand__logo {
  transform: scale(1.1) rotate(5deg);
}

.brp-brand__name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brp-navbar__desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.brp-navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brp-navbar__link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s ease, transform 0.3s ease;
}

.brp-navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: hsl(var(--primary));
  transition: width 0.3s ease;
}

.brp-navbar__link:hover {
  color: hsl(var(--foreground));
  transform: translateY(-1px);
}

.brp-navbar__link:hover::after {
  width: 100%;
}

.brp-navbar__actions,
.brp-navbar__mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brp-theme-toggle,
.brp-menu-toggle {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: hsl(var(--muted-foreground));
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.3s ease;
}

.brp-theme-toggle:hover,
.brp-menu-toggle:hover {
  color: hsl(var(--foreground));
}

.brp-theme-toggle:active,
.brp-menu-toggle:active {
  transform: scale(0.9);
}

.brp-theme-toggle svg,
.brp-menu-toggle svg {
  width: 16px;
  height: 16px;
}

.brp-menu-toggle svg {
  width: 24px;
  height: 24px;
}

.brp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  box-shadow: 0 12px 30px hsl(var(--primary) / 0.2);
  transition: transform 0.15s ease, box-shadow 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.brp-btn:hover {
  transform: translateY(-1px);
  background: hsl(var(--primary) / 0.9);
  box-shadow:
    0 4px 24px hsl(var(--primary) / 0.5),
    0 0 48px hsl(var(--primary) / 0.25);
}

.brp-btn:active {
  transform: scale(0.9);
}

.brp-btn--small {
  min-height: 2rem;
  padding: 0 1.25rem;
  font-size: 0.75rem;
}

.brp-btn--large {
  min-height: 3.5rem;
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

.brp-btn__icon svg {
  width: 18px;
  height: 18px;
}

.brp-mobile-menu {
  overflow: hidden;
  padding: 0.75rem 1.25rem 1.25rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
  border-radius: 0 0 1rem 1rem;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.brp-mobile-menu__links {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.brp-mobile-menu__link {
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s ease, transform 0.3s ease;
}

.brp-mobile-menu__link:hover {
  color: hsl(var(--foreground));
  transform: translateX(2px);
}

.brp-mobile-menu__cta {
  width: 100%;
}

.brp-hero,
.brp-contact {
  position: relative;
  overflow: hidden;
}

.brp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
}

@media (min-width: 640px) {
  .brp-hero {
    padding-top: 9rem;
  }
}

@media (min-width: 1024px) {
  .brp-hero {
    padding-top: 10rem;
  }
}

.brp-hero__video,
.brp-contact__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brp-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: hsl(var(--background) / 0.7);
}

.brp-hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8rem;
  z-index: 2;
  background: linear-gradient(to bottom, transparent, hsl(var(--background)));
}

.brp-hero__content,
.brp-contact__content {
  position: relative;
  z-index: 3;
}

.brp-hero__content {
  max-width: 48rem;
  text-align: center;
}

.brp-hero__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brp-hero__kicker {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.brp-section__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

.brp-hero__title,
.brp-section__title {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.brp-hero__title {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 7vw, 3.75rem);
}

.brp-section__title {
  font-size: clamp(1.875rem, 5vw, 3rem);
}

.brp-section__title > span:first-child {
  margin-right: 0.35rem;
}

.brp-hero__description,
.brp-section__description,
.brp-about-intro__copy p {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
}

.brp-hero__description {
  margin: 0 0 2.5rem;
  max-width: 42rem;
  font-size: 1rem;
}

@media (min-width: 1024px) {
  .brp-hero__description {
    font-size: 1.125rem;
  }
}

.brp-section {
  position: relative;
  padding: 4rem 0;
}

.brp-section--gradient::before,
.brp-section--soft::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.brp-section--gradient::before {
  background: linear-gradient(to bottom, transparent, hsl(var(--muted) / 0.2), transparent);
}

.brp-section--soft::before {
  background: linear-gradient(to bottom, transparent, hsl(var(--muted) / 0.1), transparent);
}

.brp-section__heading,
.brp-about-intro {
  position: relative;
  text-align: center;
  margin-bottom: 4rem;
}

.brp-section__heading--tight {
  margin-bottom: 1.5rem;
}

.brp-section__title--compact {
  margin-bottom: 1.5rem;
}

.brp-section__description {
  max-width: 42rem;
  margin: 1rem auto 0;
  font-size: 1.125rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.brp-hero__actions {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.brp-social-links,
.brp-contact-socials,
.brp-footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brp-social-links a,
.brp-contact-socials a,
.brp-footer__socials a,
.brp-project__link {
  color: hsl(var(--muted-foreground));
  transition: color 0.3s ease, transform 0.3s ease;
}

.brp-social-links a:hover,
.brp-contact-socials a:hover,
.brp-footer__socials a:hover,
.brp-project__link:hover {
  color: hsl(var(--primary));
  transform: translateY(-1px);
}

.brp-contact-socials a svg {
  width: 18px;
  height: 18px;
}

.brp-project-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.brp-project-card,
.brp-testimonial-card {
  transition: transform 0.35s ease;
}

.brp-project-card:hover,
.brp-testimonial-card:hover {
  transform: translateY(-6px);
}

.brp-project-card__meta,
.brp-project-card__footer,
.brp-timeline-item__period,
.brp-resume__label {
  display: flex;
  align-items: center;
}

.brp-project-card__meta {
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.brp-project-card__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary));
}

.brp-project-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

.brp-project-card__title,
.brp-timeline-item__title,
.brp-testimonial-card__name {
  margin: 0;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.brp-project-card__title {
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.brp-project-card:hover .brp-project-card__title {
  color: hsl(var(--primary));
}

.brp-project-card__description,
.brp-timeline-item__description,
.brp-testimonial-card__quote,
.brp-testimonial-card__title {
  color: hsl(var(--muted-foreground));
}

.brp-project-card__description {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  flex: 1;
}

.brp-project-card .brp-metallic-card__inner,
.brp-testimonial-card .brp-metallic-card__inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.brp-project-card__footer {
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.brp-project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.brp-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: hsl(var(--muted) / 0.6);
  border: 1px solid hsl(var(--border) / 0.4);
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}

.brp-portfolio-footer {
  margin-top: 3rem;
  text-align: center;
}

.brp-portfolio-footer__text {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.brp-portfolio-footer__link {
  margin: 0 0.35rem;
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.brp-about-intro {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5rem;
}

.brp-about-intro__copy {
  display: grid;
  gap: 1rem;
  text-align: left;
}

.brp-about-intro__copy p {
  margin: 0;
}

.brp-about-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.brp-about-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.brp-about-chip__icon {
  color: hsl(var(--primary));
}

.brp-about-chip__icon svg {
  display: block;
  flex-shrink: 0;
}

/* Skills marquee — matches Lovable SkillsMarquee (duration in SkillsMarquee.tsx transition.duration) */
.brp-marquee {
  --brp-marquee-duration: 40s;
  width: 100%;
  overflow: hidden;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  user-select: none;
}

.brp-marquee__track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2rem;
  width: max-content;
  min-width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: brp-marquee var(--brp-marquee-duration) linear infinite;
}

.brp-marquee__item {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground) / 0.4);
}

.brp-marquee__separator {
  display: inline-block;
  flex-shrink: 0;
  margin-left: 2rem;
  margin-right: 2rem;
  color: hsl(var(--primary) / 0.3);
}

.brp-resume {
  margin-top: 4rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.brp-resume__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.brp-resume__experience {
  min-width: 0;
}

.brp-resume__label {
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.brp-resume__label-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brp-resume__label h4 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.brp-timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid hsl(var(--border) / 0.5);
}

.brp-timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.brp-timeline-item:last-child {
  margin-bottom: 0;
}

.brp-timeline-item__marker {
  position: absolute;
  left: -1.5rem;
  top: 0.2rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 2px solid hsl(var(--primary) / 0.4);
  background: hsl(var(--background));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.brp-timeline-item__marker span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.6);
}

.brp-timeline-item__card {
  margin-left: 1rem;
}

.brp-timeline-item__card .brp-metallic-card__inner,
.brp-resume-card .brp-metallic-card__inner {
  padding: 1.25rem;
}

.brp-timeline-item__period {
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.brp-timeline-item__period svg {
  width: 13px;
  height: 13px;
}

.brp-timeline-item__title {
  font-size: 1rem;
}

.brp-timeline-item__company {
  margin: 0.25rem 0 0.5rem;
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 600;
}

.brp-timeline-item__description {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Lovable AboutSection: right column lg:col-span-2 space-y-10 — Education block, then Skills below */
.brp-resume__side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2.5rem;
  width: 100%;
  min-width: 0;
}

.brp-resume__education,
.brp-resume__skills {
  width: 100%;
  min-width: 0;
}

.brp-education-list {
  display: grid;
  gap: 1rem;
}

.brp-skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brp-skill-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--muted) / 0.4);
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.brp-skill-pill:hover {
  transform: translateY(-2px) scale(1.08);
  border-color: hsl(var(--primary) / 0.4);
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
}

.brp-testimonial-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.brp-testimonial-card .brp-metallic-card__inner {
  justify-content: space-between;
}

.brp-testimonial-card--featured .brp-metallic-card__inner {
  border-color: hsl(var(--primary) / 0.2);
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05), transparent);
  box-shadow: 0 0 30px hsl(var(--primary) / 0.08);
}

.brp-testimonial-card__quote {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
}

.brp-testimonial-card__meta {
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border) / 0.4);
}

.brp-testimonial-card__name {
  font-size: 0.875rem;
}

.brp-testimonial-card__title {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
}

.brp-contact {
  padding: 4rem 0;
}

.brp-contact__content > .brp-section__heading {
  margin-bottom: 3rem;
}

.brp-contact__video {
  opacity: 0.2;
}

.brp-contact__fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 8rem;
  z-index: 1;
}

.brp-contact__fade--top {
  top: 0;
  background: linear-gradient(to bottom, hsl(var(--background)), transparent);
}

.brp-contact__fade--bottom {
  bottom: 0;
  background: linear-gradient(to top, hsl(var(--background)), transparent);
}

.brp-contact-card {
  padding: 2rem;
}

.brp-contact-form {
  display: grid;
  gap: 1.25rem;
}

.brp-contact-form__row {
  display: grid;
  gap: 1.25rem;
}

.brp-contact-form__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.brp-contact-form__label-icon {
  display: inline-flex;
  align-items: center;
}

.brp-contact-form__label-icon svg {
  width: 13px;
  height: 13px;
}

.brp-contact-form__required {
  color: hsl(var(--destructive));
}

.brp-contact-form__input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--muted) / 0.3);
  color: hsl(var(--foreground));
  padding: 0.75rem 0.875rem;
  font-size: 0.875rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.brp-contact-form__input::placeholder {
  color: hsl(var(--muted-foreground) / 0.5);
}

.brp-contact-form__input:focus {
  outline: none;
  border-color: hsl(var(--primary) / 0.4);
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.2);
}

.brp-contact-form__textarea {
  resize: none;
}

.brp-contact-form__submit {
  width: 100%;
}

.brp-contact-socials {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border) / 0.4);
}

/* Collapsed when idle — no reserved gap under the contact form */
.brp-toast {
  margin: 0;
  padding: 0;
  max-height: 0;
  min-height: 0;
  overflow: hidden;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    max-height 0.3s ease,
    margin 0.3s ease;
  pointer-events: none;
}

.brp-toast.is-visible {
  margin-top: 1rem;
  max-height: 8rem;
  opacity: 1;
  transform: translateY(0);
  overflow: visible;
}

.brp-toast.is-success {
  color: hsl(var(--primary));
}

.brp-toast.is-error {
  color: hsl(var(--destructive));
}

.brp-footer {
  border-top: 1px solid hsl(var(--border) / 0.5);
  padding: 2.5rem 0;
}

.brp-footer__inner,
.brp-footer__brand,
.brp-footer__credit {
  display: flex;
  align-items: center;
}

.brp-footer__inner {
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.brp-footer__brand {
  gap: 0.5rem;
}

.brp-footer__logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  object-fit: contain;
}

.brp-footer__title {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brp-footer__year,
.brp-footer__credit {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.brp-footer__credit {
  gap: 0.35rem;
}

.brp-footer__credit a {
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.underline {
  text-decoration: underline;
}

.underline-offset-2 {
  text-underline-offset: 0.2rem;
}

.text-primary {
  color: hsl(var(--primary));
}

@keyframes brp-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes brp-shimmer {
  0% {
    transform: translateX(-100%) rotate(15deg);
  }
  100% {
    transform: translateX(100%) rotate(15deg);
  }
}

@media (min-width: 640px) {
  .brp-project-grid,
  .brp-contact-form__row,
  .brp-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brp-footer__inner {
    flex-direction: row;
  }

  .brp-about-intro__copy {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .brp-navbar {
    border-radius: 999px;
  }

  .brp-navbar__desktop {
    display: flex;
  }

  .brp-navbar__mobile {
    display: none;
  }
}

@media (min-width: 1024px) {
  .brp-section {
    padding: 6rem 0;
  }

  .brp-contact {
    padding: 6rem 0;
  }

  .brp-resume__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 3.5rem;
    align-items: start;
  }

  .brp-testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brp-contact-card {
    padding: 2.5rem;
  }
}

@media (max-width: 639px) {
  .brp-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brp-about-chips {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .brp-project-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.brp-section-heading__kicker {
  margin: 0 0 0.75rem;
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.brp-section-heading__description {
  max-width: 42rem;
  margin: 0 auto;
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.7;
}

.brp-project-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.brp-card {
  position: relative;
  padding: 1px;
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
  transition: transform 0.35s ease;
}

.brp-card:hover {
  transform: translateY(-6px);
}

.brp-card::before,
.brp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.brp-card::before {
  background: linear-gradient(to bottom right, rgba(255,255,255,0.2), rgba(255,255,255,0.05), rgba(255,255,255,0.15));
  opacity: 0.6;
  transition: opacity 0.5s ease;
}

.brp-card::after {
  background: linear-gradient(to top right, transparent, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transform: translateX(-100%) rotate(15deg);
  transition: opacity 0.7s ease;
}

.brp-card:hover::before {
  opacity: 1;
}

.brp-card:hover::after {
  opacity: 1;
  animation: brp-shimmer 2s ease-in-out infinite;
}

.brp-card__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  border-radius: 15px;
  border: 1px solid hsl(var(--glass-border));
  background: hsl(var(--glass-bg));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brp-card__inner--project,
.brp-card__inner--quote {
  padding: 1.5rem;
}

.brp-card__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.brp-card__icon-box,
.brp-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: hsla(var(--primary), 0.1);
  color: hsl(var(--primary));
}

.brp-card__icon-box {
  width: 2rem;
  height: 2rem;
}

.brp-card__category {
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brp-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}

.brp-card__description {
  margin: 0 0 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.7;
  flex-grow: 1;
}

.brp-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.brp-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  border: 1px solid hsla(var(--border), 0.4);
  background: hsla(var(--muted), 0.6);
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}

.brp-section-footer {
  margin-top: 3rem;
  text-align: center;
}

.brp-section-footer__text {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.brp-section-footer__link {
  color: hsl(var(--primary));
}

.brp-section-footer__link:hover {
  text-decoration: underline;
}

.brp-about-intro {
  max-width: 48rem;
  margin: 0 auto 5rem;
  text-align: center;
}

.brp-about-copy {
  display: grid;
  gap: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  text-align: left;
}

.brp-about-copy p {
  margin: 0;
}

.brp-about-chips {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.brp-about-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.brp-about-chip svg {
  color: hsl(var(--primary));
}

.brp-column-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.brp-heading-icon {
  width: 2.5rem;
  height: 2.5rem;
}

.brp-timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 1px solid hsla(var(--border), 0.5);
}

.brp-timeline__item {
  position: relative;
  margin-bottom: 2rem;
}

.brp-timeline__item:last-child {
  margin-bottom: 0;
}

.brp-timeline__dot {
  position: absolute;
  top: 0.25rem;
  left: calc(-0.75rem - 1.5px);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 2px solid hsla(var(--primary), 0.4);
  background: hsl(var(--background));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.brp-timeline__item:hover .brp-timeline__dot {
  border-color: hsl(var(--primary));
}

.brp-timeline__dot::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: hsla(var(--primary), 0.6);
  transition: background-color 0.3s ease;
}

.brp-timeline__item:hover .brp-timeline__dot::before {
  background: hsl(var(--primary));
}

.brp-timeline-card {
  margin-left: 1rem;
}

.brp-timeline-card__inner {
  padding: 1.25rem;
}

.brp-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  font-weight: 500;
}

.brp-timeline-card__title {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 1rem;
  font-weight: 700;
}

.brp-timeline-card__company {
  margin: 0.125rem 0 0.5rem;
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 600;
}

.brp-skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brp-skill-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  border: 1px solid hsla(var(--border), 0.6);
  background: hsla(var(--muted), 0.4);
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.brp-skill-pill:hover {
  border-color: hsla(var(--primary), 0.4);
  color: hsl(var(--primary));
  background: hsla(var(--primary), 0.05);
  transform: translateY(-2px) scale(1.08);
}

.brp-testimonials {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.brp-card--featured .brp-card__inner {
  border-color: hsla(var(--primary), 0.2);
  background: linear-gradient(to bottom right, hsla(var(--primary), 0.05), transparent), hsl(var(--glass-bg));
  box-shadow: 0 0 30px hsla(var(--primary), 0.08);
}

.brp-quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brp-quote-card__quote {
  margin: 0 0 1.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.75;
}

.brp-quote-card__highlight {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: hsla(var(--primary), 0.4);
}

.brp-quote-card__footer {
  padding-top: 1rem;
  border-top: 1px solid hsla(var(--border), 0.4);
}

.brp-quote-card__name {
  margin: 0 0 0.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.brp-quote-card__title {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}

.brp-contact__top-fade,
.brp-contact__bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 8rem;
  z-index: 1;
}

.brp-contact__top-fade {
  top: 0;
  background: linear-gradient(to bottom, hsl(var(--background)), transparent);
}

.brp-contact__bottom-fade {
  bottom: 0;
  background: linear-gradient(to top, hsl(var(--background)), transparent);
}

.brp-contact__container {
  position: relative;
  z-index: 2;
  max-width: 72rem;
}

.brp-glass-panel {
  border-radius: 1rem;
  border: 1px solid hsl(var(--glass-border));
  background: hsl(var(--glass-bg));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
}

.brp-contact-form {
  display: grid;
  gap: 1.25rem;
}

.brp-form-grid {
  display: grid;
  gap: 1.25rem;
}

.brp-form-field {
  display: grid;
  gap: 0.375rem;
}

.brp-form-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  font-weight: 500;
}

.brp-form-label .required {
  color: hsl(var(--destructive));
}

.brp-input,
.brp-textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid hsla(var(--border), 0.6);
  background: hsla(var(--muted), 0.3);
  color: hsl(var(--foreground));
  padding: 0.75rem 0.875rem;
  font-size: 0.875rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.brp-input::placeholder,
.brp-textarea::placeholder {
  color: hsla(var(--muted-foreground), 0.5);
}

.brp-input:focus,
.brp-textarea:focus {
  outline: none;
  border-color: hsla(var(--primary), 0.4);
  box-shadow: 0 0 0 2px hsla(var(--primary), 0.2);
}

.brp-textarea {
  min-height: 8rem;
  resize: none;
}

.brp-form-button {
  width: 100%;
}

.brp-form-button[disabled] {
  opacity: 0.8;
  cursor: wait;
}

.brp-form-status {
  min-height: 1.25rem;
  margin-top: 0.25rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  text-align: center;
}

.brp-form-status.is-error {
  color: hsl(var(--destructive));
}

.brp-form-status.is-success {
  color: hsl(var(--primary));
}

.brp-contact-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsla(var(--border), 0.4);
}

.brp-footer {
  border-top: 1px solid hsla(var(--border), 0.5);
  padding: 2.5rem 0;
}

.brp-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brp-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.brp-footer__logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  object-fit: contain;
}

.brp-footer__name {
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brp-footer__year,
.brp-footer__credit {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.brp-footer__credit-link {
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.brp-footer__credit-link:hover {
  color: hsl(var(--primary));
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes brp-marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes brp-shimmer {
  0% {
    transform: translateX(-100%) rotate(15deg);
  }
  100% {
    transform: translateX(100%) rotate(15deg);
  }
}

@keyframes brp-fade-in {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  .brp-project-grid,
  .brp-testimonials,
  .brp-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brp-footer__inner {
    flex-direction: row;
  }

  .brp-about-copy {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .brp-navbar {
    border-radius: 999px;
  }

  .brp-navbar__links,
  .brp-navbar__actions {
    display: flex;
  }

  .brp-navbar__mobile-actions,
  .brp-mobile-menu {
    display: none !important;
  }

  .brp-heading-xl {
    font-size: clamp(3rem, 6vw, 3.75rem);
  }
}

@media (min-width: 1024px) {
  .brp-section--portfolio,
  .brp-section--about,
  .brp-section--why,
  .brp-section--contact {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .brp-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .brp-resume__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 3.5rem;
    align-items: start;
  }

  .brp-testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brp-glass-panel {
    padding: 2.5rem;
  }
}

@media (max-width: 639px) {
  .brp-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brp-hero {
    padding-top: 8rem;
  }

  .brp-about-chips {
    gap: 1rem;
  }
}

/* Fallback blog / archive (index.php) */
.brp-index-post {
  padding: 3rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.35);
}

.brp-index-post:last-of-type {
  border-bottom: none;
}

.brp-index-post__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.brp-index-post__title a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.brp-index-post__content {
  max-width: 65ch;
  line-height: 1.65;
}

.brp-index-post__empty {
  padding: 3rem 0;
  margin: 0;
  opacity: 0.85;
}

.navigation.pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 4rem;
  font-weight: 600;
}
