:root {
  --pf-bg: #0b1220;
  --pf-bg-soft: #111a2b;
  --pf-panel: rgba(11, 18, 32, 0.72);
  --pf-panel-strong: rgba(10, 17, 30, 0.9);
  --pf-border: rgba(255, 255, 255, 0.15);
  --pf-text: #edf3ff;
  --pf-muted: #afbdd3;
  --pf-accent: #ff9f1c;
  --pf-accent-soft: #ffd08a;
  --pf-shadow: 0 16px 46px rgba(0, 0, 0, 0.32);
}

body.portfolio-refresh {
  font-family: "Manrope", "Poppins", sans-serif;
  color: var(--pf-text);
  background:
    radial-gradient(950px 480px at 8% 0%, rgba(255, 159, 28, 0.14), transparent 62%),
    radial-gradient(780px 420px at 92% 100%, rgba(255, 208, 138, 0.1), transparent 64%),
    var(--pf-bg);
}

body.portfolio-refresh h1,
body.portfolio-refresh h2,
body.portfolio-refresh h3,
body.portfolio-refresh h4,
body.portfolio-refresh .brand-name,
body.portfolio-refresh .project-title {
  font-family: "Space Grotesk", "Montserrat", sans-serif;
  letter-spacing: 0.01em;
}

body.portfolio-refresh .animsition {
  background:
    radial-gradient(460px 280px at 75% 0%, rgba(255, 159, 28, 0.09), transparent 70%),
    linear-gradient(168deg, #0b1220 0%, #111b2c 55%, #122033 100%);
}

body.portfolio-refresh .navbar {
  padding-top: 1.7rem;
  padding-bottom: 1.7rem;
}

body.portfolio-refresh .navbar-bg {
  height: 0;
  background: rgba(10, 16, 26, 0.66);
  border-bottom: 1px solid var(--pf-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.portfolio-refresh .navbar-fixed .navbar-bg {
  height: 100%;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

body.portfolio-refresh .brand img,
body.portfolio-refresh .brand .brand-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.09);
}

body.portfolio-refresh .brand-name {
  font-size: 1.15rem;
  font-weight: 700;
}

body.portfolio-refresh .contacts .contact-item,
body.portfolio-refresh .copy,
body.portfolio-refresh .copy-bottom {
  color: var(--pf-muted);
}

body.portfolio-refresh .contacts .contact-item a {
  color: #d8e6ff;
}

body.portfolio-refresh .contacts .contact-item a:hover {
  color: var(--pf-accent);
  text-decoration: none;
}

body.portfolio-refresh .navbar-toggle .icon-bar {
  background-color: #eff6ff;
}

body.portfolio-refresh .navbar-toggle:hover .icon-bar {
  background-color: var(--pf-accent);
}

body.portfolio-refresh .menu {
  background: var(--pf-panel-strong);
  border-left: 1px solid var(--pf-border);
}

body.portfolio-refresh .close-menu:hover {
  color: var(--pf-accent);
}

body.portfolio-refresh .menu-list {
  font-family: "Space Grotesk", "Montserrat", sans-serif;
  letter-spacing: 0;
}

body.portfolio-refresh .menu-list li a {
  color: #95a6c0;
}

body.portfolio-refresh .menu-list .active > a,
body.portfolio-refresh .menu-list li a:hover,
body.portfolio-refresh .text-primary,
body.portfolio-refresh .resume-type,
body.portfolio-refresh .project-number {
  color: var(--pf-accent) !important;
}

body.portfolio-refresh .menu-footer .social-list a,
body.portfolio-refresh .social-list a {
  color: #dce8ff;
}

body.portfolio-refresh .menu-footer .social-list a:hover,
body.portfolio-refresh .social-list a:hover {
  color: var(--pf-accent);
}

body.portfolio-refresh .section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 11, 17, 0.28), rgba(7, 11, 17, 0.68));
  pointer-events: none;
}

body.portfolio-refresh .section-1 .section-bg::after {
  background:
    radial-gradient(700px 340px at 18% 20%, rgba(255, 159, 28, 0.2), transparent 70%),
    linear-gradient(to bottom, rgba(7, 11, 17, 0.18), rgba(7, 11, 17, 0.74));
}

