:root {
  --green: #00a676;
  --orange: #f15a24;
  --orange-deep: #f15a24;
  --snow: #f7f9f9;
  --cream: #e0d0c1;
  --clay: #f15a24;
  --garnet: #f15a24;
  --ink: #17110f;
  --muted: #71645f;
  --line: rgba(241, 90, 36, 0.2);
  --shadow: 0 22px 70px rgba(38, 18, 12, 0.18);
}

@media (max-width: 767px) {
  body.polo-portfolio .client-intro,
  body.polo-portfolio .support-console,
  body.polo-portfolio .support-resolution,
  body.polo-portfolio .security-strip {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.polo-portfolio .support-cases {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.polo-portfolio .support-cases > span {
    grid-column: auto !important;
  }

  body.polo-portfolio .support-visual {
    min-height: 290px !important;
  }

  body.polo-portfolio .security-strip-title,
  body.polo-portfolio .security-strip article {
    border-right: 0 !important;
  }
}

/* Final portfolio override: keep the website showcase independent from POLO's portfolio plugin. */
body.polo-portfolio #websites .portfolio-showcase {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
  width: min(1440px, calc(100% - 36px)) !important;
  margin: 0 auto 80px !important;
}

body.polo-portfolio #websites .showcase-card {
  width: auto !important;
  min-width: 0 !important;
}

body.polo-portfolio #websites .showcase-image img {
  max-height: 260px;
}

@media (max-width: 1100px) {
  body.polo-portfolio #websites .portfolio-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  body.polo-portfolio #websites .portfolio-showcase {
    grid-template-columns: 1fr !important;
  }
}

body.polo-portfolio .project-detail {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  min-height: 100vh !important;
  padding: 72px 5vw 42px !important;
  align-items: flex-start !important;
  background: rgba(23, 17, 15, 0.9) !important;
  overflow-y: auto !important;
}

body.polo-portfolio.project-modal-open #header {
  opacity: 0;
  pointer-events: none;
}

body.polo-portfolio .project-detail.is-open {
  display: flex !important;
}

body.polo-portfolio .project-close {
  z-index: 2147483001 !important;
}

body.polo-portfolio .project-detail-grid {
  width: min(1180px, 100%) !important;
  min-height: calc(100vh - 114px);
  margin: 0 auto !important;
  align-items: center !important;
}

body.polo-portfolio .project-detail-grid.no-devices {
  display: block !important;
  width: min(720px, 100%) !important;
}

body.polo-portfolio .project-detail-grid.no-devices .project-copy {
  margin: 0 auto;
}

body.polo-portfolio .project-copy {
  max-height: calc(100vh - 144px);
  overflow-y: auto;
}

body.polo-portfolio .device-stage:empty {
  display: none;
}

body.polo-portfolio .device-stage {
  width: 100%;
  max-width: 760px;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(23, 17, 15, 0.08), rgba(23, 17, 15, 0.18)),
    url("../img/portfolio-device-desk.png") center / cover no-repeat;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

body.polo-portfolio .device {
  border: 7px solid #101112;
  background: #101112;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

body.polo-portfolio .device img {
  border-radius: inherit;
}

body.polo-portfolio .device.laptop {
  left: 7%;
  top: auto;
  bottom: 12%;
  width: 56%;
  padding: 10px;
  border-radius: 16px;
  transform: perspective(900px) rotateX(1.5deg) rotateY(0.8deg);
}

body.polo-portfolio .device.laptop::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: -12px;
  height: 13px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(90deg, #222, #777, #1b1b1b);
  box-shadow: 0 16px 22px rgba(0, 0, 0, 0.32);
}

body.polo-portfolio .device.tablet {
  right: 18%;
  top: auto;
  bottom: 15%;
  width: 23%;
  padding: 8px;
  border-radius: 20px;
  transform: perspective(900px) rotateX(2deg) rotateY(-5deg);
}

body.polo-portfolio .device.phone {
  right: 7%;
  top: auto;
  bottom: 16%;
  width: 11%;
  padding: 6px;
  border-radius: 20px;
  transform: perspective(900px) rotateX(2deg) rotateY(-8deg);
}

body.polo-portfolio .device-stage.device-count-1 .device {
  position: relative;
  inset: auto;
  margin: 0 auto;
}

body.polo-portfolio .device-stage.device-count-1 .device.laptop {
  width: min(92%, 760px);
}

body.polo-portfolio .device-stage.device-count-1 .device.tablet {
  width: min(48%, 360px);
}

body.polo-portfolio .device-stage.device-count-1 .device.phone {
  width: min(30%, 220px);
}

/* POLO reset: bring V3 back onto the purchased template while keeping Hans Ensing styling. */
body.polo-portfolio {
  background: #f7f9f9;
  color: #17110f;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

.polo-portfolio .body-inner {
  overflow: clip;
}

.polo-portfolio #logo img {
  width: auto !important;
  height: 64px !important;
  max-width: 48vw;
  margin-top: 8px;
  filter: none;
}

@media (max-width: 767px) {
  .polo-portfolio #logo img {
    height: 52px !important;
    max-width: calc(100vw - 105px);
    margin-top: 14px;
  }
}

.polo-portfolio #header #logo img.logo-default {
  display: block;
}

.polo-portfolio #mainMenu nav > ul > li > a {
  position: relative;
  letter-spacing: 0;
  font-weight: 700;
  text-transform: none;
  color: var(--ink) !important;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

body.polo-portfolio #header #mainMenu nav > ul > li:hover > a,
body.polo-portfolio #header #mainMenu nav > ul > li:focus-within > a,
body.polo-portfolio #header #mainMenu nav > ul > li.hover-active > a,
body.polo-portfolio #header #mainMenu nav > ul > li.current > a {
  color: var(--orange-deep) !important;
  background-color: rgba(241, 90, 36, 0.08) !important;
  box-shadow: inset 0 -4px 0 var(--orange) !important;
}

@media (min-width: 992px) {
  body.polo-portfolio #header #mainMenu nav > ul > li {
    height: 80px;
    margin-left: 2px;
  }

  body.polo-portfolio #header #mainMenu nav > ul > li > a {
    display: flex;
    height: 80px;
    align-items: center;
    padding: 0 16px;
  }

  body.polo-portfolio #header #mainMenu nav > ul > li:hover > a,
  body.polo-portfolio #header #mainMenu nav > ul > li:focus-within > a,
  body.polo-portfolio #header #mainMenu nav > ul > li.hover-active > a,
  body.polo-portfolio #header #mainMenu nav > ul > li.current > a {
    background-color: rgba(241, 90, 36, 0.1) !important;
  }
}

.polo-portfolio .polo-hero {
  position: relative;
  background-position: center center;
  background-size: cover;
}

.polo-portfolio .hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 17, 15, 0.92) 0%, rgba(241, 90, 36, 0.72) 44%, rgba(0, 166, 118, 0.24) 100%);
  pointer-events: none;
}

.polo-portfolio .polo-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 7vw, 7.8rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.polo-portfolio .polo-hero .lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
}

.polo-portfolio .polo-hero .hero-region {
  display: flex;
  max-width: 650px;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}

.polo-portfolio .polo-hero .hero-region i {
  color: #f15a24;
  font-size: 1rem;
}

.polo-portfolio .text-colored {
  color: #00a676 !important;
}

.polo-portfolio .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.polo-portfolio .portfolio-tabs {
  border-bottom: 1px solid rgba(241, 90, 36, 0.12);
}

.polo-portfolio .portfolio-tabs nav ul li a {
  letter-spacing: 0;
  text-transform: none;
}

.polo-portfolio .portfolio-directions {
  margin: 0;
}

.polo-portfolio .direction-card {
  min-height: 286px;
  padding: 48px 42px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.polo-portfolio .direction-card:hover,
.polo-portfolio .direction-card:focus {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-4px);
}

.polo-portfolio .direction-card h2 {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 4rem;
  line-height: 1;
}

.polo-portfolio .direction-card h3 {
  color: #fff;
  font-size: 1.65rem;
}

.polo-portfolio .direction-card span {
  display: block;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.78);
}

.polo-portfolio .snap-sections {
  scroll-snap-type: y proximity;
}

.polo-portfolio .snap-panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  padding-top: 110px;
  padding-bottom: 110px;
}

.polo-portfolio #websites {
  display: block;
  min-height: 100vh;
  padding-top: 105px;
}

.polo-portfolio .heading-section h2 {
  letter-spacing: 0;
}

.polo-portfolio .heading-section h2::before {
  background-color: #f15a24;
}

.polo-portfolio .portfolio-modern {
  padding: 0 22px 70px;
}

.polo-portfolio .portfolio-modern .portfolio-item-wrap {
  box-shadow: 0 18px 48px rgba(23, 17, 15, 0.13);
}

.polo-portfolio .portfolio-modern .portfolio-image img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.polo-portfolio .portfolio-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.polo-portfolio .portfolio-description .portfolio-open {
  color: #fff;
  text-align: center;
}

.polo-portfolio .portfolio-description {
  background: linear-gradient(180deg, transparent 0%, rgba(23, 17, 15, 0.88) 100%);
}

.polo-portfolio .portfolio-showcase {
  width: min(1440px, calc(100% - 36px));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.polo-portfolio .showcase-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 17, 15, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.polo-portfolio .showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 90px rgba(23, 17, 15, 0.18);
}

.polo-portfolio .showcase-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.polo-portfolio .showcase-image {
  display: block;
  position: relative;
  overflow: hidden;
  background: #17110f;
}

.polo-portfolio .showcase-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(23, 17, 15, 0.38));
  pointer-events: none;
}

.polo-portfolio .showcase-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.polo-portfolio .showcase-card:hover .showcase-image img {
  transform: scale(1.04);
}

.polo-portfolio .showcase-body {
  display: block;
  padding: 24px 24px 18px;
}

.polo-portfolio .showcase-body em {
  display: block;
  margin-bottom: 8px;
  color: #00a676;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.polo-portfolio .showcase-body strong {
  display: block;
  margin-bottom: 10px;
  color: #17110f;
  font-size: 1.35rem;
  line-height: 1.15;
}

.polo-portfolio .showcase-body span {
  display: -webkit-box;
  min-height: 4.8em;
  overflow: hidden;
  color: #71645f;
  line-height: 1.6;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.polo-portfolio .showcase-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 24px 24px;
}

.polo-portfolio .showcase-actions button,
.polo-portfolio .showcase-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  background: #f15a24;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.polo-portfolio .showcase-actions a {
  background: #17110f;
}

.polo-portfolio .showcase-actions button:hover,
.polo-portfolio .showcase-actions a:hover {
  background: #00a676;
  color: #fff;
}

.polo-portfolio .project-info-trigger {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  padding: 9px 13px;
  border: 0;
  background: #fff;
  color: #f15a24;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.polo-portfolio .project-info-trigger:hover,
.polo-portfolio .project-info-trigger:focus {
  background: #00a676;
  color: #fff;
}

.polo-portfolio .project-detail {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  padding: 7vh 5vw;
  background: rgba(23, 17, 15, 0.86);
  backdrop-filter: blur(10px);
  overflow-y: auto;
}

.polo-portfolio .project-detail.is-open {
  display: flex;
}

.polo-portfolio .project-detail-grid {
  width: min(1180px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.polo-portfolio .project-close {
  position: fixed;
  top: 22px;
  right: 28px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #fff;
  color: #f15a24;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.polo-portfolio .device-stage {
  position: relative;
  min-height: 560px;
}

.polo-portfolio .device {
  position: absolute;
  overflow: hidden;
  background: #111;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.polo-portfolio .device img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polo-portfolio .device.laptop {
  left: 0;
  top: 72px;
  width: 82%;
  aspect-ratio: 16 / 10;
  padding: 14px;
  border-radius: 18px;
}

.polo-portfolio .device.tablet {
  right: 8%;
  top: 0;
  width: 34%;
  aspect-ratio: 3 / 4;
  padding: 10px;
  border-radius: 22px;
}

.polo-portfolio .device.phone {
  right: 0;
  bottom: 30px;
  width: 22%;
  aspect-ratio: 9 / 16;
  padding: 8px;
  border-radius: 24px;
}

.polo-portfolio .project-copy {
  padding: 42px;
  background: #fff;
  color: #17110f;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.polo-portfolio .project-copy > span {
  color: #00a676;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.polo-portfolio .project-copy h3 {
  margin: 12px 0 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.polo-portfolio .device-notes {
  margin: 22px 0;
  padding-left: 18px;
  border-left: 4px solid #f15a24;
  color: #5f514c;
  line-height: 1.7;
}

.polo-portfolio .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.polo-portfolio .project-tags em {
  padding: 7px 10px;
  background: #f7f9f9;
  color: #f15a24;
  font-style: normal;
  font-weight: 800;
}

.polo-portfolio .vendor-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.polo-portfolio .vendor-cloud span {
  padding: 12px 16px;
  border: 1px solid rgba(0, 166, 118, 0.22);
  background: #fff;
  color: #17110f;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(23, 17, 15, 0.06);
}

.polo-portfolio .network-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: end;
  margin-bottom: 54px;
}

.polo-portfolio .network-intro .heading-section {
  margin-bottom: 0;
}

.polo-portfolio .network-intro .heading-section h2 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.05;
}

.polo-portfolio .network-intro .heading-section h2::before,
.polo-portfolio .network-intro .heading-section h2::after {
  display: none !important;
  content: none !important;
}

.polo-portfolio .network-intro .lead {
  max-width: 650px;
  margin: 0;
  color: #3d3532;
  font-size: 1.08rem;
  line-height: 1.55;
}

.polo-portfolio .network-intro .lead strong {
  color: #f15a24;
}

.polo-portfolio .network-intro .heading-section::before,
.polo-portfolio .network-intro .heading-section::after {
  display: none !important;
}

.polo-portfolio .section-kicker {
  display: block;
  margin-bottom: 14px;
  color: #f15a24;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.polo-portfolio .network-problems {
  display: grid;
  gap: 12px;
  padding-left: 26px;
  border-left: 3px solid #f15a24;
}

.polo-portfolio .network-problems span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3b3431;
  font-size: 0.96rem;
}

.polo-portfolio .network-problems i {
  width: 20px;
  color: #f15a24;
  text-align: center;
}

.polo-portfolio .network-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(241, 90, 36, 0.12);
  background: #fff;
  box-shadow: 0 26px 70px rgba(23, 17, 15, 0.11);
}