body.portfolio-refresh .display-2 {
  line-height: 1.05;
  margin-bottom: 1.2rem;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.36);
}

body.portfolio-refresh .popup-youtube,
body.portfolio-refresh .view-all a,
body.portfolio-refresh .btn,
body.portfolio-refresh .view-portfolio-link,
body.portfolio-refresh .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 159, 28, 0.55);
  background: rgba(255, 159, 28, 0.13);
  color: #f5fbff;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 11px 22px;
  transition: all 0.2s ease;
}

body.portfolio-refresh .popup-youtube:hover,
body.portfolio-refresh .view-all a:hover,
body.portfolio-refresh .btn:hover,
body.portfolio-refresh .view-portfolio-link:hover,
body.portfolio-refresh .hero-pill:hover,
body.portfolio-refresh .popup-youtube:focus,
body.portfolio-refresh .view-all a:focus,
body.portfolio-refresh .btn:focus,
body.portfolio-refresh .view-portfolio-link:focus,
body.portfolio-refresh .hero-pill:focus {
  border-color: var(--pf-accent-soft);
  background: rgba(255, 159, 28, 0.24);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(255, 159, 28, 0.22);
}

body.portfolio-refresh .view-all {
  margin-top: 2.8rem;
}

body.portfolio-refresh .view-all a::before {
  display: none;
}

body.portfolio-refresh .row-specialization .col-specialization,
body.portfolio-refresh .resume-content,
body.portfolio-refresh .experience-box,
body.portfolio-refresh .contact-info,
body.portfolio-refresh .review-row,
body.portfolio-refresh .project-detail-row,
body.portfolio-refresh .col-project-info {
  background: var(--pf-panel);
  border: 1px solid var(--pf-border);
  border-radius: 16px;
  box-shadow: var(--pf-shadow);
}

body.portfolio-refresh .row-specialization {
  margin: 0 -0.75rem;
}

body.portfolio-refresh .row-specialization .col-specialization {
  padding: 1.35rem;
  margin-bottom: 1rem;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

body.portfolio-refresh .row-specialization .col-specialization ul {
  margin: 0;
  padding-left: 1.1rem;
}

body.portfolio-refresh .row-specialization .col-specialization:hover {
  border-color: rgba(255, 159, 28, 0.54);
  transform: translateY(-4px);
}

body.portfolio-refresh .icon-specialization {
  color: var(--pf-accent);
}

body.portfolio-refresh .resume-header {
  top: 2.5rem;
}

body.portfolio-refresh .resume-content {
  overflow: hidden;
}

body.portfolio-refresh .col-resume {
  background: transparent;
}

body.portfolio-refresh .col-resume:hover {
  background: rgba(255, 159, 28, 0.16);
}

body.portfolio-refresh .resume-row {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

body.portfolio-refresh .experience-box {
  padding: 1.7rem;
  border-color: var(--pf-border);
}

body.portfolio-refresh .experience-number {
  color: var(--pf-accent);
  text-shadow: 0 10px 30px rgba(255, 159, 28, 0.2);
}

body.portfolio-refresh .experience-info {
  color: #d8e7ff;
}

body.portfolio-refresh .experience-info div::after {
  background: #d8e7ff;
}

body.portfolio-refresh .progress {
  height: 10px;
  margin-bottom: 1.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

body.portfolio-refresh .progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pf-accent), var(--pf-accent-soft));
}

body.portfolio-refresh .project-row {
  margin-bottom: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(11, 18, 32, 0.55);
  box-shadow: var(--pf-shadow);
}

body.portfolio-refresh .project-row a {
  opacity: 0.88;
  color: #e2edff;
  border-left: 2px solid transparent;
  border-radius: 12px;
  padding: 1.1rem 1rem 1.1rem 2.4rem;
}

body.portfolio-refresh .project-row a::after,
body.portfolio-refresh .project-detail-row a::after {
  display: none;
}

body.portfolio-refresh .project-row a:hover,
body.portfolio-refresh .project-row a.active {
  opacity: 1;
  border-left-color: var(--pf-accent);
  background: rgba(255, 159, 28, 0.12);
}

body.portfolio-refresh .project-title {
  font-size: clamp(2rem, 5.4vw, 4rem);
}

body.portfolio-refresh .project-category {
  margin-top: 0.3rem;
  color: #b8c7db;
}

body.portfolio-refresh .row-partners .partner-inner {
  border: 1px solid var(--pf-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.1rem 0.9rem;
}

body.portfolio-refresh .row-partners .partner-inner img {
  opacity: 0.82;
}

body.portfolio-refresh .bg-quote::before,
body.portfolio-refresh .bg-quote::after {
  opacity: 0.24;
}

body.portfolio-refresh .review-row {
  margin-bottom: 1rem;
  padding: 1.5rem 1.5rem 1.3rem;
}

body.portfolio-refresh .review-row::before {
  display: none;
}

body.portfolio-refresh .author-name {
  color: #fff;
}

body.portfolio-refresh .review-author i,
body.portfolio-refresh .review-carousel .text {
  color: #ccdbef;
}

body.portfolio-refresh .owl-dot span {
  background: rgba(255, 255, 255, 0.48);
}

body.portfolio-refresh .owl-dot.active span {
  background: var(--pf-accent);
}

body.portfolio-refresh .contact-address .mail {
  color: #e7f1ff;
}

body.portfolio-refresh .contact-address .mail:hover {
  color: var(--pf-accent);
  text-decoration: none;
}

body.portfolio-refresh .contact-info {
  padding: 1.2rem;
}

body.portfolio-refresh .contact-info input,
body.portfolio-refresh .contact-info textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(8, 12, 18, 0.52);
  color: #f4f9ff;
  padding: 12px 14px;
}

body.portfolio-refresh .contact-info input::placeholder,
body.portfolio-refresh .contact-info textarea::placeholder {
  color: #9fb0c9;
}

body.portfolio-refresh .contact-info input:focus,
body.portfolio-refresh .contact-info textarea:focus {
  outline: none;
  border-color: rgba(255, 159, 28, 0.86);
  box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.18);
}

body.portfolio-refresh .vertical-title span {
  color: rgba(237, 243, 255, 0.6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.portfolio-refresh .vertical-title {
  opacity: 0.14;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
}

body.portfolio-refresh .vertical-title span {
  color: rgba(232, 239, 250, 0.56);
  letter-spacing: 0.09em;
  font-weight: 700;
}

body.portfolio-refresh .floating-hire-me {
  position: fixed;
  right: 1.3rem;
  bottom: 5.8rem;
  z-index: 1205;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  visibility: visible;
  opacity: 1;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 159, 28, 0.55);
  background: rgba(255, 159, 28, 0.13);
  color: #f5fbff;
  font-family: "Manrope", "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(255, 159, 28, 0.22);
  transition: all 0.2s ease;
  animation: pf-hire-bob 1.5s ease-in-out infinite;
}

body.portfolio-refresh .floating-hire-me::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 1px solid rgba(255, 159, 28, 0.42);
  opacity: 0;
  pointer-events: none;
  animation: pf-hire-pulse 1.6s ease-out infinite;
}

body.portfolio-refresh .floating-hire-me:hover,
body.portfolio-refresh .floating-hire-me:focus {
  border-color: var(--pf-accent-soft);
  background: rgba(255, 159, 28, 0.24);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 159, 28, 0.3);
  animation: none;
}

body.portfolio-refresh .floating-hire-me:hover::after,
body.portfolio-refresh .floating-hire-me:focus::after {
  animation: none;
  opacity: 0;
}

@keyframes pf-hire-bob {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 10px 26px rgba(255, 159, 28, 0.22);
  }

  50% {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 16px 34px rgba(255, 159, 28, 0.38);
  }
}