.polo-portfolio .network-step {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 312px;
  padding: 32px 25px 30px;
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(241, 90, 36, 0.11);
  background: #fff;
  box-shadow: none;
  transition: color 260ms ease, background-color 260ms ease, transform 260ms ease;
}

.polo-portfolio .network-step:last-child {
  border-right: 0;
}

.polo-portfolio .network-step::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 7px;
  background: #f15a24;
  content: "";
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 380ms ease, background-color 260ms ease;
}

.polo-portfolio .network-step::after {
  position: absolute;
  right: -45px;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(241, 90, 36, 0.12);
  border-radius: 50%;
  content: "";
  transition: transform 360ms ease, border-color 260ms ease;
}

.polo-portfolio .network-step:hover,
.polo-portfolio .network-step.is-active {
  z-index: 2;
  background: #f15a24;
  color: #fff;
  transform: translateY(-4px);
}

.polo-portfolio .network-step:hover::before,
.polo-portfolio .network-step.is-active::before {
  background: #00a676;
  transform: scaleX(1);
}

.polo-portfolio .network-step:hover::after,
.polo-portfolio .network-step.is-active::after {
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.22);
}

.polo-portfolio .network-step-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 0 28px;
  place-items: center;
  border: 7px solid #f7f9f9;
  border-radius: 50%;
  background: #f15a24;
  color: #fff;
  font-size: 1.35rem;
  transition: color 260ms ease, background-color 260ms ease, transform 260ms ease;
}

.polo-portfolio .network-step:nth-of-type(even) .network-step-icon {
  background: #00a676;
}

.polo-portfolio .network-step:hover .network-step-icon,
.polo-portfolio .network-step.is-active .network-step-icon {
  background: #fff;
  color: #f15a24;
  transform: scale(1.1) rotate(-4deg);
}

.polo-portfolio .network-step > span {
  color: #f15a24;
  font-size: 0.72rem;
  font-weight: 800;
}

.polo-portfolio .network-step h3 {
  margin: 7px 0 12px;
  font-size: 1.2rem;
}

.polo-portfolio .network-step:hover > span,
.polo-portfolio .network-step.is-active > span {
  color: #e0d0c1;
}

.polo-portfolio .network-step p {
  margin: 0;
  color: #625854;
  font-size: 0.9rem;
  line-height: 1.65;
  transition: color 260ms ease;
}

.polo-portfolio .network-step:hover p,
.polo-portfolio .network-step.is-active p {
  color: rgba(255, 255, 255, 0.82);
}

.polo-portfolio .network-proof {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 32px;
  margin-top: 38px;
  padding: 30px 34px;
  overflow: hidden;
  border: 1px solid rgba(241, 90, 36, 0.13);
  background: #fff;
  color: #17110f;
  box-shadow: 0 18px 48px rgba(23, 17, 15, 0.08);
}

.polo-portfolio .network-proof::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: #f15a24;
  content: "";
}

.polo-portfolio .network-proof-copy span {
  display: block;
  margin-bottom: 5px;
  color: #f15a24;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.polo-portfolio .network-proof-copy strong {
  display: block;
  max-width: 270px;
  color: #17110f;
  font-size: 1.1rem;
  line-height: 1.35;
}

.polo-portfolio .network-brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.polo-portfolio .network-brand {
  display: grid;
  min-height: 112px;
  padding: 18px 10px 14px;
  place-items: center;
  border: 1px solid #eadfd9;
  background: #f7f9f9;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.polo-portfolio .network-brand:hover {
  transform: translateY(-6px);
  border-color: #f15a24;
  background: #fff;
  box-shadow: 0 16px 34px rgba(241, 90, 36, 0.12);
}

.polo-portfolio .network-brand img {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  filter: none;
  transition: transform 180ms ease;
}

.polo-portfolio .network-brand img.is-darkened,
.polo-portfolio .server-brand img.is-darkened,
.polo-portfolio img.thesvg-icon.is-darkened {
  filter: brightness(0.14) saturate(100%);
}

.polo-portfolio .network-brand:hover img {
  transform: scale(1.12);
}