@keyframes pf-hire-pulse {
  0% {
    transform: scale(0.96);
    opacity: 0;
  }

  22% {
    opacity: 0.68;
  }

  70% {
    transform: scale(1.2);
    opacity: 0;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

body.portfolio-refresh .project-detail-row {
  padding: 1.4rem 1.4rem 1.3rem 5rem;
}

body.portfolio-refresh .project-detail-row a {
  opacity: 1;
}

body.portfolio-refresh .content {
  padding-top: 11.5rem;
}

body.portfolio-refresh .project-detail-page {
  position: relative;
  padding-bottom: 4.5rem;
  background:
    radial-gradient(850px 420px at 5% 12%, rgba(255, 159, 28, 0.12), rgba(255, 159, 28, 0)),
    radial-gradient(760px 400px at 94% 74%, rgba(255, 208, 138, 0.1), rgba(255, 208, 138, 0)),
    linear-gradient(180deg, rgba(7, 12, 20, 0) 0%, rgba(7, 12, 20, 0.65) 34%, rgba(7, 12, 20, 0.9) 100%);
}

body.portfolio-refresh .row-project {
  margin-bottom: 2.8rem;
}

body.portfolio-refresh .project-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: rgba(255, 208, 138, 0.92);
}

body.portfolio-refresh .col-project-name h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.45rem);
  margin: 0;
  line-height: 1.06;
  text-shadow: 0 14px 26px rgba(0, 0, 0, 0.34);
}

body.portfolio-refresh .project-subtitle {
  margin: 1rem 0 0;
  max-width: 34ch;
  color: #cedef4;
  font-size: 1.02rem;
}

body.portfolio-refresh .social-list-detail {
  margin-top: 1.65rem;
  gap: 0.55rem;
}

body.portfolio-refresh .social-list-detail a {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 1rem;
  color: #d9e8ff;
  transition: all 0.2s ease;
}

body.portfolio-refresh .social-list-detail a:hover {
  border-color: rgba(255, 159, 28, 0.7);
  background: rgba(255, 159, 28, 0.16);
  color: #fff;
}

body.portfolio-refresh .col-project-info {
  position: relative;
  padding: 1.7rem 1.7rem 1.5rem;
  background: linear-gradient(165deg, rgba(9, 15, 26, 0.82), rgba(15, 25, 40, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

body.portfolio-refresh .col-project-info::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--pf-accent), var(--pf-accent-soft));
}

body.portfolio-refresh .col-project-info h5 {
  color: #ffcb84;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  margin-bottom: 0.42rem;
}

body.portfolio-refresh .col-project-info p,
body.portfolio-refresh .project-detail-text {
  color: #d6e2f5;
}

body.portfolio-refresh .project-hero-media {
  margin-bottom: 2.8rem;
}

body.portfolio-refresh .project-hero-image-frame {
  position: relative;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(165deg, rgba(11, 18, 30, 0.88), rgba(17, 30, 47, 0.82));
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.35);
}

body.portfolio-refresh .project-hero-image-frame::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -1px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(255, 159, 28, 0.92), rgba(255, 208, 138, 0));
}

body.portfolio-refresh .project-hero-image {
  width: 100%;
  display: block;
  border-radius: 14px;
}

body.portfolio-refresh .project-story {
  position: relative;
}

body.portfolio-refresh .project-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 220px at 16% 0%, rgba(255, 159, 28, 0.1), rgba(255, 159, 28, 0)),
    radial-gradient(520px 220px at 84% 100%, rgba(255, 208, 138, 0.08), rgba(255, 208, 138, 0));
  pointer-events: none;
}

body.portfolio-refresh .project-story > .container {
  position: relative;
  z-index: 1;
}

body.portfolio-refresh .project-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.3rem;
}

body.portfolio-refresh .project-copy-card,
body.portfolio-refresh .project-outcome-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(9, 15, 26, 0.86), rgba(16, 27, 44, 0.8));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

body.portfolio-refresh .project-copy-card {
  padding: 1.5rem 1.45rem 1.3rem;
}

body.portfolio-refresh .project-copy-card h3,
body.portfolio-refresh .project-outcome-card h3 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
}

body.portfolio-refresh .project-detail-text {
  margin-bottom: 1.2rem;
  line-height: 1.84;
  font-size: 1.01rem;
}

body.portfolio-refresh .project-highlight-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #d6e2f5;
}

body.portfolio-refresh .project-highlight-list li {
  margin-bottom: 0.42rem;
}

body.portfolio-refresh .project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

body.portfolio-refresh .project-shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 17, 28, 0.82);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

body.portfolio-refresh .project-shot:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 159, 28, 0.48);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.34);
}

body.portfolio-refresh .project-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.portfolio-refresh .project-outcome-card {
  padding: 1.4rem 1.45rem 1.35rem;
}

body.portfolio-refresh .project-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

body.portfolio-refresh .project-platform {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 159, 28, 0.48);
  background: rgba(255, 159, 28, 0.12);
  color: #ffe4b7;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.32rem 0.7rem;
}

body.portfolio-refresh .project-link-pills {
  margin: 0.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.portfolio-refresh .project-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 159, 28, 0.52);
  background: rgba(255, 159, 28, 0.13);
  color: #fef3db;
  font-weight: 700;
  font-size: 0.81rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.46rem 0.9rem;
  transition: all 0.2s ease;
}

body.portfolio-refresh .project-link-pill:hover,
body.portfolio-refresh .project-link-pill:focus {
  border-color: var(--pf-accent-soft);
  background: rgba(255, 159, 28, 0.24);
  color: #fff;
  text-decoration: none;
}

body.portfolio-refresh .project-bottom-cta {
  margin-top: 1.6rem;
}

body.portfolio-refresh .underline {
  color: var(--pf-accent);
}

body.portfolio-refresh .underline:hover {
  color: var(--pf-accent-soft);
}

@media (max-width: 991.98px) {
  body.portfolio-refresh .display-2 {
    font-size: clamp(34px, 10vw, 52px);
  }

  body.portfolio-refresh .copy-bottom,
  body.portfolio-refresh .social-list-bottom,
  body.portfolio-refresh .bg-quote {
    display: none;
  }

  body.portfolio-refresh .row-specialization {
    margin: 0;
  }

  body.portfolio-refresh .project-row,
  body.portfolio-refresh .project-detail-row {
    padding-left: 1.1rem;
  }

  body.portfolio-refresh .project-row a {
    padding-left: 2rem;
  }

  body.portfolio-refresh .project-number {
    left: 0.8rem;
  }
}

@media (max-width: 767.98px) {
  body.portfolio-refresh .contacts {
    display: none;
  }

  body.portfolio-refresh .review-row,
  body.portfolio-refresh .contact-info,
  body.portfolio-refresh .row-specialization .col-specialization,
  body.portfolio-refresh .col-project-info {
    border-radius: 14px;
  }

  body.portfolio-refresh .experience-number {
    font-size: clamp(120px, 30vw, 180px);
  }

  body.portfolio-refresh .content {
    padding-top: 9rem;
  }
}

/* Pro Polish Overrides */

body.portfolio-refresh .pf-reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.portfolio-refresh .pf-reveal.pf-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.portfolio-refresh .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

body.portfolio-refresh .hero-pill,
body.portfolio-refresh .hero-ghost {
  min-height: 52px;
}

body.portfolio-refresh .hero-pill .ion-ios-play {
  width: 1.9rem;
  height: 1.9rem;
  line-height: 1.9rem;
  margin: 0;
  margin-right: 0.25rem;
  padding-left: 0.12rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  color: #fff;
}

body.portfolio-refresh .hero-pill .ion-ios-play:hover {
  color: #fff;
  border: 0;
}

body.portfolio-refresh .hero-pill .ion-ios-play::after {
  display: none;
}

body.portfolio-refresh .hero-pill:hover .ion-ios-play,
body.portfolio-refresh .hero-pill:focus .ion-ios-play {
  background: rgba(255, 255, 255, 0.22);
}

body.portfolio-refresh .section-2 .row-specialization {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 1.25rem 0 0;
}

body.portfolio-refresh .section-2 .row-specialization .col-specialization {
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  margin: 0;
  padding: 1.65rem 1.45rem 1.5rem;
  min-height: 350px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

body.portfolio-refresh .section-2 .row-specialization .col-specialization::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--pf-accent), var(--pf-accent-soft));
  transition: width 0.32s ease;
}

body.portfolio-refresh .section-2 .row-specialization .col-specialization:hover::before {
  width: 48%;
}

body.portfolio-refresh .section-2 .row-specialization .col-specialization:hover {
  transform: translateY(-6px);
  background: rgba(14, 24, 38, 0.82);
}

body.portfolio-refresh .section-2 .row-specialization .col-specialization li {
  margin-bottom: 0.48rem;
}