.polo-portfolio .network-brand span {
  color: #17110f;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Interactive before/after network story. */
.polo-portfolio .network-demo {
  overflow: hidden;
  border: 1px solid rgba(241,90,36,.15);
  background: #fff;
  box-shadow: 0 30px 80px rgba(23,17,15,.14);
}
.polo-portfolio .network-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 24px;
  border-bottom: 1px solid #eadfd9;
  background: #fff;
}
.polo-portfolio .network-demo-head > div:first-child { display:grid; }
.polo-portfolio .network-demo-head span { color:#f15a24; font-size:.66rem; font-weight:800; text-transform:uppercase; }
.polo-portfolio .network-demo-head strong { color:#17110f; font-size:1.05rem; }
.polo-portfolio .network-demo-toggle { display:inline-flex; padding:4px; background:#f0e8e2; }
.polo-portfolio .network-demo-toggle button { min-width:120px; height:38px; padding:0 14px; border:0; background:transparent; color:#71645f; font:inherit; font-size:.76rem; font-weight:800; cursor:pointer; }
.polo-portfolio .network-demo-toggle button.is-active { background:#f15a24; color:#fff; box-shadow:0 6px 18px rgba(241,90,36,.22); }
.polo-portfolio .network-demo[data-network-state="after"] .network-demo-toggle button.is-active { background:#007f5c; }

.polo-portfolio .network-demo-content { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr); }
.polo-portfolio .network-demo-scene { position:relative; min-height:450px; overflow:hidden; background:#e0d0c1; transition:background-color 500ms ease; }
.polo-portfolio .network-demo[data-network-state="before"] .network-demo-scene { background:#ead8d2; }
.polo-portfolio .network-demo[data-network-state="after"] .network-demo-scene { background:#d8eee7; }
.polo-portfolio .network-demo-scene::before { position:absolute; inset:0; opacity:.22; background-image:radial-gradient(rgba(241,90,36,.28) 1px,transparent 1px); background-size:24px 24px; content:""; }

.polo-portfolio .network-connections { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.polo-portfolio .network-connections path { fill:none; stroke:#f15a24; stroke-width:3; stroke-dasharray:9 11; transition:stroke 500ms ease,stroke-dasharray 500ms ease,filter 500ms ease; }
.polo-portfolio .network-demo[data-network-state="before"] .network-connections path { animation:broken-network 1.2s linear infinite; }
.polo-portfolio .network-demo[data-network-state="after"] .network-connections path { stroke:#00a676; stroke-dasharray:1 0; filter:drop-shadow(0 0 4px rgba(0,166,118,.45)); }
@keyframes broken-network { to { stroke-dashoffset:-40; } }

.polo-portfolio .demo-node,.polo-portfolio .demo-router { position:absolute; z-index:2; display:grid; place-items:center; text-align:center; transition:transform 500ms ease,background-color 500ms ease,border-color 500ms ease,box-shadow 500ms ease; }
.polo-portfolio .demo-node { width:120px; min-height:98px; padding:14px 9px; border:1px solid rgba(241,90,36,.2); background:#fff; box-shadow:0 14px 35px rgba(241,90,36,.13); }
.polo-portfolio .demo-node i { margin-bottom:7px; color:#f15a24; font-size:1.35rem; }
.polo-portfolio .demo-node strong { font-size:.76rem; }
.polo-portfolio .demo-node > span { display:flex; align-items:center; gap:5px; margin-top:5px; color:#f15a24; font-size:.63rem; }
.polo-portfolio .demo-node span b { width:7px; height:7px; border-radius:50%; background:#f15a24; }
.polo-portfolio .after-copy { display:none!important; }
.polo-portfolio .network-demo[data-network-state="after"] .before-copy { display:none!important; }
.polo-portfolio .network-demo[data-network-state="after"] .after-copy { display:flex!important; }
.polo-portfolio .network-demo[data-network-state="after"] .demo-node > span { color:#007f5c; }
.polo-portfolio .network-demo[data-network-state="after"] .demo-node span b { background:#00a676; box-shadow:0 0 0 4px rgba(0,166,118,.14); }
.polo-portfolio .network-demo[data-network-state="after"] .demo-node i { color:#00a676; }
.polo-portfolio .network-demo[data-network-state="after"] .demo-node { border-color:rgba(0,166,118,.32); box-shadow:0 18px 42px rgba(0,127,92,.13); transform:translateY(-4px); }

.polo-portfolio .demo-router { top:50%; left:49%; width:142px; height:142px; border:7px solid rgba(255,255,255,.55); border-radius:50%; background:#f15a24; color:#fff; box-shadow:0 0 0 16px rgba(241,90,36,.1),0 18px 45px rgba(241,90,36,.24); transform:translate(-50%,-50%); }
.polo-portfolio .demo-router i { margin-bottom:-14px; font-size:1.9rem; }
.polo-portfolio .demo-router strong { font-size:.88rem; }
.polo-portfolio .demo-router span { margin-top:-14px; color:#e0d0c1; font-size:.62rem; }
.polo-portfolio .network-demo[data-network-state="after"] .demo-router { background:#007f5c; box-shadow:0 0 0 16px rgba(0,166,118,.11),0 18px 45px rgba(0,127,92,.22); }
.polo-portfolio .demo-internet { top:50%; left:4%; transform:translateY(-50%); }
.polo-portfolio .demo-video { top:7%; right:4%; }
.polo-portfolio .demo-work { top:50%; right:4%; transform:translateY(-50%); }
.polo-portfolio .demo-printer { right:4%; bottom:7%; }

.polo-portfolio .network-benefits { display:flex; flex-direction:column; justify-content:center; padding:clamp(34px,4vw,56px); }
.polo-portfolio .network-benefits h3 { margin:0 0 26px; font-size:clamp(1.8rem,2.7vw,2.55rem); line-height:1.12; }
.polo-portfolio .network-benefits ul { display:grid; gap:18px; margin:0 0 28px; padding:0; list-style:none; }
.polo-portfolio .network-benefits li { display:grid; grid-template-columns:34px minmax(0,1fr); gap:12px; align-items:start; }
.polo-portfolio .network-benefits li > i { display:grid; width:30px; height:30px; place-items:center; border-radius:50%; background:#d8eee7; color:#007f5c; font-size:.72rem; }
.polo-portfolio .network-benefits li span { color:#71645f; font-size:.8rem; line-height:1.45; }
.polo-portfolio .network-benefits li b { display:block; margin-bottom:2px; color:#17110f; font-size:.92rem; }
.polo-portfolio .network-contact-link { display:inline-flex; align-items:center; align-self:flex-start; gap:10px; padding-bottom:5px; border-bottom:2px solid #f15a24; color:#f15a24; font-size:.78rem; font-weight:800; text-transform:uppercase; }
.polo-portfolio .network-contact-link:hover { color:#00a676; border-color:#00a676; }

/* Network story: recognizable outcomes and a living map instead of technical score cards. */
.polo-portfolio .network-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: end;
  border: 1px solid rgba(241, 90, 36, 0.13);
  background: #fff;
  box-shadow: 0 16px 44px rgba(23, 17, 15, 0.08);
}

.polo-portfolio .network-outcomes > div {
  display: grid;
  min-width: 0;
  padding: 22px 14px;
  place-items: center;
  border-right: 1px solid #eadfd9;
  text-align: center;
}

.polo-portfolio .network-outcomes > div:last-child { border-right: 0; }
.polo-portfolio .network-outcomes i { margin-bottom: 10px; color: #f15a24; font-size: 1.3rem; }
.polo-portfolio .network-outcomes strong { color: #17110f; font-size: 0.9rem; }
.polo-portfolio .network-outcomes span { margin-top: 2px; color: #71645f; font-size: 0.68rem; line-height: 1.35; }

.polo-portfolio .network-solution {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  min-height: 470px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 75px rgba(23, 17, 15, 0.13);
}

.polo-portfolio .network-map {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: #f3ebe6;
}

.polo-portfolio .map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: linear-gradient(rgba(167,109,96,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(167,109,96,.18) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 15%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000 15%, transparent 75%);
}

.polo-portfolio .map-hub,
.polo-portfolio .map-node {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  text-align: center;
}

.polo-portfolio .map-hub {
  top: 50%;
  left: 46%;
  width: 150px;
  height: 150px;
  border: 2px solid #f15a24;
  border-radius: 50%;
  background: #fff;
  color: #17110f;
  box-shadow: 0 0 0 16px rgba(167,109,96,.1), 0 18px 55px rgba(241,90,36,.15);
  transform: translate(-50%, -50%);
}

.polo-portfolio .map-hub::before,
.polo-portfolio .map-hub::after {
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(0,166,118,.48);
  border-radius: 50%;
  content: "";
  animation: network-hub-pulse 2.6s ease-out infinite;
}
.polo-portfolio .map-hub::after { animation-delay: 1.3s; }
.polo-portfolio .map-hub i { margin-bottom: -18px; color:#00a676; font-size: 2rem; }
.polo-portfolio .map-hub strong { font-size: 1rem; }
.polo-portfolio .map-hub span { margin-top: -17px; color: #71645f; font-size: .68rem; }

@keyframes network-hub-pulse {
  0% { opacity: .9; transform: scale(.8); }
  100% { opacity: 0; transform: scale(1.35); }
}

.polo-portfolio .map-node {
  width: 112px;
  min-height: 88px;
  padding: 14px 10px;
  border: 1px solid rgba(241,90,36,.2);
  background: #fff;
  color: #17110f;
  box-shadow: 0 14px 32px rgba(241,90,36,.12);
}
.polo-portfolio .map-node i { margin-bottom: 7px; color: #00a676; font-size: 1.35rem; }
.polo-portfolio .map-node span { font-size: .72rem; font-weight: 700; }
.polo-portfolio .map-internet { top: 50%; left: 5%; transform: translateY(-50%); }
.polo-portfolio .map-wifi { top: 8%; right: 5%; }
.polo-portfolio .map-work { top: 50%; right: 5%; transform: translateY(-50%); }
.polo-portfolio .map-devices { right: 5%; bottom: 8%; }

.polo-portfolio .map-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  overflow: hidden;
  background: rgba(167,109,96,.52);
  transform-origin: left center;
}
.polo-portfolio .map-line i {
  position: absolute;
  top: -2px;
  left: -50px;
  width: 50px;
  height: 6px;
  background: #00a676;
  box-shadow: 0 0 14px #00a676;
  animation: map-data-flow 2.2s linear infinite;
}
.polo-portfolio .map-line-in { top: 50%; left: 19%; width: 19%; }
.polo-portfolio .map-line-wifi { top: 42%; left: 56%; width: 28%; transform: rotate(-35deg); }
.polo-portfolio .map-line-work { top: 50%; left: 56%; width: 25%; }
.polo-portfolio .map-line-devices { top: 58%; left: 56%; width: 28%; transform: rotate(35deg); }
.polo-portfolio .map-line-wifi i { animation-delay: .35s; }
.polo-portfolio .map-line-work i { animation-delay: .8s; }
.polo-portfolio .map-line-devices i { animation-delay: 1.2s; }
@keyframes map-data-flow { to { left: 100%; } }

.polo-portfolio .network-approach {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4vw, 58px);
}
.polo-portfolio .network-approach h3 { margin: 0 0 30px; font-size: clamp(1.7rem, 2.5vw, 2.35rem); line-height: 1.16; }
.polo-portfolio .network-approach ol { margin: 0; padding: 0; list-style: none; counter-reset: approach; }
.polo-portfolio .network-approach li {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  padding: 14px 0 14px 22px;
  border-left: 2px solid #e0d0c1;
  counter-increment: approach;
}
.polo-portfolio .network-approach li::before {
  position: absolute;
  top: 22px;
  left: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f15a24;
  content: "";
}
.polo-portfolio .network-approach b { color: #f15a24; }
.polo-portfolio .network-approach span { color: #71645f; font-size: .82rem; line-height: 1.5; }

.polo-portfolio .polo-skill {
  margin-bottom: 26px;
}

.polo-portfolio .skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #17110f;
  font-weight: 800;
}

.polo-portfolio .progress {
  height: 10px;
  border-radius: 0;
  background: rgba(241, 90, 36, 0.09);
  box-shadow: none;
}

.polo-portfolio .progress-bar {
  border-radius: 0;
}

.polo-portfolio .server-layers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.polo-portfolio .server-card {
  min-height: 300px;
  padding: 40px 34px;
  border-top: 5px solid #f15a24;
  background: #fff;
  box-shadow: 0 20px 54px rgba(23, 17, 15, 0.1);
}

.polo-portfolio .server-card:nth-child(2) {
  border-top-color: #f15a24;
  transform: translateY(34px);
}

.polo-portfolio .server-card:nth-child(3) {
  border-top-color: #00a676;
  transform: translateY(68px);
}

.polo-portfolio .server-card i {
  margin-bottom: 28px;
  color: #f15a24;
  font-size: 2.5rem;
}

.polo-portfolio .server-card strong {
  display: block;
  margin-bottom: 12px;
  color: #17110f;
  font-size: 1.35rem;
}

.polo-portfolio .server-card span {
  color: #71645f;
}

/* Server story: show the stack, explain the outcome. */
.polo-portfolio .server-intro {
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
  gap:clamp(40px,7vw,110px);
  align-items:end;
  margin-bottom:48px;
}
.polo-portfolio .server-intro .heading-section { margin:0; }
.polo-portfolio .server-intro h2 { max-width:780px; margin-bottom:20px; font-size:clamp(2.5rem,4.2vw,4.2rem); line-height:1.04; }
.polo-portfolio .server-intro h2::before,.polo-portfolio .server-intro h2::after { display:none!important; content:none!important; }
.polo-portfolio .server-intro .lead { max-width:700px; margin:0; color:#625854; font-size:1.05rem; line-height:1.6; }
.polo-portfolio .server-intro-wide { grid-template-columns:minmax(0,850px); }
.polo-portfolio .server-status { display:grid; gap:6px; padding:24px 26px; border-left:4px solid #00a676; background:#f7f9f9; }
.polo-portfolio .server-status span { display:flex; align-items:center; gap:9px; color:#007f5c; font-size:.7rem; font-weight:800; text-transform:uppercase; }
.polo-portfolio .server-status span i { width:9px; height:9px; border-radius:50%; background:#00a676; box-shadow:0 0 0 5px rgba(0,166,118,.12); animation:server-status-pulse 1.8s ease-in-out infinite; }
.polo-portfolio .server-status strong { color:#17110f; font-size:1.12rem; }
@keyframes server-status-pulse { 50% { box-shadow:0 0 0 9px rgba(0,166,118,0); } }

.polo-portfolio .server-experience { display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,.8fr); gap:clamp(36px,5vw,72px); align-items:stretch; }
.polo-portfolio .server-stack { overflow:hidden; border:1px solid rgba(241,90,36,.16); background:#f3ebe6; box-shadow:0 28px 75px rgba(23,17,15,.13); }
.polo-portfolio .server-stack-header { display:flex; align-items:center; justify-content:space-between; min-height:56px; padding:0 20px; border-bottom:1px solid rgba(241,90,36,.14); background:#fff; }
.polo-portfolio .server-stack-header > span { color:#f15a24; font-size:.72rem; font-weight:800; text-transform:uppercase; }
.polo-portfolio .server-stack-header > div { display:flex; gap:6px; }
.polo-portfolio .server-stack-header i { width:8px; height:8px; border-radius:50%; background:#f15a24; }
.polo-portfolio .server-stack-header i:nth-child(2) { background:#e0d0c1; }
.polo-portfolio .server-stack-header i:nth-child(3) { background:#00a676; }
.polo-portfolio .server-stack-body { position:relative; display:flex; flex-direction:column; padding:32px clamp(20px,4vw,44px); }
.polo-portfolio .stack-layer { position:relative; z-index:2; display:grid; grid-template-columns:58px minmax(0,1fr) auto; gap:18px; align-items:center; min-height:84px; padding:14px 18px; border:1px solid rgba(241,90,36,.13); background:#fff; box-shadow:0 10px 28px rgba(241,90,36,.07); opacity:.32; transform:translateY(10px); transition:opacity 450ms ease,transform 450ms ease,border-color 300ms ease,box-shadow 300ms ease; }
.polo-portfolio .server-stack.is-running .stack-layer { opacity:1; transform:translateY(0); }
.polo-portfolio .server-stack.is-running .stack-hardware { transition-delay:0ms; }
.polo-portfolio .server-stack.is-running .stack-platform { transition-delay:350ms; }
.polo-portfolio .server-stack.is-running .stack-machines { transition-delay:700ms; }
.polo-portfolio .server-stack.is-running .stack-services { transition-delay:1050ms; }
.polo-portfolio .stack-layer:hover { border-color:#00a676; box-shadow:0 16px 38px rgba(0,127,92,.12); }
.polo-portfolio .stack-icon { display:grid; width:48px; height:48px; place-items:center; background:#f15a24; color:#fff; font-size:1.1rem; }
.polo-portfolio .stack-services .stack-icon,.polo-portfolio .stack-machines .stack-icon { background:#00a676; }
.polo-portfolio .stack-layer > div:nth-child(2) { display:grid; }
.polo-portfolio .stack-layer span { color:#f15a24; font-size:.62rem; font-weight:800; text-transform:uppercase; }
.polo-portfolio .stack-layer strong { color:#17110f; font-size:1rem; }
.polo-portfolio .stack-layer em { padding:6px 9px; background:#f7f9f9; color:#f15a24; font-size:.62rem; font-style:normal; font-weight:800; text-transform:uppercase; }
.polo-portfolio .stack-link { position:relative; z-index:1; width:3px; height:22px; margin:0 auto; overflow:hidden; background:#cdb8ad; }
.polo-portfolio .stack-link b { position:absolute; right:0; left:0; height:8px; background:#00a676; animation:server-data-up 1.5s linear infinite; }
.polo-portfolio .stack-link:nth-of-type(2) b { animation-delay:.3s; }
.polo-portfolio .stack-link:nth-of-type(4) b { animation-delay:.6s; }
@keyframes server-data-up { from { bottom:-8px; } to { bottom:100%; } }

.polo-portfolio .server-assurances { display:flex; flex-direction:column; justify-content:center; }
.polo-portfolio .server-assurances h3 { margin:0 0 28px; font-size:clamp(1.8rem,2.8vw,2.65rem); line-height:1.12; }
.polo-portfolio .assurance-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:28px; }
.polo-portfolio .assurance-grid article { display:grid; grid-template-columns:38px minmax(0,1fr); gap:12px; min-height:122px; padding:20px 16px; border:1px solid #eadfd9; background:#fff; transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease; }
.polo-portfolio .assurance-grid article:hover { transform:translateY(-4px); border-color:#f15a24; box-shadow:0 14px 34px rgba(241,90,36,.09); }
.polo-portfolio .assurance-grid article > i { color:#00a676; font-size:1.15rem; }
.polo-portfolio .assurance-grid article div { display:grid; align-content:start; }
.polo-portfolio .assurance-grid strong { margin-bottom:5px; color:#17110f; font-size:.92rem; }
.polo-portfolio .assurance-grid span { color:#71645f; font-size:.76rem; line-height:1.45; }
.polo-portfolio .server-technologies { display:grid; grid-template-columns:minmax(190px,.42fr) minmax(0,1.58fr); gap:28px; align-items:center; margin-top:34px; padding:24px 28px; border:1px solid rgba(241,90,36,.13); background:#f7f9f9; }
.polo-portfolio .server-technologies-copy { display:grid; }
.polo-portfolio .server-technologies-copy span { color:#f15a24; font-size:.65rem; font-weight:800; text-transform:uppercase; }
.polo-portfolio .server-technologies-copy strong { color:#17110f; font-size:1rem; }
.polo-portfolio .server-brand-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:9px; }
.polo-portfolio .server-brand { display:grid; min-height:88px; padding:13px 8px; place-items:center; border:1px solid #e5d8d1; background:#fff; transition:transform 180ms ease,border-color 180ms ease,box-shadow 180ms ease; }
.polo-portfolio .server-brand:hover { transform:translateY(-5px); border-color:#f15a24; box-shadow:0 14px 30px rgba(241,90,36,.1); }
.polo-portfolio .server-brand img,.polo-portfolio .server-brand > i { width:34px; height:34px; margin-bottom:7px; object-fit:contain; color:#f15a24; font-size:2rem; line-height:34px; text-align:center; }
.polo-portfolio .server-brand span { color:#17110f; font-size:.7rem; font-weight:700; }

.polo-portfolio .icon-box-grid {
  row-gap: 28px;
}

.polo-portfolio .icon-box.clean {
  min-height: 210px;
  padding: 28px 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(23, 17, 15, 0.08);
}

.polo-portfolio .icon-box.effect.medium .icon i {
  color: #f15a24;
}

/* Client support: problems people recognize, with a visible route to resolution. */
.polo-portfolio .client-intro { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr); gap:clamp(40px,7vw,110px); align-items:end; margin-bottom:46px; }
.polo-portfolio .client-intro .heading-section { margin:0; }
.polo-portfolio .client-intro h2 { max-width:800px; margin-bottom:20px; font-size:clamp(2.5rem,4.2vw,4.15rem); line-height:1.04; }
.polo-portfolio .client-intro h2::before,.polo-portfolio .client-intro h2::after { display:none!important; content:none!important; }
.polo-portfolio .client-intro .lead { max-width:720px; margin:0; color:#625854; font-size:1.05rem; line-height:1.6; }
.polo-portfolio .client-promise { display:grid; grid-template-columns:48px minmax(0,1fr); gap:16px; align-items:center; padding:22px; border-left:4px solid #f15a24; background:#fff; }
.polo-portfolio .client-promise > i { color:#00a676; font-size:1.8rem; }
.polo-portfolio .client-promise div { display:grid; }
.polo-portfolio .client-promise span { color:#f15a24; font-size:.65rem; font-weight:800; text-transform:uppercase; }
.polo-portfolio .client-promise strong { color:#17110f; font-size:1rem; }

.polo-portfolio .support-console { display:grid; grid-template-columns:minmax(280px,.65fr) minmax(0,1.35fr); overflow:hidden; border:1px solid rgba(241,90,36,.14); background:#fff; box-shadow:0 28px 75px rgba(23,17,15,.13); }
.polo-portfolio .support-cases { display:flex; flex-direction:column; padding:26px 18px; background:#f3ebe6; }
.polo-portfolio .support-cases > span { margin:0 10px 14px; color:#f15a24; font-size:.68rem; font-weight:800; text-transform:uppercase; }
.polo-portfolio .support-cases button { position:relative; display:grid; grid-template-columns:44px minmax(0,1fr); gap:0 13px; width:100%; min-height:76px; padding:14px 14px; border:0; border-bottom:1px solid rgba(241,90,36,.11); background:transparent; color:#17110f; text-align:left; cursor:pointer; transition:background-color 180ms ease,color 180ms ease,transform 180ms ease; }
.polo-portfolio .support-cases button > i { grid-row:1/3; align-self:center; color:#f15a24; font-size:1.3rem; text-align:center; transition:color 180ms ease,transform 180ms ease; }
.polo-portfolio .support-cases button b { align-self:end; font-size:.83rem; }
.polo-portfolio .support-cases button small { align-self:start; color:#71645f; font-size:.65rem; }
.polo-portfolio .support-cases button.is-active { z-index:1; background:#f15a24; color:#fff; transform:translateX(7px); box-shadow:0 12px 28px rgba(241,90,36,.2); }
.polo-portfolio .support-cases button.is-active > i { color:#fff; transform:scale(1.08); }
.polo-portfolio .support-cases button.is-active small { color:#e0d0c1; }

.polo-portfolio .support-resolution { position:relative; display:grid; grid-template-columns:minmax(320px,.95fr) minmax(280px,1.05fr); min-height:420px; padding-top:54px; overflow:hidden; }
.polo-portfolio .support-resolution-head { position:absolute; top:0; right:0; left:0; display:flex; align-items:center; justify-content:space-between; height:54px; padding:0 20px; border-bottom:1px solid #eadfd9; }
.polo-portfolio .support-resolution-head span { color:#f15a24; font-size:.67rem; font-weight:800; text-transform:uppercase; }
.polo-portfolio .support-resolution-head i { width:9px; height:9px; border-radius:50%; background:#00a676; box-shadow:0 0 0 5px rgba(0,166,118,.12); }
.polo-portfolio .support-visual { position:relative; display:grid; place-items:center; min-height:366px; overflow:hidden; background:#e0d0c1; }
.polo-portfolio .support-visual::before { position:absolute; inset:0; opacity:.27; background-image:radial-gradient(rgba(241,90,36,.25) 1px,transparent 1px); background-size:22px 22px; content:""; }
.polo-portfolio .support-device,.polo-portfolio .support-tech { position:absolute; z-index:2; display:grid; width:110px; height:100px; place-items:center; border:1px solid rgba(241,90,36,.18); background:#fff; box-shadow:0 13px 30px rgba(241,90,36,.13); }
.polo-portfolio .support-device { left:8%; }
.polo-portfolio .support-tech { right:8%; }
.polo-portfolio .support-device i,.polo-portfolio .support-tech i { margin-bottom:-18px; color:#f15a24; font-size:1.5rem; }
.polo-portfolio .support-device span,.polo-portfolio .support-tech span { margin-top:-18px; font-size:.68rem; font-weight:800; }
.polo-portfolio .support-progress { position:absolute; z-index:1; right:29%; left:29%; display:flex; align-items:center; justify-content:space-around; height:3px; background:#f15a24; }
.polo-portfolio .support-progress i { width:9px; height:9px; border-radius:50%; background:#00a676; opacity:0; }
.polo-portfolio .support-resolution.is-solving .support-progress i { animation:support-dot 1.25s ease-in-out forwards; }
.polo-portfolio .support-resolution.is-solving .support-progress i:nth-child(2) { animation-delay:.25s; }
.polo-portfolio .support-resolution.is-solving .support-progress i:nth-child(3) { animation-delay:.5s; }
@keyframes support-dot { 0%{opacity:0;transform:translateX(-20px)} 100%{opacity:1;transform:translateX(0);box-shadow:0 0 0 5px rgba(0,166,118,.14)} }
.polo-portfolio .support-check { position:absolute; z-index:3; right:calc(8% - 8px); bottom:calc(50% - 62px); display:grid; width:34px; height:34px; place-items:center; border-radius:50%; background:#00a676; color:#fff; opacity:0; transform:scale(.5); }
.polo-portfolio .support-resolution.is-solving .support-check { animation:support-check-in 400ms ease 850ms forwards; }
@keyframes support-check-in { to{opacity:1;transform:scale(1)} }

.polo-portfolio .support-copy { display:none; align-content:center; padding:clamp(30px,4vw,52px); }
.polo-portfolio .support-copy.is-active { display:grid; animation:support-copy-in 320ms ease; }
@keyframes support-copy-in { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }
.polo-portfolio .support-copy > span { color:#f15a24; font-size:.67rem; font-weight:800; text-transform:uppercase; }
.polo-portfolio .support-copy h3 { margin:8px 0 14px; font-size:clamp(1.65rem,2.6vw,2.4rem); line-height:1.12; }
.polo-portfolio .support-copy p { margin:0 0 22px; color:#71645f; font-size:.85rem; line-height:1.65; }
.polo-portfolio .support-copy strong { display:flex; align-items:center; gap:9px; color:#007f5c; font-size:.78rem; }

.polo-portfolio .security-strip { display:grid; grid-template-columns:minmax(200px,.75fr) repeat(3,minmax(0,1fr)); gap:0; margin-top:30px; border:1px solid rgba(241,90,36,.13); background:#fff; }
.polo-portfolio .security-strip-title,.polo-portfolio .security-strip article { min-height:108px; padding:20px; border-right:1px solid #eadfd9; }
.polo-portfolio .security-strip > :last-child { border-right:0; }
.polo-portfolio .security-strip-title { display:grid; align-content:center; background:#f15a24; }
.polo-portfolio .security-strip-title span { color:#e0d0c1; font-size:.62rem; font-weight:800; text-transform:uppercase; }
.polo-portfolio .security-strip-title strong { color:#fff; font-size:1rem; }
.polo-portfolio .security-strip article { display:grid; grid-template-columns:34px minmax(0,1fr); gap:12px; align-items:center; }
.polo-portfolio .security-strip article > i { color:#00a676; font-size:1.2rem; }
.polo-portfolio .security-strip article div { display:grid; }
.polo-portfolio .security-strip article b { color:#17110f; font-size:.78rem; }
.polo-portfolio .security-strip article span { color:#71645f; font-size:.65rem; line-height:1.45; }

.polo-portfolio .polo-contact {
  padding: 36px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(23, 17, 15, 0.12);
}

.polo-portfolio .hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.polo-portfolio .form-result {
  margin: 18px 0 0;
  font-weight: 700;
}

@media (max-width: 1199px) {
  .polo-portfolio .portfolio-modern {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 991px) {
  .polo-portfolio .snap-sections {
    scroll-snap-type: none;
  }

  .polo-portfolio .snap-panel,
  .polo-portfolio #websites {
    min-height: 0;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .polo-portfolio .server-layers {
    grid-template-columns: 1fr;
  }

  .polo-portfolio .server-intro,.polo-portfolio .server-experience { grid-template-columns:1fr; }
  .polo-portfolio .client-intro,.polo-portfolio .support-console { grid-template-columns:1fr; }
  .polo-portfolio .support-cases { display:grid; grid-template-columns:1fr 1fr; }
  .polo-portfolio .support-cases > span { grid-column:1/-1; }
  .polo-portfolio .support-cases button.is-active { transform:none; }
  .polo-portfolio .security-strip { grid-template-columns:1fr 1fr; }
  .polo-portfolio .security-strip-title,.polo-portfolio .security-strip article { border-bottom:1px solid #eadfd9; }
  .polo-portfolio .server-technologies { grid-template-columns:1fr; }
  .polo-portfolio .server-brand-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }

  .polo-portfolio .network-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .polo-portfolio .network-solution { grid-template-columns: 1fr; }
  .polo-portfolio .network-map { min-height: 430px; }

  .polo-portfolio .network-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .polo-portfolio .network-outcomes { grid-template-columns: 1fr; }
  .polo-portfolio .network-outcomes > div { grid-template-columns: 34px 70px minmax(0,1fr); justify-items:start; padding:14px 18px; border-right:0; border-bottom:1px solid #eadfd9; text-align:left; }
  .polo-portfolio .network-outcomes > div:last-child { border-bottom:0; }
  .polo-portfolio .network-outcomes i { margin:0; }
  .polo-portfolio .network-map { min-height: 390px; }
  .polo-portfolio .map-hub { left:49%; width:104px; height:104px; }
  .polo-portfolio .map-hub i { font-size:1.55rem; }
  .polo-portfolio .map-hub strong { font-size:.82rem; }
  .polo-portfolio .map-hub span { font-size:.58rem; }
  .polo-portfolio .map-node { width:88px; min-height:74px; padding:10px 6px; }
  .polo-portfolio .map-internet { left:3%; }
  .polo-portfolio .map-wifi, .polo-portfolio .map-work, .polo-portfolio .map-devices { right:3%; }
  .polo-portfolio .map-node span { font-size:.62rem; }
  .polo-portfolio .map-line-in { left:28%; width:13%; }
  .polo-portfolio .map-line-wifi, .polo-portfolio .map-line-devices { left:58%; width:24%; }
  .polo-portfolio .map-line-work { left:58%; width:19%; }

  .polo-portfolio .network-signal {
    display: none;
  }

  .polo-portfolio .network-proof {
    grid-template-columns: 1fr;
  }

  .polo-portfolio .network-brand-grid {
    grid-template-columns: repeat(5, minmax(90px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .polo-portfolio .network-demo-content { grid-template-columns:1fr; }

  .polo-portfolio .server-card:nth-child(2),
  .polo-portfolio .server-card:nth-child(3) {
    transform: none;
  }

  .polo-portfolio .portfolio-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .polo-portfolio .client-intro h2 { font-size:2.55rem; }
  .polo-portfolio .support-cases { grid-template-columns:1fr; }
  .polo-portfolio .support-cases > span { grid-column:auto; }
  .polo-portfolio .support-resolution { grid-template-columns:1fr; padding-top:54px; }
  .polo-portfolio .support-visual { min-height:290px; }
  .polo-portfolio .support-copy { min-height:280px; }
  .polo-portfolio .support-device,.polo-portfolio .support-tech { width:84px; height:82px; }
  .polo-portfolio .support-device i,.polo-portfolio .support-tech i { font-size:1.15rem; }
  .polo-portfolio .support-device span,.polo-portfolio .support-tech span { font-size:.56rem; }
  .polo-portfolio .security-strip { grid-template-columns:1fr; }
  .polo-portfolio .security-strip-title,.polo-portfolio .security-strip article { border-right:0; }
  .polo-portfolio .server-intro h2 { font-size:2.55rem; }
  .polo-portfolio .server-stack-body { padding:22px 14px; }
  .polo-portfolio .stack-layer { grid-template-columns:46px minmax(0,1fr); gap:12px; padding:12px; }
  .polo-portfolio .stack-layer em { display:none; }
  .polo-portfolio .stack-icon { width:42px; height:42px; }
  .polo-portfolio .stack-layer strong { font-size:.83rem; }
  .polo-portfolio .assurance-grid { grid-template-columns:1fr; }
  .polo-portfolio .server-technologies { padding:20px 16px; }
  .polo-portfolio .server-brand-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .polo-portfolio .network-demo-head { align-items:stretch; flex-direction:column; }
  .polo-portfolio .network-demo-toggle { display:grid; grid-template-columns:1fr 1fr; }
  .polo-portfolio .network-demo-toggle button { min-width:0; }
  .polo-portfolio .network-demo-scene { min-height:390px; }
  .polo-portfolio .demo-router { left:48%; width:102px; height:102px; border-width:5px; }
  .polo-portfolio .demo-router i { font-size:1.35rem; }
  .polo-portfolio .demo-router strong { font-size:.7rem; }
  .polo-portfolio .demo-router span { font-size:.52rem; }
  .polo-portfolio .demo-node { width:84px; min-height:72px; padding:9px 5px; }
  .polo-portfolio .demo-node i { font-size:1rem; }
  .polo-portfolio .demo-node strong { font-size:.62rem; }
  .polo-portfolio .demo-node > span { font-size:.5rem; }
  .polo-portfolio .demo-internet { left:3%; }
  .polo-portfolio .demo-video,.polo-portfolio .demo-work,.polo-portfolio .demo-printer { right:3%; }
  .polo-portfolio .network-journey {
    grid-template-columns: 1fr;
  }

  .polo-portfolio .network-proof {
    align-items: flex-start;
    padding: 24px 20px;
  }

  .polo-portfolio .network-brand-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .polo-portfolio .network-brand:last-child {
    grid-column: 1 / -1;
  }

  .polo-portfolio .polo-hero h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .polo-portfolio .direction-card {
    min-height: 220px;
    padding: 34px 26px;
  }

  .polo-portfolio .portfolio-modern {
    padding: 0 12px 50px;
  }

  .polo-portfolio .polo-contact {
    padding: 24px;
  }

  .polo-portfolio .project-detail {
    padding: 78px 18px 28px;
  }

  .polo-portfolio .project-detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .polo-portfolio .device-stage {
    min-height: 360px;
  }

  .polo-portfolio .device.laptop {
    width: 88%;
    top: 44px;
  }

  .polo-portfolio .device.tablet {
    width: 34%;
    right: 4%;
  }

  .polo-portfolio .device.phone {
    width: 24%;
    bottom: 14px;
  }

  .polo-portfolio .project-copy {
    padding: 28px 22px;
  }

  .polo-portfolio .portfolio-showcase {
    grid-template-columns: 1fr;
  }

  .polo-portfolio .showcase-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .polo-portfolio .showcase-actions button,
  .polo-portfolio .showcase-actions a {
    justify-content: center;
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--garnet), var(--clay), var(--green));
  transform: scaleX(0);
  transform-origin: left;
}

.site-nav {
  padding: 18px 0;
  background: rgba(23, 17, 15, 0.18);
  backdrop-filter: blur(14px);
  transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

.site-nav.is-scrolled {
  padding: 10px 0;
  background: rgba(247, 249, 249, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  width: 230px;
  max-width: 58vw;
}

.navbar-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav.is-scrolled .nav-link {
  color: var(--ink);
}

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--green);
}

.nav-cta {
  margin-left: 10px;
  padding-right: 18px !important;
  padding-left: 18px !important;
  border-radius: 8px;
  background: var(--garnet);
  color: #fff !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.85);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(23, 17, 15, 0.86) 0%, rgba(241, 90, 36, 0.78) 47%, rgba(0, 166, 118, 0.28) 100%),
    url("../img/hero-it-portfolio.png") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(23, 17, 15, 0.92), transparent);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 170px;
  padding-bottom: 78px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.hero h1 {
  max-width: 980px;
  margin: 18px 0 22px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.94;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 22px;
  font-weight: 900;
}

.btn-primary-red {
  border: 1px solid var(--garnet);
  background: linear-gradient(135deg, var(--garnet), #f15a24);
  color: #fff;
  box-shadow: 0 16px 36px rgba(241, 90, 36, 0.28);
}

.btn-primary-red:hover,
.btn-primary-red:focus {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(0.9);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.signal-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(247, 249, 249, 0.11);
  backdrop-filter: blur(18px);
}

.availability {
  margin-bottom: 18px;
  color: #fff;
  font-weight: 900;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.signal-grid div {
  min-height: 108px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.signal-grid strong {
  display: block;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.signal-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
}

.section {
  padding: 96px 0;
}

.section-snow {
  background: var(--snow);
}

.section-cream {
  background: linear-gradient(180deg, var(--cream), #efe6dc);
}

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.sticky-copy h2,
.contact-copy h2 {
  margin: 12px 0 14px;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.section-heading p,
.sticky-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.section-heading.light p {
  color: rgba(255, 255, 255, 0.68);
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.value-strip > div {
  min-height: 285px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.value-strip > div:last-child {
  border-right: 0;
}

.value-icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--garnet);
  font-weight: 950;
}

.value-strip h3,
.work-card h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  font-weight: 950;
}

.value-strip p,
.work-card p,
.question-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  background: #2a1a15;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.64;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 17, 15, 0.95), rgba(241, 90, 36, 0.14));
}

.work-card > div {
  position: relative;
  z-index: 1;
  padding: 30px;
}

.work-card:hover img {
  transform: scale(1.06);
  opacity: 0.86;
}

.work-card:nth-child(1) img {
  object-position: 34% center;
}

.work-card:nth-child(2) img {
  object-position: 72% center;
}

.work-card:nth-child(3) img {
  object-position: 58% center;
}

.work-card:nth-child(4) img {
  object-position: 86% center;
}

.work-card span {
  color: var(--green);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-card p {
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-section {
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(241, 90, 36, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(224, 208, 193, 0.34), transparent 34%);
  pointer-events: none;
}

.portfolio-section .container {
  position: relative;
  z-index: 1;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-card {
  grid-column: span 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.portfolio-card.featured {
  grid-column: span 3;
}

.portfolio-shot {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(241, 90, 36, 0.92), rgba(167, 109, 96, 0.64)),
    var(--ink);
}

.portfolio-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 17, 15, 0.55), transparent 48%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.portfolio-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.01);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.portfolio-card:hover .portfolio-shot img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.04);
}

.portfolio-card:hover .portfolio-shot::after {
  opacity: 1;
}

.portfolio-info {
  padding: 24px;
}

.portfolio-info span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-info h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 950;
}

.portfolio-info p {
  min-height: 78px;
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.62;
}

.portfolio-info a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--garnet);
  color: #fff;
  font-weight: 950;
  text-decoration: none;
}

.portfolio-info a:hover,
.portfolio-info a:focus {
  background: #f15a24;
  color: #fff;
  filter: brightness(0.9);
}

.sticky-copy {
  position: sticky;
  top: 112px;
}

.skill-stack {
  display: grid;
  gap: 14px;
}

.skill-stack div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 90px;
  padding: 22px;
  border: 1px solid rgba(241, 90, 36, 0.16);
  border-radius: 8px;
  background: rgba(247, 249, 249, 0.58);
}

.skill-stack strong {
  color: var(--garnet);
  font-size: 1.05rem;
}

.skill-stack span {
  color: #4b3c37;
  line-height: 1.55;
}

.proof-band {
  padding: 54px 0;
  background: linear-gradient(90deg, var(--garnet), var(--clay));
  color: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.proof-grid div {
  min-height: 108px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.28rem;
  font-weight: 950;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.74);
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.question-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.question-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green);
  font-weight: 950;
}

.contact-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 166, 118, 0.16), transparent 34%),
    linear-gradient(135deg, #1a100d, var(--garnet));
  color: #fff;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-copy a {
  display: inline-flex;
  margin-top: 16px;
  color: #fff;
  font-weight: 900;
}

.contact-form {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(247, 249, 249, 0.09);
  backdrop-filter: blur(16px);
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 166, 118, 0.18);
}

.contact-form button {
  margin-top: 22px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-result {
  min-height: 28px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.form-result.is-success {
  color: #b8ffe9;
}

.form-result.is-error {
  color: #ffd2c8;
}

.site-footer {
  padding: 28px 0;
  background: #120c0a;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer img {
  width: 210px;
  max-width: 58vw;
  height: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 991.98px) {
  .site-nav {
    background: rgba(247, 249, 249, 0.96);
  }

  .navbar-brand,
  .nav-link {
    color: var(--ink);
  }

  .navbar-brand {
    width: 190px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 142px;
    padding-bottom: 56px;
  }

  .value-strip,
  .work-grid,
  .portfolio-grid,
  .proof-grid,
  .question-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card,
  .portfolio-card.featured {
    grid-column: span 1;
  }

  .value-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .skill-stack div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 16vw, 4.2rem);
  }

  .signal-grid,
  .value-strip,
  .work-grid,
  .portfolio-grid,
  .proof-grid,
  .question-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 360px;
  }

  .site-footer .container {
    flex-direction: column;
  }
}

/* V4 portfolio split */
.portfolio-v4 {
  background: #11100f;
}

.portfolio-v4 .site-nav {
  background: rgba(18, 14, 12, 0.72);
}

.portfolio-v4 .site-nav.is-scrolled {
  background: rgba(18, 14, 12, 0.84);
}

.portfolio-v4 .site-nav.is-scrolled .nav-link {
  color: rgba(255, 255, 255, 0.88);
}

.snap-shell {
  scroll-snap-type: y mandatory;
}

.snap-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-margin-top: 0;
  padding: 104px 0 42px;
  overflow: hidden;
}

.landing-page {
  position: relative;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(17, 12, 10, 0.9), rgba(241, 90, 36, 0.72), rgba(0, 166, 118, 0.26)),
    url("../img/hero-it-portfolio.png") center/cover no-repeat;
}

.landing-page::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(17, 12, 10, 0.95), transparent);
}

.landing-page .container {
  position: relative;
  z-index: 2;
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: 44px;
  align-items: end;
}

.landing-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
}

.domain-head h2 {
  margin: 10px 0 0;
  font-size: clamp(2.35rem, 4.8vw, 4.35rem);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: 0;
}

.domain-launcher {
  display: grid;
  gap: 14px;
}

.domain-tile {
  min-height: 126px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-areas: "num title" "num sub";
  align-content: center;
  gap: 4px 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.domain-tile:hover,
.domain-tile:focus {
  color: #fff;
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.domain-tile span {
  grid-area: num;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 950;
}

.domain-tile strong {
  grid-area: title;
  font-size: 1.55rem;
  line-height: 1;
}

.domain-tile em {
  grid-area: sub;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.domain-tile.web,
.domain-web {
  --domain: #f15a24;
  --domain-2: #f15a24;
}

.domain-tile.net,
.domain-net {
  --domain: #00a676;
  --domain-2: #087b5f;
}

.domain-tile.srv,
.domain-srv {
  --domain: #f15a24;
  --domain-2: #e0d0c1;
}

.domain-tile.sec,
.domain-sec {
  --domain: #252220;
  --domain-2: #00a676;
}

.domain-tile {
  background: linear-gradient(135deg, var(--domain), var(--domain-2));
}

.domain-page {
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--domain-2) 34%, transparent), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--domain) 92%, #11100f), #11100f 72%);
}

.domain-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: 30px;
  margin-bottom: 20px;
}

.domain-head span {
  align-self: start;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 34%);
  gap: 18px;
  overflow-x: auto;
  padding: 12px 4px 22px;
  scroll-snap-type: x mandatory;
}

.project-card {
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.project-card div {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
}

.project-card strong {
  font-size: 1.05rem;
}

.project-card a,
.portfolio-v4 .contact-copy a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--domain, #f15a24);
  font-weight: 950;
  text-decoration: none;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 30px;
  align-items: stretch;
}

.skill-bars,
.vendor-wall,
.security-grid,
.server-stack {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.skill-bars {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.skill-bars div {
  position: relative;
  min-height: 48px;
}

.skill-bars span,
.skill-bars strong {
  position: relative;
  z-index: 1;
  font-weight: 950;
}

.skill-bars strong {
  float: right;
}

.skill-bars i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.skill-bars i::after {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff, var(--domain-2));
}

.vendor-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
}

.vendor-wall span {
  min-height: 56px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.15rem;
  font-weight: 950;
}

.server-stack {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.server-layer {
  min-height: 102px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.server-layer span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  border-radius: 8px;
  background: #fff;
  color: #17110f;
  font-weight: 950;
}

.server-layer strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.05;
}

.server-layer em {
  display: block;
  grid-column: 2;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-style: normal;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
}

.security-grid div {
  min-height: 122px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.security-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.security-grid span {
  color: rgba(255, 255, 255, 0.73);
}

.portfolio-v4 .contact-section {
  min-height: 100vh;
}

@media (max-width: 991.98px) {
  .portfolio-v4 .site-nav,
  .portfolio-v4 .site-nav.is-scrolled {
    background: rgba(247, 249, 249, 0.96);
  }

  .portfolio-v4 .site-nav .nav-link,
  .portfolio-v4 .site-nav.is-scrolled .nav-link {
    color: var(--ink);
  }

  .snap-page {
    min-height: auto;
    scroll-snap-align: none;
    padding: 118px 0 62px;
  }

  .snap-shell {
    scroll-snap-type: none;
  }

  .landing-grid,
  .domain-head,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .project-rail {
    grid-auto-columns: minmax(280px, 82%);
  }

  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .landing-copy h1,
  .domain-head h2 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .domain-tile {
    min-height: 108px;
  }

  .vendor-wall,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .server-layer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .polo-portfolio .polo-hero .container-fullscreen {
    min-height: 760px;
  }

  .polo-portfolio .polo-hero .text-middle {
    top: 52%;
  }

  .polo-portfolio .polo-hero h1 {
    max-width: 330px;
    margin-bottom: 24px;
    font-size: clamp(2.55rem, 11.5vw, 3.45rem);
    line-height: 1.03;
  }

  .polo-portfolio .polo-hero .lead {
    display: block;
    max-width: 320px;
    margin-top: 0;
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .polo-portfolio .hero-actions {
    margin-top: 22px;
  }
}

/* Final device desk mockup overrides. */
body.polo-portfolio .project-detail .device-stage {
  position: relative !important;
  width: 100% !important;
  max-width: 760px !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  margin: 0 auto !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(23, 17, 15, 0.08), rgba(23, 17, 15, 0.18)),
    url("../img/portfolio-device-desk.png") center / cover no-repeat !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42) !important;
}

body.polo-portfolio .project-detail .device {
  position: absolute !important;
  overflow: visible !important;
  border: 7px solid #101112 !important;
  background: #101112 !important;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16) !important;
}

body.polo-portfolio .project-detail .device img {
  overflow: hidden;
  border-radius: inherit;
}

body.polo-portfolio .project-detail .device.laptop {
  left: 7% !important;
  top: auto !important;
  right: auto !important;
  bottom: 12% !important;
  width: 56% !important;
  aspect-ratio: 16 / 10 !important;
  padding: 10px !important;
  border-radius: 16px !important;
  transform: perspective(900px) rotateX(1.5deg) rotateY(0.8deg) !important;
}

body.polo-portfolio .project-detail .device.laptop::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: -12px;
  height: 13px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(90deg, #222, #777, #1b1b1b);
  box-shadow: 0 16px 22px rgba(0, 0, 0, 0.32);
}

body.polo-portfolio .project-detail .device.tablet {
  left: auto !important;
  right: 18% !important;
  top: auto !important;
  bottom: 15% !important;
  width: 23% !important;
  aspect-ratio: 3 / 4 !important;
  padding: 8px !important;
  border-radius: 20px !important;
  transform: perspective(900px) rotateX(2deg) rotateY(-5deg) !important;
}

body.polo-portfolio .project-detail .device.phone {
  left: auto !important;
  right: 7% !important;
  top: auto !important;
  bottom: 16% !important;
  width: 11% !important;
  aspect-ratio: 9 / 16 !important;
  padding: 6px !important;
  border-radius: 20px !important;
  transform: perspective(900px) rotateX(2deg) rotateY(-8deg) !important;
}

body.polo-portfolio .project-detail .device-stage.no-phone.has-laptop.has-tablet .device.laptop {
  left: 10% !important;
  width: 58% !important;
}

body.polo-portfolio .project-detail .device-stage.no-phone.has-laptop.has-tablet .device.tablet {
  right: 9% !important;
  width: 25% !important;
}

body.polo-portfolio .project-detail .device-stage.no-tablet.has-laptop.has-phone .device.laptop {
  left: 10% !important;
  width: 60% !important;
}

body.polo-portfolio .project-detail .device-stage.no-tablet.has-laptop.has-phone .device.phone {
  right: 13% !important;
  width: 13% !important;
}

body.polo-portfolio .project-detail .device-stage.no-laptop.has-tablet.has-phone .device.tablet {
  left: 24% !important;
  right: auto !important;
  width: 28% !important;
}

body.polo-portfolio .project-detail .device-stage.no-laptop.has-tablet.has-phone .device.phone {
  right: 26% !important;
  width: 13% !important;
}

/* Clients & security: one readable workplace story, without controls or status UI. */
body.polo-portfolio #security .client-intro {
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  margin-bottom: 42px;
}

body.polo-portfolio #security .client-intro .heading-section,
body.polo-portfolio #security .client-intro h2,
body.polo-portfolio #security .client-intro .lead {
  width: 100%;
  max-width: none;
}

body.polo-portfolio #security .client-side-note {
  max-width: 390px;
  margin: 0 0 7px;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--clay);
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

body.polo-portfolio #security .client-side-note span {
  display: block;
  margin-bottom: 5px;
  color: var(--garnet);
  font-size: .67rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.polo-portfolio #security .workplace-story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  min-height: 530px;
  border: 1px solid rgba(241, 90, 36, .15);
  background: #fff;
  box-shadow: 0 28px 75px rgba(23, 17, 15, .12);
}

body.polo-portfolio #security .workplace-scene {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border-right: 1px solid rgba(241, 90, 36, .12);
  background:
    linear-gradient(rgba(241, 90, 36, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 90, 36, .045) 1px, transparent 1px),
    #e7d8ca;
  background-size: 44px 44px;
}

body.polo-portfolio #security .scene-caption {
  position: absolute;
  top: 24px;
  left: 28px;
  color: var(--garnet);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.polo-portfolio #security .workplace-desk {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(49%, 350px);
  transform: translate(-50%, -43%);
}

body.polo-portfolio #security .workplace-screen {
  overflow: hidden;
  aspect-ratio: 1.48 / 1;
  padding: 9px;
  border-radius: 9px;
  background: #201b19;
  box-shadow: 0 24px 45px rgba(45, 25, 18, .24);
}

body.polo-portfolio #security .screen-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  background: #f7f9f9;
}

body.polo-portfolio #security .screen-toolbar > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

body.polo-portfolio #security .screen-toolbar > i:nth-child(2) { background: var(--cream); }
body.polo-portfolio #security .screen-toolbar > i:nth-child(3) { background: var(--green); }
body.polo-portfolio #security .screen-toolbar > span { margin-left: auto; color: var(--muted); font-size: .57rem; font-weight: 700; }

body.polo-portfolio #security .screen-content {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 15px;
  align-content: center;
  height: calc(100% - 30px);
  padding: 20px;
  background: #fff;
}

body.polo-portfolio #security .screen-person {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: var(--garnet);
  color: #fff;
  font-size: 1.25rem;
}

body.polo-portfolio #security .screen-copy { display: grid; align-content: center; }
body.polo-portfolio #security .screen-copy strong { color: var(--ink); font-size: 1rem; }
body.polo-portfolio #security .screen-copy span { color: var(--muted); font-size: .65rem; }

body.polo-portfolio #security .screen-tools {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 8px;
}

body.polo-portfolio #security .screen-tools span {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid rgba(241, 90, 36, .12);
  color: var(--garnet);
  font-size: .58rem;
  font-weight: 700;
}

body.polo-portfolio #security .screen-tools i { color: var(--green); font-size: .9rem; }

body.polo-portfolio #security .workplace-stand {
  width: 38%;
  height: 40px;
  margin: 0 auto;
  border-bottom: 10px solid #4b403c;
  background: linear-gradient(90deg, transparent 35%, #4b403c 35% 65%, transparent 65%);
}

body.polo-portfolio #security .scene-service {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  width: 190px;
  min-height: 70px;
  padding: 12px 14px;
  border: 1px solid rgba(241, 90, 36, .15);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 24px rgba(241, 90, 36, .09);
}

body.polo-portfolio #security .scene-service > i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--garnet);
  font-size: 1rem;
}

body.polo-portfolio #security .scene-service span { display: grid; }
body.polo-portfolio #security .scene-service b { color: var(--ink); font-size: .7rem; }
body.polo-portfolio #security .scene-service small { color: var(--muted); font-size: .58rem; }
body.polo-portfolio #security .scene-service-account { top: 14%; right: 5%; }
body.polo-portfolio #security .scene-service-camera { top: 15%; left: 5%; }
body.polo-portfolio #security .scene-service-print { bottom: 8%; left: 5%; }
body.polo-portfolio #security .scene-service-help { right: 5%; bottom: 8%; }
body.polo-portfolio #security .scene-service-account > i,
body.polo-portfolio #security .scene-service-print > i { color: var(--green); }

body.polo-portfolio #security .workplace-steps {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4vw, 58px);
}

body.polo-portfolio #security .workplace-steps h3 {
  max-width: 430px;
  margin: 10px 0 28px;
  color: var(--ink);
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  line-height: 1.1;
}

body.polo-portfolio #security .workplace-steps ol { margin: 0; padding: 0; list-style: none; }
body.polo-portfolio #security .workplace-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 15px 0; border-top: 1px solid #eadfd9; }
body.polo-portfolio #security .workplace-steps li > span { color: var(--clay); font-size: .67rem; font-weight: 800; }
body.polo-portfolio #security .workplace-steps li div { display: grid; grid-template-columns: 105px 1fr; gap: 14px; }
body.polo-portfolio #security .workplace-steps b { color: var(--garnet); font-size: .82rem; }
body.polo-portfolio #security .workplace-steps p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }

body.polo-portfolio #security .workplace-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
  margin-top: 24px;
  border: 1px solid rgba(241, 90, 36, .14);
  background: #fff;
}

body.polo-portfolio #security .workplace-summary strong,
body.polo-portfolio #security .workplace-summary span {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 12px 18px;
  border-right: 1px solid #eadfd9;
  color: var(--ink);
  font-size: .67rem;
  font-weight: 700;
}

body.polo-portfolio #security .workplace-summary strong {
  flex: 1 1 270px;
  background: var(--garnet);
  color: #fff;
  font-size: .76rem;
}

body.polo-portfolio #security .workplace-summary span { flex: 1 0 auto; }

@media (max-width: 991px) {
  body.polo-portfolio #security .workplace-story { grid-template-columns: 1fr; }
  body.polo-portfolio #security .workplace-scene { border-right: 0; border-bottom: 1px solid rgba(241, 90, 36, .12); }
}

@media (max-width: 767px) {
  body.polo-portfolio #security .client-intro { display: grid; gap: 24px; }
  body.polo-portfolio #security .client-intro h2 { font-size: 2.45rem; }
  body.polo-portfolio #security .workplace-scene { min-height: 570px; }
  body.polo-portfolio #security .workplace-desk { top: 49%; width: 74%; }
  body.polo-portfolio #security .scene-service { width: 44%; min-height: 66px; padding: 9px; grid-template-columns: 30px 1fr; gap: 7px; }
  body.polo-portfolio #security .scene-service > i { width: 30px; height: 30px; }
  body.polo-portfolio #security .scene-service-camera { top: 12%; left: 4%; }
  body.polo-portfolio #security .scene-service-account { top: 12%; right: 4%; }
  body.polo-portfolio #security .scene-service-print { bottom: 5%; left: 4%; }
  body.polo-portfolio #security .scene-service-help { right: 4%; bottom: 5%; }
  body.polo-portfolio #security .workplace-steps { padding: 34px 24px; }
  body.polo-portfolio #security .workplace-steps li div { grid-template-columns: 1fr; gap: 2px; }
  body.polo-portfolio #security .workplace-summary { display: grid; grid-template-columns: 1fr 1fr; }
  body.polo-portfolio #security .workplace-summary strong { grid-column: 1 / -1; }
  body.polo-portfolio #security .workplace-summary span { border-bottom: 1px solid #eadfd9; }
}

/* Contact: a confident final invitation instead of a generic form block. */
body.polo-portfolio #contact {
  overflow: hidden;
  background: #f2eeeb;
}

body.polo-portfolio #contact .contact-stage {
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(0, 1fr);
  min-height: 610px;
  border: 1px solid rgba(241, 90, 36, .14);
  background: #fff;
  box-shadow: 0 32px 90px rgba(37, 19, 14, .15);
}

body.polo-portfolio #contact .contact-invite {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(42px, 4.2vw, 64px);
  background: var(--garnet);
  color: #fff;
}

body.polo-portfolio #contact .contact-invite::after {
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(224, 208, 193, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(224, 208, 193, .05), 0 0 0 90px rgba(224, 208, 193, .035);
  content: "";
}

body.polo-portfolio #contact .contact-invite .section-kicker {
  position: relative;
  z-index: 1;
  color: var(--cream);
}

body.polo-portfolio #contact .contact-invite h2 {
  position: relative;
  z-index: 1;
  max-width: 570px;
  margin: 15px 0 24px;
  color: #fff;
  font-size: clamp(2.7rem, 4.1vw, 4.25rem);
  line-height: 1.02;
}

body.polo-portfolio #contact .contact-invite p {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin: 0 0 34px;
  color: #eadfd9;
  font-size: .95rem;
  line-height: 1.65;
}

body.polo-portfolio #contact .contact-mail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  max-width: 500px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
}

body.polo-portfolio #contact .contact-mail:hover { color: var(--cream); }
body.polo-portfolio #contact .contact-mail > i:first-child { font-size: 1.25rem; }
body.polo-portfolio #contact .contact-mail > i:last-child { transition: transform 180ms ease; }
body.polo-portfolio #contact .contact-mail:hover > i:last-child { transform: translateX(5px); }
body.polo-portfolio #contact .contact-mail span { display: grid; }
body.polo-portfolio #contact .contact-mail small { color: #d8bfb6; font-size: .65rem; }
body.polo-portfolio #contact .contact-mail strong { color: inherit; font-size: 1rem; }

body.polo-portfolio #contact .contact-subjects {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin-top: 34px;
}

body.polo-portfolio #contact .contact-subjects span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #eadfd9;
  font-size: .72rem;
  font-weight: 700;
}

body.polo-portfolio #contact .contact-subjects i {
  width: 18px;
  color: var(--cream);
  text-align: center;
}

body.polo-portfolio #contact .contact-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 72px);
}

body.polo-portfolio #contact .contact-form-heading { margin-bottom: 30px; }
body.polo-portfolio #contact .contact-form-heading > span { color: var(--clay); font-size: .67rem; font-weight: 800; text-transform: uppercase; }
body.polo-portfolio #contact .contact-form-heading h3 { margin: 6px 0 8px; color: var(--ink); font-size: clamp(1.8rem, 2.8vw, 2.75rem); line-height: 1.12; }
body.polo-portfolio #contact .contact-form-heading p { margin: 0; color: var(--muted); font-size: .8rem; }

body.polo-portfolio #contact .polo-contact {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

body.polo-portfolio #contact .contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}

body.polo-portfolio #contact .form-group { margin: 0; }
body.polo-portfolio #contact .contact-message { grid-column: 1 / -1; }
body.polo-portfolio #contact label { margin-bottom: 8px; color: var(--ink); font-size: .69rem; font-weight: 800; }
body.polo-portfolio #contact label span { color: var(--clay); }

body.polo-portfolio #contact .form-control {
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid #d8cfca;
  border-radius: 0;
  background-color: #fff;
  color: var(--ink);
  font-size: .82rem;
  box-shadow: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

body.polo-portfolio #contact textarea.form-control { min-height: 126px; resize: vertical; }
body.polo-portfolio #contact .form-control::placeholder { color: #a29691; opacity: 1; }
body.polo-portfolio #contact .form-control:focus { border-color: var(--garnet); box-shadow: inset 3px 0 0 var(--garnet); }

body.polo-portfolio #contact .contact-submit {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
}

body.polo-portfolio #contact .contact-submit > span {
  max-width: 260px;
  color: var(--muted);
  font-size: .62rem;
  line-height: 1.45;
}

body.polo-portfolio #contact .contact-submit button {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

body.polo-portfolio #contact .contact-submit button:hover {
  border-color: var(--garnet);
  background: var(--garnet);
  transform: translateY(-2px);
}

body.polo-portfolio #contact .contact-submit button i { transition: transform 180ms ease; }
body.polo-portfolio #contact .contact-submit button:hover i { transform: translateX(4px); }
body.polo-portfolio #contact .form-result {
  display: none;
  margin: 18px 0 0;
  padding: 12px 15px;
  border-left: 4px solid #5d625f;
  background: #f1f3f2;
  color: #252927;
  font-size: .82rem;
  line-height: 1.5;
}

body.polo-portfolio #contact .form-result:not(:empty) { display: block; }

body.polo-portfolio #contact .form-result.is-success {
  border-left-color: #08785d;
  background: #e4f4ef;
  color: #075b48;
}

body.polo-portfolio #contact .form-result.is-error {
  border-left-color: #c53f21;
  background: #fff0ec;
  color: #7d2614;
}

body.polo-portfolio .map-managed-left { left: 5%; transform: translateY(-50%); }
body.polo-portfolio .map-managed-right { right: 5%; transform: translateY(-50%); }
body.polo-portfolio .map-managed-left i,
body.polo-portfolio .map-managed-right i { color:#00a676; }
body.polo-portfolio .map-managed-left img,
body.polo-portfolio .map-managed-right img { filter:invert(49%) sepia(96%) saturate(1419%) hue-rotate(131deg) brightness(89%) contrast(101%); }
body.polo-portfolio .map-connection { position:absolute; z-index:1; height:2px; overflow:hidden; background:rgba(167,109,96,.52); transform-origin:left center; }
body.polo-portfolio .map-connection i { position:absolute; top:-2px; left:-50px; width:50px; height:6px; background:#00a676; box-shadow:0 0 14px #00a676; animation:map-data-flow 2.2s linear infinite; }
body.polo-portfolio .map-connection:nth-of-type(3n) i { animation-delay:.55s; }
body.polo-portfolio .map-connection:nth-of-type(3n + 1) i { animation-delay:1.05s; }
body.polo-portfolio .map-node small { display:block; margin-top:3px; color:var(--muted); font-size:.55rem; }
body.polo-portfolio .map-node img,
body.polo-portfolio .map-hub img,
body.polo-portfolio .network-outcomes img,
body.polo-portfolio .stack-icon img,
body.polo-portfolio .assurance-grid article > img,
body.polo-portfolio .scene-service > img,
body.polo-portfolio .screen-tools img,
body.polo-portfolio .contact-subjects img { width:22px; height:22px; object-fit:contain; }

/* Dynamic CMS content must remain readable at any item count. */
body.polo-portfolio .network-approach { justify-content:flex-start; }
body.polo-portfolio .network-approach ol { display:grid; gap:0; }
body.polo-portfolio .network-approach li { grid-template-columns:minmax(96px,.75fr) minmax(0,1.25fr); gap:16px; min-height:74px; padding:13px 0 13px 22px; align-items:start; }
body.polo-portfolio .network-approach b { min-width:0; overflow-wrap:anywhere; line-height:1.3; }
body.polo-portfolio .network-approach span { min-width:0; overflow-wrap:anywhere; }
@media(max-width:420px){body.polo-portfolio .network-approach li{grid-template-columns:1fr;gap:5px}body.polo-portfolio .network-approach h3{font-size:1.65rem}}
body.polo-portfolio #security .scene-services {
  position:absolute;
  z-index:3;
  inset:72px 5% 38px;
  display:grid;
  grid-template-columns:190px 190px;
  gap:14px;
  align-content:space-between;
  justify-content:space-between;
  pointer-events:none;
}
body.polo-portfolio #security .scene-services .scene-service { position:static; width:190px; pointer-events:auto; }
body.polo-portfolio .server-stack-body .stack-managed:nth-of-type(4n+1) .stack-icon { background:#00a676; }
body.polo-portfolio .server-stack-body .stack-managed:nth-of-type(4n+3) .stack-icon { background:#f15a24; }

@media (max-width: 991px) {
  body.polo-portfolio #contact .contact-stage { grid-template-columns: 1fr; }
  body.polo-portfolio #contact .contact-invite { min-height: 520px; }
}

@media (max-width: 767px) {
  body.polo-portfolio #contact .contact-stage { margin: 0 -5px; }
  body.polo-portfolio #contact .contact-invite,
  body.polo-portfolio #contact .contact-form-panel { padding: 38px 25px; }
  body.polo-portfolio #contact .contact-invite { min-height: auto; }
  body.polo-portfolio #contact .contact-invite h2 { font-size: 2.65rem; }
  body.polo-portfolio #contact .contact-subjects { grid-template-columns: 1fr; }
  body.polo-portfolio #contact .contact-fields { grid-template-columns: 1fr; }
  body.polo-portfolio #contact .contact-message { grid-column: auto; }
  body.polo-portfolio #contact .contact-submit { align-items: stretch; flex-direction: column; }
  body.polo-portfolio #contact .contact-submit > span { max-width: none; }
  body.polo-portfolio #contact .contact-submit button { width: 100%; }
  body.polo-portfolio #security .scene-services { inset:68px 4% 26px; grid-template-columns:44% 44%; }
  body.polo-portfolio #security .scene-services .scene-service { width:100%; }
}

@media (max-width: 767px) {
  body.polo-portfolio #security .client-intro,
  body.polo-portfolio #security .support-console,
  body.polo-portfolio #security .support-resolution,
  body.polo-portfolio #security .security-strip {
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.polo-portfolio #security .support-cases {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.polo-portfolio #security .support-cases > span {
    grid-column: auto !important;
  }

  body.polo-portfolio #security .support-visual {
    min-height: 290px !important;
  }

  body.polo-portfolio #security .security-strip-title,
  body.polo-portfolio #security .security-strip article {
    border-right: 0 !important;
  }
}

/* Final screen mapping: the photograph supplies the hardware, CSS only fills its screens. */
body.polo-portfolio .project-detail .device-stage {
  isolation: isolate;
  border-radius: 16px !important;
}

body.polo-portfolio .project-detail .device-stage .device {
  position: absolute !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 2 !important;
  display: block !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  background: #111 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.polo-portfolio .project-detail .device-stage .device::before,
body.polo-portfolio .project-detail .device-stage .device::after {
  content: none !important;
  display: none !important;
}

body.polo-portfolio .project-detail .device-stage .device img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Laptop + tablet + phone */
body.polo-portfolio .project-detail .device-stage.has-laptop.has-tablet.has-phone .device.laptop {
  left: 10.7% !important;
  top: 22.8% !important;
  width: 32.5% !important;
  aspect-ratio: 1.22 / 1 !important;
  clip-path: polygon(1.2% 0, 98.8% 0.5%, 98.5% 99.5%, 1.5% 100%);
}

body.polo-portfolio .project-detail .device-stage.has-laptop.has-tablet.has-phone .device.tablet {
  left: 50.8% !important;
  top: 35.2% !important;
  width: 21.5% !important;
  aspect-ratio: 1.23 / 1 !important;
  clip-path: polygon(1.5% 2%, 97.5% 0, 99% 98%, 0 100%);
}

body.polo-portfolio .project-detail .device-stage.has-laptop.has-tablet.has-phone .device.phone {
  left: 81.1% !important;
  top: 39.2% !important;
  width: 8.2% !important;
  aspect-ratio: 0.49 / 1 !important;
  border-radius: 6% !important;
  clip-path: inset(0 round 6%);
}

/* Laptop + tablet */
body.polo-portfolio .project-detail .device-stage.has-laptop.has-tablet.no-phone .device.laptop {
  left: 16.5% !important;
  top: 24.2% !important;
  width: 34.3% !important;
  aspect-ratio: 1.29 / 1 !important;
  clip-path: polygon(0.8% 0, 99.2% 0.8%, 98.7% 99.5%, 1.3% 100%);
}

body.polo-portfolio .project-detail .device-stage.has-laptop.has-tablet.no-phone .device.tablet {
  left: 59.9% !important;
  top: 36.3% !important;
  width: 22.2% !important;
  aspect-ratio: 1.17 / 1 !important;
  clip-path: polygon(1.5% 1%, 97.8% 0, 99% 98%, 0 100%);
}

/* Laptop + phone */
body.polo-portfolio .project-detail .device-stage.has-laptop.no-tablet.has-phone .device.laptop {
  left: 18.1% !important;
  top: 23.0% !important;
  width: 35.2% !important;
  aspect-ratio: 1.31 / 1 !important;
  clip-path: polygon(0.8% 0, 99.2% 0.5%, 98.8% 99.5%, 1.2% 100%);
}

body.polo-portfolio .project-detail .device-stage.has-laptop.no-tablet.has-phone .device.phone {
  left: 71.8% !important;
  top: 39.7% !important;
  width: 6.3% !important;
  aspect-ratio: 0.45 / 1 !important;
  border-radius: 7% !important;
  clip-path: inset(0 round 7%);
}

/* Tablet + phone */
body.polo-portfolio .project-detail .device-stage.no-laptop.has-tablet.has-phone .device.tablet {
  left: 20.7% !important;
  top: 27.4% !important;
  width: 33.1% !important;
  aspect-ratio: 1.24 / 1 !important;
  clip-path: polygon(1% 0.5%, 97.5% 0, 99.5% 98.5%, 0 100%);
}

body.polo-portfolio .project-detail .device-stage.no-laptop.has-tablet.has-phone .device.phone {
  left: 63.5% !important;
  top: 34.4% !important;
  width: 7.7% !important;
  aspect-ratio: 0.46 / 1 !important;
  border-radius: 7% !important;
  clip-path: inset(0 round 7%);
}

/* One-device scenes */
body.polo-portfolio .project-detail .device-stage.has-laptop.no-tablet.no-phone .device.laptop {
  left: 19.3% !important;
  top: 22.5% !important;
  width: 35.7% !important;
  aspect-ratio: 1.32 / 1 !important;
  clip-path: polygon(0.8% 0, 99.2% 0.5%, 98.8% 99.5%, 1.2% 100%);
}

body.polo-portfolio .project-detail .device-stage.no-laptop.has-tablet.no-phone .device.tablet {
  left: 29.8% !important;
  top: 21.7% !important;
  width: 37.0% !important;
  aspect-ratio: 1.27 / 1 !important;
  clip-path: polygon(1% 0.5%, 97.7% 0, 99.5% 98.5%, 0 100%);
}

body.polo-portfolio .project-detail .device-stage.no-laptop.no-tablet.has-phone .device.phone {
  left: 54.8% !important;
  top: 20.2% !important;
  width: 11.3% !important;
  aspect-ratio: 0.47 / 1 !important;
  border-radius: 7% !important;
  clip-path: inset(0 round 7%);
}

@media (max-width: 991px) {
  body.polo-portfolio .project-detail-grid {
    width: min(920px, 100%) !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.polo-portfolio .project-detail .device-stage {
    width: 100% !important;
    max-width: 920px !important;
  }
}

/* Photoreal mockup screen overlays. */
body.polo-portfolio .project-detail-grid {
  width: min(1380px, 100%) !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr) !important;
}

body.polo-portfolio .project-detail .device-stage {
  max-width: 930px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background:
    linear-gradient(180deg, rgba(23, 17, 15, 0.03), rgba(23, 17, 15, 0.08)),
    url("../img/portfolio-mockup-3devices.png") center / cover no-repeat !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42) !important;
}

body.polo-portfolio .project-detail .device-stage.no-phone.has-laptop.has-tablet {
  background:
    linear-gradient(180deg, rgba(23, 17, 15, 0.03), rgba(23, 17, 15, 0.08)),
    url("../img/portfolio-mockup-2devices.png") center / cover no-repeat !important;
}

body.polo-portfolio .project-detail .device {
  position: absolute !important;
  z-index: 3 !important;
  overflow: hidden !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

body.polo-portfolio .project-detail .device::before,
body.polo-portfolio .project-detail .device::after {
  content: none !important;
  display: none !important;
}

body.polo-portfolio .project-detail .device img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  box-shadow: none !important;
}

body.polo-portfolio .project-detail .device-stage.has-phone.has-tablet.has-laptop .device.laptop {
  left: 10.4% !important;
  top: 22.2% !important;
  bottom: auto !important;
  right: auto !important;
  width: 32.9% !important;
  aspect-ratio: 1.2 / 1 !important;
  border-radius: 3px !important;
}

body.polo-portfolio .project-detail .device-stage.has-phone.has-tablet.has-laptop .device.tablet {
  left: 50.9% !important;
  top: 35.2% !important;
  bottom: auto !important;
  right: auto !important;
  width: 21.9% !important;
  aspect-ratio: 1.25 / 1 !important;
  border-radius: 7px !important;
}

body.polo-portfolio .project-detail .device-stage.has-phone.has-tablet.has-laptop .device.phone {
  left: 81% !important;
  top: 39.5% !important;
  bottom: auto !important;
  right: auto !important;
  width: 9.1% !important;
  aspect-ratio: 0.58 / 1 !important;
  border-radius: 9px !important;
}

body.polo-portfolio .project-detail .device-stage.no-phone.has-laptop.has-tablet .device.laptop {
  left: 16.2% !important;
  top: 24.3% !important;
  bottom: auto !important;
  right: auto !important;
  width: 35.1% !important;
  aspect-ratio: 1.32 / 1 !important;
  border-radius: 3px !important;
}

body.polo-portfolio .project-detail .device-stage.no-phone.has-laptop.has-tablet .device.tablet {
  left: 59.7% !important;
  top: 35.9% !important;
  bottom: auto !important;
  right: auto !important;
  width: 22.4% !important;
  aspect-ratio: 1.15 / 1 !important;
  border-radius: 8px !important;
}

/* Seven photoreal mockup combinations. Each background contains only the devices that exist. */
body.polo-portfolio .project-detail .device-stage.has-laptop.has-tablet.has-phone {
  background: url("../img/portfolio-mockup-3devices.png") center / cover no-repeat !important;
}

body.polo-portfolio .project-detail .device-stage.has-laptop.has-tablet.no-phone {
  background: url("../img/portfolio-mockup-2devices.png") center / cover no-repeat !important;
}

body.polo-portfolio .project-detail .device-stage.has-laptop.no-tablet.has-phone {
  background: url("../img/portfolio-mockup-laptop-phone.png") center / cover no-repeat !important;
}

body.polo-portfolio .project-detail .device-stage.no-laptop.has-tablet.has-phone {
  background: url("../img/portfolio-mockup-tablet-phone.png") center / cover no-repeat !important;
}

body.polo-portfolio .project-detail .device-stage.has-laptop.no-tablet.no-phone {
  background: url("../img/portfolio-mockup-laptop.png") center / cover no-repeat !important;
}

body.polo-portfolio .project-detail .device-stage.no-laptop.has-tablet.no-phone {
  background: url("../img/portfolio-mockup-tablet.png") center / cover no-repeat !important;
}

body.polo-portfolio .project-detail .device-stage.no-laptop.no-tablet.has-phone {
  background: url("../img/portfolio-mockup-phone.png") center / cover no-repeat !important;
}

body.polo-portfolio .project-detail .device-stage.has-laptop.no-tablet.no-phone .device.laptop {
  left: 19.4% !important;
  top: 22.5% !important;
  width: 35.8% !important;
  aspect-ratio: 1.34 / 1 !important;
  border-radius: 3px !important;
}

body.polo-portfolio .project-detail .device-stage.has-laptop.no-tablet.has-phone .device.laptop {
  left: 18.2% !important;
  top: 22.7% !important;
  width: 35.3% !important;
  aspect-ratio: 1.34 / 1 !important;
  border-radius: 3px !important;
}

body.polo-portfolio .project-detail .device-stage.has-laptop.no-tablet.has-phone .device.phone {
  left: 71.4% !important;
  top: 39.8% !important;
  width: 6.7% !important;
  aspect-ratio: 0.47 / 1 !important;
  border-radius: 8px !important;
}

body.polo-portfolio .project-detail .device-stage.no-laptop.has-tablet.has-phone .device.tablet {
  left: 20.4% !important;
  top: 27.0% !important;
  width: 34.1% !important;
  aspect-ratio: 1.26 / 1 !important;
  border-radius: 8px !important;
}

body.polo-portfolio .project-detail .device-stage.no-laptop.has-tablet.has-phone .device.phone {
  left: 63.2% !important;
  top: 34.4% !important;
  width: 7.9% !important;
  aspect-ratio: 0.45 / 1 !important;
  border-radius: 8px !important;
}

body.polo-portfolio .project-detail .device-stage.no-laptop.has-tablet.no-phone .device.tablet {
  left: 29.9% !important;
  top: 21.6% !important;
  width: 37.0% !important;
  aspect-ratio: 1.28 / 1 !important;
  border-radius: 8px !important;
}

body.polo-portfolio .project-detail .device-stage.no-laptop.no-tablet.has-phone .device.phone {
  left: 54.8% !important;
  top: 20.3% !important;
  width: 11.5% !important;
  aspect-ratio: 0.47 / 1 !important;
  border-radius: 12px !important;
}

/* Realistic desk device treatment. */
body.polo-portfolio .project-detail .device {
  border: 0 !important;
  overflow: visible !important;
  background: linear-gradient(145deg, #202124, #050607) !important;
}

body.polo-portfolio .project-detail .device img {
  position: relative;
  z-index: 2;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

body.polo-portfolio .project-detail .device.laptop {
  left: 6% !important;
  bottom: 23% !important;
  width: 57% !important;
  padding: 11px 11px 13px !important;
  border-radius: 18px 18px 10px 10px !important;
  background: linear-gradient(145deg, #1c1e21 0%, #050607 72%) !important;
  box-shadow:
    0 24px 38px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 -8px 18px rgba(255, 255, 255, 0.04) !important;
  transform: perspective(1000px) rotateX(2deg) rotateY(0.5deg) !important;
}

body.polo-portfolio .project-detail .device.laptop img {
  border-radius: 9px 9px 5px 5px !important;
}

body.polo-portfolio .project-detail .device.laptop::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: -7%;
  right: -7%;
  bottom: -22px;
  height: 24px;
  border-radius: 0 0 26px 26px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.38), transparent 10%),
    linear-gradient(180deg, #9a9a9a 0%, #57585a 42%, #191a1c 100%);
  transform: perspective(520px) rotateX(58deg);
  transform-origin: top center;
  box-shadow: 0 18px 22px rgba(0, 0, 0, 0.32);
}

body.polo-portfolio .project-detail .device.laptop::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -6%;
  right: -6%;
  bottom: -38px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.44), transparent 70%);
  filter: blur(4px);
}

body.polo-portfolio .project-detail .device.tablet {
  right: 17% !important;
  bottom: 25% !important;
  width: 24% !important;
  padding: 9px !important;
  border-radius: 22px !important;
  background: linear-gradient(145deg, #222426 0%, #08090a 78%) !important;
  box-shadow:
    0 24px 34px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 0 4px rgba(255, 255, 255, 0.035) !important;
  transform: perspective(900px) rotateX(2deg) rotateY(-6deg) !important;
}

body.polo-portfolio .project-detail .device.tablet img {
  border-radius: 13px !important;
}

body.polo-portfolio .project-detail .device.tablet::before,
body.polo-portfolio .project-detail .device.phone::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -14%;
  right: -14%;
  bottom: -20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4), transparent 72%);
  filter: blur(4px);
}

body.polo-portfolio .project-detail .device.tablet::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 28%;
  right: 28%;
  bottom: -12px;
  height: 12px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #5b5d60, #161719);
  transform: perspective(360px) rotateX(62deg);
}

body.polo-portfolio .project-detail .device.phone {
  right: 7% !important;
  bottom: 26% !important;
  width: 12% !important;
  padding: 7px !important;
  border-radius: 24px !important;
  background: linear-gradient(145deg, #232527 0%, #050607 80%) !important;
  box-shadow:
    0 22px 30px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 0 3px rgba(255, 255, 255, 0.04) !important;
  transform: perspective(900px) rotateX(2deg) rotateY(-9deg) !important;
}

body.polo-portfolio .project-detail .device.phone img {
  border-radius: 16px !important;
}

body.polo-portfolio .project-detail .device.phone::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 9px;
  left: 50%;
  width: 24%;
  height: 4px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.55);
  transform: translateX(-50%);
}

body.polo-portfolio .project-detail .device-stage.no-phone.has-laptop.has-tablet .device.laptop {
  left: 10% !important;
  width: 58% !important;
}

body.polo-portfolio .project-detail .device-stage.no-phone.has-laptop.has-tablet .device.tablet {
  right: 9% !important;
  width: 25% !important;
}

body.polo-portfolio .project-detail .device-stage.no-tablet.has-laptop.has-phone .device.laptop {
  left: 10% !important;
  width: 60% !important;
}

body.polo-portfolio .project-detail .device-stage.no-tablet.has-laptop.has-phone .device.phone {
  right: 13% !important;
  width: 13% !important;
}

body.polo-portfolio .project-detail .device-stage.no-laptop.has-tablet.has-phone .device.tablet {
  left: 24% !important;
  right: auto !important;
  width: 28% !important;
}

body.polo-portfolio .project-detail .device-stage.no-laptop.has-tablet.has-phone .device.phone {
  right: 26% !important;
  width: 13% !important;
}