body.portfolio-refresh .section-3 .row-resume {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

body.portfolio-refresh .section-3 .row-resume > [class*="col-"] {
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0;
}

body.portfolio-refresh .section-3 .resume-header {
  top: 0;
  margin: 0;
  padding: 0 1.4rem 1rem;
}

body.portfolio-refresh .section-3 .resume-content {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 16px;
  box-shadow: none;
}

body.portfolio-refresh .section-3 .col-resume {
  position: relative;
  padding: 1.85rem 1.7rem 1.7rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 159, 28, 0.48);
  background: rgba(8, 14, 24, 0.82) !important;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

body.portfolio-refresh .section-3 .col-resume::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, var(--pf-accent), var(--pf-accent-soft));
}

body.portfolio-refresh .section-3 .col-resume:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 159, 28, 0.75);
  background: rgba(10, 16, 28, 0.9) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(255, 159, 28, 0.2);
}

body.portfolio-refresh .section-3 .resume-row {
  padding-bottom: 1.55rem;
  margin-bottom: 1.55rem;
}

body.portfolio-refresh .section-3 .resume-study {
  line-height: 1.72;
}

body.portfolio-refresh .section-3 .resume-text,
body.portfolio-refresh .section-3 .resume-row ul {
  line-height: 1.76;
}

body.portfolio-refresh .section-3 .resume-text,
body.portfolio-refresh .section-3 ul {
  margin-bottom: 0;
}

body.portfolio-refresh .section-5 .project-row {
  padding-left: 0 !important;
  overflow: hidden;
  border-radius: 16px;
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, rgba(10, 16, 25, 0.74), rgba(17, 28, 43, 0.66));
  backdrop-filter: blur(4px);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

body.portfolio-refresh .section-5 .project-row:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 159, 28, 0.42);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.26);
}

body.portfolio-refresh .section-5 .project-row a {
  position: relative;
  border-left: 0;
  padding: 1.05rem 1.25rem 1.05rem 4.05rem;
}

body.portfolio-refresh .section-5 .project-row a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255, 159, 28, 0.36);
  transition: background 0.25s ease, width 0.25s ease;
}

body.portfolio-refresh .section-5 .project-row .project-number {
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.55rem;
  text-align: center;
  color: #ffca7d !important;
  border: 1px solid rgba(255, 159, 28, 0.42);
  background: rgba(255, 159, 28, 0.08);
}

body.portfolio-refresh .section-5 .project-row a:hover,
body.portfolio-refresh .section-5 .project-row a.active {
  background: linear-gradient(90deg, rgba(255, 159, 28, 0.18), rgba(255, 159, 28, 0.04) 40%, rgba(255, 159, 28, 0) 100%);
}

body.portfolio-refresh .section-5 .project-row a:hover::before,
body.portfolio-refresh .section-5 .project-row a.active::before {
  width: 4px;
  background: var(--pf-accent);
}

body.portfolio-refresh .section-5 .project-title {
  font-size: clamp(1.95rem, 4.4vw, 3.9rem);
  line-height: 1.12;
}

body.portfolio-refresh .section-5 .project-category {
  margin-top: 0.18rem;
  font-size: 1rem;
}

body.portfolio-refresh .section-5 .view-all-projects {
  padding-left: 0 !important;
  margin-top: 1.7rem;
}

body.portfolio-refresh .section-6 .row-partners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  margin: 2rem 0 0;
}

body.portfolio-refresh .section-6 .col-partner {
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  opacity: 1;
}

body.portfolio-refresh .section-6 .partner-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

body.portfolio-refresh .section-6 .partner-inner img {
  max-height: 36px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

body.portfolio-refresh .section-6 .partner-inner:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 159, 28, 0.5);
  background: linear-gradient(170deg, rgba(255, 159, 28, 0.13), rgba(255, 159, 28, 0.05));
}

body.portfolio-refresh .section-6 .partner-inner:hover img {
  filter: grayscale(0%);
  opacity: 0.98;
  transform: scale(1.04);
}

body.portfolio-refresh .section-7 .review-row {
  padding: 1.8rem 1.9rem 1.65rem;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(12, 19, 31, 0.82), rgba(17, 28, 44, 0.74));
}

body.portfolio-refresh .section-7 .review-row .text p {
  line-height: 1.82;
}

body.portfolio-refresh .section-7 .review-author {
  padding-right: 0.8rem;
}

body.portfolio-refresh .section-8 .intro.overflow-hidden {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(10, 16, 26, 0.74), rgba(16, 26, 41, 0.72));
  box-shadow: var(--pf-shadow);
}

body.portfolio-refresh .section-8 .intro.overflow-hidden::before,
body.portfolio-refresh .section-8 .intro.overflow-hidden::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

body.portfolio-refresh .section-8 .intro.overflow-hidden::before {
  width: 220px;
  height: 220px;
  top: -92px;
  right: -95px;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.2), rgba(255, 159, 28, 0));
}

body.portfolio-refresh .section-8 .intro.overflow-hidden::after {
  width: 180px;
  height: 180px;
  left: -85px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(255, 208, 138, 0.15), rgba(255, 208, 138, 0));
}

body.portfolio-refresh .section-8 .intro.overflow-hidden > .row {
  position: relative;
  z-index: 1;
}

body.portfolio-refresh .section-8 .contact-info {
  background: rgba(8, 14, 24, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.35rem;
}

body.portfolio-refresh .section-8 .contact-info .btn {
  width: 100%;
  justify-content: center;
}

body.portfolio-refresh .section-8 .text-muted {
  color: #cad7ed !important;
}

@media (max-width: 1199.98px) {
  body.portfolio-refresh .section-2 .row-specialization {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.portfolio-refresh .section-6 .row-partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  body.portfolio-refresh .section-3 .row-resume {
    grid-template-columns: 1fr;
  }

  body.portfolio-refresh .section-3 .resume-header {
    padding-left: 0;
    padding-right: 0;
  }

  body.portfolio-refresh .section-5 .project-title {
    font-size: clamp(2rem, 8.2vw, 3rem);
  }

  body.portfolio-refresh .vertical-title {
    opacity: 0.2;
  }

  body.portfolio-refresh .project-story-grid,
  body.portfolio-refresh .project-gallery-grid {
    grid-template-columns: 1fr;
  }

  body.portfolio-refresh .col-project-name h1 {
    max-width: 16ch;
  }

  body.portfolio-refresh .col-project-info {
    margin-top: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  body.portfolio-refresh .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  body.portfolio-refresh .section-2 .row-specialization,
  body.portfolio-refresh .section-6 .row-partners {
    grid-template-columns: 1fr;
  }

  body.portfolio-refresh .section-2 .row-specialization .col-specialization {
    min-height: auto;
  }

  body.portfolio-refresh .section-7 .review-row {
    padding: 1.35rem 1.2rem;
  }

  body.portfolio-refresh .section-8 .intro.overflow-hidden {
    padding: 1.4rem 1rem;
  }

  body.portfolio-refresh .floating-hire-me {
    right: 0.9rem;
    bottom: 0.95rem;
    min-height: 40px;
    padding: 0.56rem 0.92rem;
    font-size: 0.82rem;
  }

  body.portfolio-refresh .project-detail-page {
    padding-bottom: 3.2rem;
  }

  body.portfolio-refresh .row-project {
    margin-bottom: 1.75rem;
  }

  body.portfolio-refresh .project-eyebrow {
    margin-bottom: 0.7rem;
  }

  body.portfolio-refresh .project-subtitle {
    font-size: 0.95rem;
  }

  body.portfolio-refresh .col-project-info {
    padding: 1.25rem 1rem 1.1rem;
    border-radius: 14px;
  }

  body.portfolio-refresh .project-hero-image-frame {
    padding: 0.6rem;
    border-radius: 14px;
  }

  body.portfolio-refresh .project-copy-card,
  body.portfolio-refresh .project-outcome-card {
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 14px;
  }

  body.portfolio-refresh .project-story-grid,
  body.portfolio-refresh .project-gallery-grid {
    gap: 0.9rem;
  }

  body.portfolio-refresh .project-bottom-cta {
    margin-top: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.portfolio-refresh .pf-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.portfolio-refresh .floating-hire-me,
  body.portfolio-refresh .floating-hire-me::after {
    animation: none;
  }
}
