@font-face {
  font-family: "Work Sans";
  src: url("../assets/WorkSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Horizon";
  src: url("../assets/Horizon.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-color: transparent transparent;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  width: 0;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  background-clip: content-box;
}


body {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 34%),
    rgba(140, 82, 255, 0.035);
  color: #191919;
  font-family: "Work Sans", Arial, Helvetica, sans-serif;
  zoom: 0.9;
}

a {
  color: inherit;
}

.placeholder,
.video-placeholder {
  background: linear-gradient(145deg, #eeeeee, #cfcfcf);
}

.case-nav {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-home,
.nav-portfolio-toggle {
  min-height: 42px;
  border: 1.2px solid rgba(140, 82, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(25, 25, 25, 0.07);
  color: #8c52ff;
  backdrop-filter: blur(16px);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-home {
  display: grid;
  width: 42px;
  place-items: center;
  font-size: 14px;
  text-decoration: none;
}

.nav-portfolio {
  position: relative;
}

.nav-portfolio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 15px 0 17px;
  font: inherit;
  cursor: pointer;
}

.nav-portfolio-toggle span {
  color: #8c52ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-portfolio-toggle i {
  color: #8c52ff;
  font-size: 10.5px;
  transition: transform 180ms ease;
}

.nav-portfolio-links {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  width: 100%;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-portfolio-links::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18px -12px;
}

.nav-portfolio-links::before {
  content: "";
  position: absolute;
  right: auto;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-portfolio:hover .nav-portfolio-links,
.nav-portfolio:focus-within .nav-portfolio-links {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-portfolio:hover .nav-portfolio-toggle i,
.nav-portfolio:focus-within .nav-portfolio-toggle i {
  transform: rotate(90deg);
}

.nav-home:hover,
.nav-portfolio:hover .nav-portfolio-toggle,
.nav-portfolio:focus-within .nav-portfolio-toggle {
  background: #8c52ff;
  color: #fff;
  box-shadow: 0 14px 34px rgba(25, 25, 25, 0.12);
  transform: translateY(-2px);
}

.nav-portfolio:hover .nav-portfolio-toggle span,
.nav-portfolio:focus-within .nav-portfolio-toggle span,
.nav-portfolio:hover .nav-portfolio-toggle i,
.nav-portfolio:focus-within .nav-portfolio-toggle i {
  color: #fff;
}

.nav-portfolio-links a {
  position: relative;
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 8px 10px;
  border: 2px solid #8c52ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(25, 25, 25, 0.12);
  color: #8c52ff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1.12;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-portfolio-links a + a::before {
  content: none;
}

.nav-portfolio-links a:hover {
  background: #8c52ff;
  color: #fff;
  transform: translateY(-2px);
}

.detail-menu {
  position: fixed;
  z-index: 30;
  top: 18px;
  right: 18px;
  display: grid;
  justify-items: end;
  gap: 8px;
}

.detail-menu-toggle {
  position: relative;
  width: 44px;
  height: 46px;
  border: 1px solid rgba(140, 82, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(25, 25, 25, 0.1);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.detail-menu-toggle span {
  position: absolute;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #8c52ff;
  transform: translateX(-50%);
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.detail-menu-toggle span:nth-child(1) {
  top: 16px;
}

.detail-menu-toggle span:nth-child(2) {
  top: 22px;
}

.detail-menu-toggle span:nth-child(3) {
  top: 28px;
}

.detail-menu.is-open .detail-menu-toggle span:nth-child(1) {
  top: 22px;
  transform: translateX(-50%) rotate(45deg);
}

.detail-menu.is-open .detail-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.detail-menu.is-open .detail-menu-toggle span:nth-child(3) {
  top: 22px;
  transform: translateX(-50%) rotate(-45deg);
}

.detail-menu-links {
  display: grid;
  min-width: 230px;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(140, 82, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(25, 25, 25, 0.12);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.detail-menu.is-open .detail-menu-links {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.detail-menu-links a {
  padding: 11px 14px;
  border-radius: 999px;
  color: #8c52ff;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.detail-menu-links a:hover {
  background: #8c52ff;
  color: #fff;
}

.case-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 92px 8%;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(140, 82, 255, 0.9), rgba(140, 82, 255, 0.3)),
    linear-gradient(to top, rgba(0, 0, 0, 0.22), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 320px minmax(420px, 720px);
  align-items: center;
  gap: 56px;
  max-width: 980px;
  margin: 0 auto;
}

.humber-logo {
  display: grid;
  width: 320px;
  height: 320px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #8c52ff;
  background: none;
  font-family: "Horizon", Arial, sans-serif;
  font-size: 78px;
}

.humber-logo img {
  display: block;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
}

.eyebrow {
  display: block;
  margin-bottom: 16px;
  color: #ffde59;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2 {
  font-family: "Horizon", "Arial Black", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.9;
}

.hero-copy p {
  max-width: 720px;
  color: #fff;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.35;
  font-weight: 300;
}

.section-pad {
  padding: 72px 10%;
}

.strategy.section-pad {
  padding-bottom: 0;
}

.section-heading h2 {
  margin-bottom: 22px;
  color: #8c52ff;
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 0.95;
}

.section-heading p,
.strategy-grid p,
.compare-card li,
.content-category h3 + p,
.testimonial-grid p {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 300;
}

.purple-section {
  background: #8c52ff;
  color: #fff;
}

.purple-section .section-heading h2 {
  color: #fff;
}

.section-heading {
  max-width: 880px;
  margin: 0 auto 52px;
  text-align: center;
}

.strategy .section-heading {
  margin-bottom: 42px;
}

.strategy .section-heading p {
  position: relative;
  max-width: 780px;
  margin: 48px auto 0;
  padding-left: 16px;
  border-left: 0;
  line-height: 1.7;
  text-align: left;
}

.strategy .section-heading p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  background: #ffc700;
  transform: none;
}

.strategy .section-heading p strong {
  color: #8c52ff;
  font-weight: 600;
}

.strategy-flow {
  position: relative;
  max-width: 1120px;
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  color: #8c52ff;
  text-align: left;
  counter-reset: strategy-step;
}

.strategy-flow::before {
  display: none;
}

.strategy-flow article {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(140, 82, 255, 0.2);
  border-radius: 8px;
  background: #fff;
  counter-increment: strategy-step;
}

.strategy-flow article:first-child {
  padding-top: 28px;
}

.strategy-flow article::before {
  content: counter(strategy-step, decimal-leading-zero);
  display: inline-grid;
  width: 38px;
  height: 28px;
  margin-bottom: 22px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #ffc700;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.strategy-flow article:not(:last-child)::after {
  display: none;
}

.strategy-flow article:first-child::before {
  top: auto;
}

.strategy-flow h3 {
  display: inline-block;
  margin-bottom: 18px;
  padding-bottom: 0;
  background-image: none;
  color: #8c52ff;
  font-size: 30px;
  line-height: 1;
  font-weight: 650;
}

.strategy-flow p {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-size: 17px;
  line-height: 1.58;
  font-weight: 300;
  text-align: left;
  text-wrap: pretty;
}

.strategy-flow article:first-child p {
  text-align: left;
}

.strategy-flow p strong {
  color: #8c52ff;
  font-weight: 600;
}

.strategy-flow .outcome-block {
  grid-column: 1 / -1;
  width: 100%;
  padding-bottom: 0;
  background: #fff;
}

.marker-circle {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 0 5px 1px;
  white-space: nowrap;
}

.marker-circle strong {
  position: relative;
  z-index: 1;
}

.marker-circle::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -5px -8px -6px;
  border: 3px solid #ffc700;
  border-radius: 54% 46% 50% 50% / 47% 52% 48% 53%;
  transform: rotate(-1.5deg);
  pointer-events: none;
}

.strategy-grid {
  max-width: 1100px;
  margin: 0 auto 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.strategy-grid article {
  padding: 28px;
  border: 2px solid rgba(140, 82, 255, 0.26);
  border-radius: 8px;
  color: #8c52ff;
  background: rgba(140, 82, 255, 0.045);
}

.strategy-grid h3,
.compare-card h3,
.content-category h3 {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
}

.growth-proof {
  width: 100%;
  max-width: none;
  margin: 14px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #8c52ff;
  background: transparent;
}

.growth-proof-header {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.growth-proof-header span {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffc700;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.growth-proof-header h3 {
  margin: 0;
  color: #8c52ff;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.05;
  font-weight: 600;
}

.growth-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 2px 0 30px;
}

.growth-metrics div {
  padding: 0 0 16px;
  border: 0;
  border-bottom: 4px solid #ffc700;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.growth-metrics span {
  display: block;
  margin-bottom: 8px;
  color: #8c52ff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.growth-metrics span b {
  color: #ffc700;
  font-weight: 800;
}

.growth-metrics strong {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: #8c52ff;
  font-size: clamp(22px, 2.7vw, 31px);
  line-height: 1;
  font-weight: 650;
}

.growth-metrics em {
  color: rgba(140, 82, 255, 0.62);
  font-style: normal;
}

.growth-metrics i {
  color: #ffc700;
  font-style: normal;
  font-weight: 800;
}

.growth-screens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}

.growth-side h4 {
  margin-bottom: 14px;
  color: #8c52ff;
  font-size: 21px;
  font-style: italic;
  line-height: 1;
  font-weight: 700;
  text-align: left;
}

.growth-side.is-after h4 {
  text-align: left;
}

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

.growth-shot {
  overflow: hidden;
  border: 1px solid rgba(140, 82, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(25, 25, 25, 0.07);
  transition: opacity 260ms ease, transform 260ms ease, box-shadow 260ms ease;
}

.growth-shot.is-switching {
  opacity: 0.58;
  box-shadow: 0 6px 16px rgba(25, 25, 25, 0.06);
  transform: translateY(2px);
}

.growth-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Kept for older single-image proof screenshots if they are reintroduced. */
.growth-shot-row > img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  border: 1px solid rgba(140, 82, 255, 0.18);
  border-radius: 6px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 10px 24px rgba(25, 25, 25, 0.08);
}

.before-after-band {
  position: relative;
  left: 50%;
  width: 112vw;
  margin-left: -56vw;
  padding: 62px 10% 126px;
  background: rgba(140, 82, 255, 0.055);
}

.before-after {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.before-after::after {
  display: none;
}

.compare-card {
  position: relative;
  z-index: 1;
  overflow: visible;
  min-height: 0;
  padding: 0 0 12px;
  border: 0;
  border-radius: 0;
  color: #8c52ff;
  background: transparent;
  box-shadow: none;
}

.compare-card:nth-child(2) {
  background: transparent;
}

.compare-card h3 {
  display: table;
  width: fit-content;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 5px;
  border-bottom: 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(#ffc700, #ffc700);
  background-repeat: no-repeat;
  background-position: 0 calc(100% + 2px);
  background-size: 100% 9px;
  color: #8c52ff;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.compare-phones {
  position: relative;
  min-height: 540px;
  display: block;
}

.compare-img {
  display: block;
  justify-self: center;
  width: 100%;
  max-width: 248px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 10px 14px rgba(25, 25, 25, 0.12));
}

.marker-points {
  display: contents;
}

.marker-point {
  position: absolute;
  z-index: 2;
  display: block;
  width: 138px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #8c52ff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  background: transparent;
  transform: none;
}

.marker-point:nth-child(even) {
  transform: none;
}

.marker-point::before {
  content: "";
  position: absolute;
  width: 104px;
  height: 86px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20135%20110%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M28%2012%20C10%2044%2027%2086%20100%2074%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27/%3E%3Cpath%20d%3D%27M84%2058%20L103%2074%20L82%2091%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20135%20110%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M28%2012%20C10%2044%2027%2086%20100%2074%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27/%3E%3Cpath%20d%3D%27M84%2058%20L103%2074%20L82%2091%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.9;
}

.marker-point::after {
  display: none;
}

.before-state .marker-point {
  color: #8c52ff;
}

.compare-card:not(.before-state) .marker-point {
  color: #8c52ff;
}

.compare-card:not(.before-state) .marker-point::before,
.compare-card:not(.before-state) .marker-point::after {
  color: #ffc700;
}

.point-left {
  left: 4px;
}

.point-right {
  right: 4px;
}

.point-top {
  top: 66px;
}

.point-mid {
  top: 252px;
}

.point-bottom {
  bottom: 34px;
}

.point-left::before {
  left: 66%;
  top: calc(100% + 4px);
  transform: translateX(-50%) rotate(-8deg);
}

.point-right::before {
  right: 66%;
  top: calc(100% + 4px);
  transform: translateX(50%) scaleX(-1) rotate(-8deg);
}

.point-bottom.point-left::before {
  left: 66%;
  top: -102px;
  mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20135%20110%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M24%2090%20C11%2048%2041%2017%20102%2028%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27/%3E%3Cpath%20d%3D%27M83%2013%20L105%2028%20L84%2045%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20135%20110%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M24%2090%20C11%2048%2041%2017%20102%2028%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27/%3E%3Cpath%20d%3D%27M83%2013%20L105%2028%20L84%2045%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateX(-50%) rotate(-5deg);
}

.point-bottom.point-right::before {
  right: 66%;
  top: -102px;
  mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20135%20110%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M24%2090%20C11%2048%2041%2017%20102%2028%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27/%3E%3Cpath%20d%3D%27M83%2013%20L105%2028%20L84%2045%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20135%20110%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M24%2090%20C11%2048%2041%2017%20102%2028%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27/%3E%3Cpath%20d%3D%27M83%2013%20L105%2028%20L84%2045%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateX(50%) scaleX(-1) rotate(-5deg);
}

.point-mid.point-right::before {
  right: 66%;
  top: calc(100% + 4px);
  transform: translateX(50%) scaleX(-1) rotate(-8deg);
}

.examples .section-heading {
  margin-bottom: 112px;
}

.content-category {
  max-width: 1180px;
  margin: 0 auto 120px;
}

.content-category:last-child {
  margin-bottom: 0;
}

.featured-content-category {
  max-width: 1480px;
  display: grid;
  grid-template-columns: max-content minmax(520px, 620px);
  justify-content: center;
  align-items: stretch;
  gap: 76px;
  text-align: left;
}

.featured-content-category.is-reversed {
  grid-template-columns: minmax(520px, 620px) max-content;
}

.featured-content-category.is-reversed .phone-carousel {
  order: 2;
}

.featured-content-category.is-reversed .category-copy {
  order: 1;
}

.content-category h3 {
  color: currentColor;
  text-align: center;
}

.featured-content-category h3 {
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  margin-bottom: 24px;
  padding-bottom: 5px;
  background-image: linear-gradient(#ffc700, #ffc700);
  background-repeat: no-repeat;
  background-position: 0 calc(100% + 2px);
  background-size: 100% 9px;
  text-align: left;
}

.category-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-width: 620px;
  min-width: 0;
  align-self: stretch;
  padding: 0;
}

.category-copy p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 300;
}

.category-copy .category-lede {
  max-width: 540px;
  margin-bottom: 28px;
  padding: 0;
  border-bottom: 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 400;
}

.category-notes {
  display: grid;
  gap: 20px;
  position: relative;
}

.category-notes article {
  position: relative;
  display: block;
  padding-top: 0;
  padding-left: 30px;
  border-top: 0;
}

.category-notes article::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 15px;
  bottom: -22px;
  width: 2px;
  background: rgba(255, 255, 255, 0.24);
}

.category-notes article:last-child::before {
  display: none;
}

.category-notes article::after {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  border: 2px solid #ffc700;
  border-radius: 50%;
  background: #8c52ff;
}

.category-copy h4 {
  margin-bottom: 8px;
  color: #ffc700;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  align-items: start;
  gap: 36px;
}

.phone-carousel {
  position: relative;
  width: 805px;
  max-width: 100%;
}

.featured-content-category .phone-row {
  display: flex;
  justify-content: flex-start;
  gap: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.featured-content-category .phone-row::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.featured-content-category .content-card {
  flex: 0 0 221px;
  width: 221px;
  padding: 0;
  scroll-snap-align: start;
}

.featured-content-category .iphone {
  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.08),
    inset 0 0 2px rgba(255, 255, 255, 0.08);
}

.featured-content-category .phone-carousel {
  width: 851px;
}

.featured-content-category .phone-carousel::after {
  content: "Swipe for more videos";
  position: absolute;
  left: 50%;
  bottom: -26px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.featured-content-category .content-card {
  flex-basis: 246px;
  width: 246px;
}

.featured-content-category .mini-phone {
  width: 246px;
  height: 507px;
  padding: 10px;
  border-radius: 48px;
}

.featured-content-category .mini-phone .screen {
  border-radius: 39px;
}

.featured-content-category .category-copy {
  min-height: 512px;
  justify-content: flex-start;
  transform: none;
}

.featured-content-category .category-lede {
  max-width: 600px;
  margin-bottom: 34px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.22);
}

.featured-content-category .category-notes {
  gap: 22px;
}

.featured-content-category .category-notes article {
  min-height: 0;
}

.carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 42%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #8c52ff;
  color: #fff;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.carousel-arrow:hover {
  background: #ffc700;
  color: #8c52ff;
  transform: translateY(-50%) scale(1.05);
}

.carousel-prev {
  left: -22px;
}

.carousel-prev.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.carousel-next {
  right: -22px;
  background: #8c52ff;
  color: #fff;
  border-color: #fff;
  animation: carouselArrowHint 5200ms ease-in-out infinite;
}

@keyframes carouselArrowHint {
  0%,
  72%,
  100% {
    box-shadow: none;
    transform: translateY(-50%) scale(1);
  }

  84% {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.22);
    transform: translateY(-50%) scale(1.08);
  }
}

.content-card {
  display: grid;
  width: 221px;
  justify-items: center;
  gap: 18px;
}

.engagement-meta {
  display: none;
  justify-content: center;
  gap: 0;
  width: 100%;
  color: currentColor;
  font-size: 13px;
  font-weight: 400;
}

.engagement-meta span {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.testimonials.section-pad {
  padding-right: clamp(58px, 6vw, 120px);
  padding-left: clamp(58px, 6vw, 120px);
}

.testimonial-grid {
  max-width: 2000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

blockquote {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 34px;
  border: 2px solid rgba(140, 82, 255, 0.22);
  border-radius: 18px;
  color: #8c52ff;
  background: rgba(140, 82, 255, 0.045);
}

cite {
  display: block;
  margin-top: auto;
  padding-top: 24px;
  color: #8c52ff;
  font-style: normal;
  font-weight: 600;
}

cite strong,
cite span {
  display: block;
}

cite strong {
  font-weight: 650;
}

cite span {
  margin-top: 4px;
  font-weight: 400;
}

.iphone {
  position: relative;
  flex: 0 0 auto;
  background: linear-gradient(145deg, #1c1c1e, #000);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.22),
    inset 0 0 2px rgba(255, 255, 255, 0.08);
}

.phone-large {
  width: 260px;
  height: 538px;
  padding: 11px;
  border-radius: 54px;
}

.phone-small,
.mini-phone {
  width: 150px;
  height: 310px;
  padding: 6px;
  border-radius: 30px;
}

.mini-phone {
  width: 221px;
  height: 456px;
  padding: 8px;
  border-radius: 42px;
}

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 44px;
  background: #000;
}

.screen video,
.screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.screen.fill-video iframe {
  left: 50%;
  width: auto;
  min-width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  transform: translateX(-50%);
}

.has-custom-video iframe {
  pointer-events: none;
}

.has-custom-video:not(.is-playing) iframe {
  pointer-events: none;
}

.has-custom-video.is-arming iframe {
  pointer-events: none;
}

.custom-video-cover,
.has-custom-video::after {
  position: absolute;
  inset: 0;
  transition: opacity 220ms ease;
}

.custom-video-cover {
  z-index: 3;
  background: transparent;
  pointer-events: none;
}

.has-custom-video::after {
  content: "";
  z-index: 4;
  background: linear-gradient(180deg, rgba(20, 10, 40, 0.12), rgba(20, 10, 40, 0.38));
  pointer-events: none;
}

.has-custom-video:not(.is-playing)::after {
  opacity: 0;
}

.has-custom-video.is-playing .custom-video-cover,
.has-custom-video.is-playing::after {
  opacity: 0;
}

.has-custom-video.is-playing .custom-video-cover {
  pointer-events: none;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.custom-video-play {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50%;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(140, 82, 255, 0.16);
  color: #fff;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.custom-video-play span {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 19px solid transparent;
  border-bottom: 19px solid transparent;
  border-left: 28px solid currentColor;
}

.custom-video-play:hover {
  color: #ffc700;
  border-color: rgba(255, 199, 0, 0.45);
  background: rgba(140, 82, 255, 0.22);
  transform: translate(-50%, -50%) scale(1.05);
}

.has-custom-video.is-playing .custom-video-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.94);
}

.has-custom-video.is-paused .custom-video-play {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.has-custom-video.is-playing.controls-idle .custom-video-play,
.has-custom-video.is-playing.controls-idle:hover .custom-video-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.94);
}

.custom-video-controls {
  position: absolute;
  z-index: 8;
  left: 24px;
  right: 24px;
  bottom: 26px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.custom-video-mini-toggle {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.25));
}

.custom-video-mini-toggle span {
  width: 13px;
  height: 15px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}

.has-custom-video.is-paused .custom-video-mini-toggle span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
  border-right: 0;
}

.custom-video-mini-toggle:hover {
  color: #ffc700;
}

.custom-video-timeline {
  position: relative;
  height: 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.custom-video-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.custom-video-timeline span {
  position: relative;
  display: block;
  width: 0%;
  height: 4px;
  border-radius: 999px;
  background: #ffc700;
}

.custom-video-timeline span::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid #8c52ff;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.custom-video-time {
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.has-custom-video.is-playing:hover .custom-video-controls,
.has-custom-video.is-paused .custom-video-controls,
.custom-video-timeline:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.post-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
  color: #111;
}

.post-carousel::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background:
    linear-gradient(#9f9f9f, #9f9f9f) 54px 32px / 96px 6px no-repeat,
    linear-gradient(#9f9f9f, #9f9f9f) 54px 45px / 46px 4px no-repeat,
    radial-gradient(circle at calc(100% - 33px) 41px, #777 0 1.4px, transparent 2.4px),
    radial-gradient(circle at calc(100% - 27px) 41px, #777 0 1.4px, transparent 2.4px),
    radial-gradient(circle at calc(100% - 21px) 41px, #777 0 1.4px, transparent 2.4px),
    #fff;
}

.ig-avatar {
  position: absolute;
  z-index: 6;
  top: 28px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 26%, #d62976 55%, #962fbf 78%, #4f5bd5 100%);
}

.ig-avatar::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: #fff;
}

.ig-avatar::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  background: #fff url("../assets/humber-logo.png") center / contain no-repeat;
}

.post-carousel::after {
  display: none;
}

.post-track {
  position: absolute;
  top: 72px;
  left: 0;
  display: flex;
  width: 100%;
  height: calc(100% - 180px);
  background: #fff;
  transition: transform 650ms ease;
}

.post-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.ig-footer {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  height: 108px;
  padding: 12px 14px 0;
  background: #fff;
}

.ig-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.ig-icon {
  display: block;
  width: 18px;
  height: 18px;
  background: #111;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.ig-save {
  margin-left: auto;
}

.ig-heart {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M20.8 4.6c-1.8-1.8-4.7-1.8-6.5 0L12 6.9 9.7 4.6c-1.8-1.8-4.7-1.8-6.5 0s-1.8 4.7 0 6.5L12 20l8.8-8.9c1.8-1.8 1.8-4.7 0-6.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M20.8 4.6c-1.8-1.8-4.7-1.8-6.5 0L12 6.9 9.7 4.6c-1.8-1.8-4.7-1.8-6.5 0s-1.8 4.7 0 6.5L12 20l8.8-8.9c1.8-1.8 1.8-4.7 0-6.5z'/%3E%3C/svg%3E");
}

.ig-comment {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M21 11.5a8.4 8.4 0 0 1-8.7 8.3 8.8 8.8 0 0 1-3.5-.7L3 20l1.3-4.2A8 8 0 0 1 3.6 12 8.4 8.4 0 0 1 12.3 3.7 8.4 8.4 0 0 1 21 11.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M21 11.5a8.4 8.4 0 0 1-8.7 8.3 8.8 8.8 0 0 1-3.5-.7L3 20l1.3-4.2A8 8 0 0 1 3.6 12 8.4 8.4 0 0 1 12.3 3.7 8.4 8.4 0 0 1 21 11.5z'/%3E%3C/svg%3E");
}

.ig-send {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M22 2 11 13M22 2l-7 20-4-9-9-4 20-7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M22 2 11 13M22 2l-7 20-4-9-9-4 20-7z'/%3E%3C/svg%3E");
}

.ig-save {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M6 3h12a1 1 0 0 1 1 1v17l-7-4-7 4V4a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M6 3h12a1 1 0 0 1 1 1v17l-7-4-7 4V4a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.ig-lines {
  display: grid;
  grid-template-columns: 74px 1fr 42px;
  gap: 10px;
  margin-top: 16px;
}

.ig-lines span {
  height: 7px;
  border-radius: 999px;
  background: #b8b8b8;
}

.ig-lines span:first-child {
  grid-column: 1;
  background: #6abaf7;
}

.ig-lines span:nth-child(4) {
  grid-column: 1 / 3;
  width: 70%;
}

.post-arrow {
  position: absolute;
  z-index: 6;
  top: calc(72px + ((100% - 180px) / 2));
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.post-arrow:hover {
  background: #ffc700;
  color: #8c52ff;
}

.post-prev {
  left: 8px;
}

.post-next {
  right: 8px;
  animation: postArrowHint 5200ms ease-in-out infinite;
}

.post-prev.is-hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes postArrowHint {
  0%,
  70%,
  100% {
    background: rgba(0, 0, 0, 0.32);
    color: #fff;
    transform: translateY(-50%) scale(1);
  }

  85% {
    background: #ffc700;
    color: #8c52ff;
    transform: translateY(-50%) scale(1.12);
  }
}

.phone-small .screen,
.mini-phone .screen {
  border-radius: 25px;
}

.mini-phone .screen {
  border-radius: 34px;
}

.notch {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: 46%;
  height: 5.2%;
  border-radius: 0 0 18px 18px;
  background: #000;
  transform: translateX(-50%);
}

.notch::before {
  content: "";
  position: absolute;
  left: 14%;
  top: 38%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #222;
}

.notch::after {
  content: "";
  position: absolute;
  right: 14%;
  top: 42%;
  width: 30px;
  height: 5px;
  border-radius: 4px;
  background: #222;
}

.phone-small .notch::before,
.mini-phone .notch::before {
  width: 4px;
  height: 4px;
}

.phone-small .notch::after,
.mini-phone .notch::after {
  width: 18px;
  height: 4px;
}

.phone-btn {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #2a2a2a;
}

.vol-up {
  left: -4px;
  top: 22.5%;
  height: 7.25%;
}

.vol-down {
  left: -4px;
  top: 32.25%;
  height: 7.25%;
}

.power {
  right: -4px;
  top: 27.5%;
  height: 12%;
}

.glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 45%);
  pointer-events: none;
}

.video-placeholder.muted {
  background: linear-gradient(145deg, #d9d9d9, #bdbdbd);
}

.video-placeholder.active {
  background: linear-gradient(145deg, #f4f4f4, #cfc1ff);
}

@media (max-width: 900px) {
  .portfolio-menu-open {
    overflow: hidden;
  }

  .nav-portfolio-links {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    width: auto;
    max-width: none;
    min-height: 100dvh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 92px 32px 42px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: none;
    backdrop-filter: blur(18px);
  }

  .nav-portfolio.is-open .nav-portfolio-links {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-portfolio.is-open .nav-portfolio-toggle i {
    transform: rotate(90deg);
  }

  .nav-portfolio-links a {
    width: min(100%, 340px);
    min-height: 58px;
    border-width: 0 0 1px;
    border-color: rgba(140, 82, 255, 0.2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #8c52ff;
    font-size: clamp(19px, 5vw, 30px);
    text-align: center;
  }

  .nav-portfolio-links a:last-child {
    border-bottom: 0;
  }

  .nav-portfolio-links a + a::before,
  .nav-portfolio-links::before,
  .nav-portfolio-links::after {
    display: none;
  }

  .case-nav {
    top: 14px;
    left: 14px;
  }

  .nav-portfolio-links {
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    width: min(260px, calc(100vw - 28px));
    max-width: none;
    border-radius: 18px;
    transform: translateY(-6px);
  }

  .nav-portfolio-links::before {
    right: auto;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 12px;
  }

  .nav-portfolio-links a + a::before {
    top: 0;
    left: 13px;
    width: calc(100% - 26px);
    height: 1px;
    transform: none;
  }

  .nav-portfolio:hover .nav-portfolio-links,
  .nav-portfolio:focus-within .nav-portfolio-links {
    transform: translateY(0);
  }

  .case-hero,
  .strategy-grid,
  .before-after,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .case-hero {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 34px;
  }

  .humber-logo {
    width: 150px;
    height: 150px;
    font-size: 68px;
  }

  .growth-proof {
    padding: 0;
  }

  .growth-metrics,
  .growth-screens {
    grid-template-columns: 1fr;
  }

  .growth-shot-row {
    grid-template-columns: minmax(0, 1fr);
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .growth-side.is-after h4 {
    text-align: left;
  }

  .strategy .section-heading p {
    max-width: 680px;
    margin: 0 auto;
    padding: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
  }

  .strategy-flow article {
    gap: 0;
    padding: 24px;
  }

  .strategy-flow {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 0;
    margin-bottom: 58px;
  }

  .strategy-flow::before {
    display: none;
  }

  .strategy-flow article::before {
    width: 36px;
    height: 26px;
    margin-bottom: 18px;
  }

  .strategy-flow h3 {
    font-size: 24px;
  }

  .strategy-flow p {
    font-size: 16px;
  }


  .compare-phones {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 24px;
  }

  .compare-img {
    max-width: 210px;
    order: -1;
  }

  .marker-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 360px);
    justify-items: center;
  }

  .marker-point {
    position: static;
    width: 100%;
    max-width: 170px;
    padding: 10px 8px;
    border: 2px solid currentColor;
    border-radius: 999px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.72);
  }

  .marker-point::before,
  .marker-point::after {
    display: none;
  }

  .phone-row {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    justify-items: center;
    gap: 38px;
  }

  .featured-content-category {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 38px;
    text-align: center;
  }

  .featured-content-category.is-reversed {
    grid-template-columns: 1fr;
  }

  .featured-content-category.is-reversed .phone-carousel,
  .featured-content-category.is-reversed .category-copy {
    order: initial;
  }

  .phone-carousel {
    width: min(100%, 760px);
  }

  .featured-content-category .phone-carousel {
    width: min(100%, 760px);
  }

  .featured-content-category h3 {
    text-align: center;
  }

  .category-copy {
    max-width: 620px;
  }

  .phone-row .content-card {
    width: 180px;
    justify-content: center;
  }

  .featured-content-category .content-card {
    flex-basis: 270px;
    width: 270px;
  }

  .featured-content-category .mini-phone {
    width: 270px;
    height: 558px;
    border-radius: 52px;
  }
}

@media (max-width: 560px) {
  .section-pad,
  .case-hero {
    padding-left: 24px;
    padding-right: 24px;
  }

  .case-nav {
    top: 12px;
    left: 12px;
  }

  .nav-home,
  .nav-portfolio-toggle {
    min-height: 42px;
  }

  .nav-home {
    width: 42px;
  }

  .nav-portfolio-toggle {
    padding: 0 15px 0 17px;
  }

  .nav-portfolio-toggle span,
  .nav-portfolio-links a {
    font-size: 11px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .phone-row {
    grid-template-columns: 1fr;
  }

  .growth-shot-row {
    grid-template-columns: 1fr;
  }

  .growth-metrics strong {
    flex-wrap: wrap;
  }

  .featured-content-category .phone-row {
    display: flex;
  }

  .phone-row {
    justify-items: center;
  }

  .phone-row .content-card {
    width: 100%;
  }

  .phone-carousel {
    width: min(100%, 270px);
  }

  .featured-content-category .phone-carousel {
    width: min(100%, 300px);
  }

  .featured-content-category .content-card {
    flex-basis: 285px;
    width: 285px;
  }

  .featured-content-category .mini-phone {
    width: 285px;
    height: 589px;
    border-radius: 54px;
  }

  .carousel-prev {
    left: -12px;
  }

  .carousel-next {
    right: -12px;
  }

  .mini-phone {
    margin: 0 auto;
  }
}

.contact {
  padding: 80px 10%;
  background: #f7f5fb;
  color: #8c52ff;
  text-align: center;
}

.contact .section-title {
  margin-bottom: 118px;
  color: #8c52ff;
  font-family: "Horizon", "Arial Black", Arial, sans-serif;
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 0.95;
  font-weight: 400;
}

.email-link {
  display: inline-block;
  margin-bottom: 70px;
  color: #191919;
  font-size: clamp(15px, 2.3vw, 25px);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.email-link:hover {
  color: #8c52ff;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.social-links a {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid #8c52ff;
  border-radius: 50%;
  color: #8c52ff;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-links a:hover {
  background: #8c52ff;
  color: #fff;
  transform: translateY(-2px);
}

.social-links i {
  font-size: 27px;
  line-height: 1;
}

.floating-contact {
  position: fixed;
  z-index: 19;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 2px solid #8c52ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #8c52ff;
  box-shadow: 0 18px 45px rgba(25, 25, 25, 0.14);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.floating-contact:hover {
  background: #8c52ff;
  color: #fff;
  transform: translateY(-2px);
}

.floating-contact.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

@media (max-width: 560px) {
  .contact {
    padding-left: 24px;
    padding-right: 24px;
  }

  .email-link {
    max-width: none;
    font-size: clamp(18px, 4vw, 34px);
    line-height: 1;
    white-space: nowrap;
  }

  .floating-contact {
    right: 18px;
    bottom: 18px;
    min-height: 52px;
    padding: 0 24px;
  }
}


/* Final shared detail nav override */
.case-nav .nav-home,
.case-nav .nav-portfolio-toggle {
  min-height: 42px;
  border: 2px solid #8c52ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(25, 25, 25, 0.12);
  color: #8c52ff;
}

.case-nav .nav-home {
  width: 42px;
}

.case-nav .nav-portfolio-toggle {
  padding: 0 15px 0 17px;
}

.case-nav .nav-portfolio-toggle span {
  color: #8c52ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.case-nav .nav-home:hover,
.case-nav .nav-portfolio:hover .nav-portfolio-toggle,
.case-nav .nav-portfolio:focus-within .nav-portfolio-toggle {
  background: #8c52ff;
  color: #fff;
  box-shadow: 0 14px 34px rgba(25, 25, 25, 0.12);
  transform: translateY(-2px);
}

/* Responsive polish pass */
@media (max-width: 900px) {
  .hero-copy {
    width: 100%;
    max-width: 680px;
  }

  .hero-content {
    width: 100%;
    max-width: 680px;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy h1 {
    font-size: clamp(44px, 8vw, 64px);
  }

  .hero-copy p,
  .section-heading p,
  .strategy-flow p,
  .category-copy p {
    font-size: clamp(16px, 2.2vw, 18px);
  }

  .strategy-flow {
    width: min(100%, 680px);
    margin-left: auto;
    margin-right: auto;
  }

  .growth-proof,
  .before-after,
  .featured-content-category,
  .testimonial-grid {
    width: min(100%, 760px);
    margin-left: auto;
    margin-right: auto;
  }

  .category-copy {
    width: min(100%, 640px);
  }
}

@media (max-width: 560px) {
  .case-nav {
    max-width: calc(100vw - 24px);
  }

  .hero-copy h1 {
    font-size: clamp(38px, 11vw, 48px);
    line-height: 0.95;
  }

  .section-heading h2,
  .examples-heading h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .strategy-flow article,
  .growth-proof,
  .testimonial-grid blockquote {
    padding-left: 20px;
    padding-right: 20px;
  }

  .phone-carousel,
  .featured-content-category .phone-carousel {
    width: min(100%, 320px);
    overflow: hidden;
    padding: 0 2px;
  }

  .featured-content-category .phone-row {
    contain: layout paint;
    width: 100%;
    padding-bottom: 42px;
  }

  .featured-content-category .content-card,
  .phone-row .content-card {
    flex: 0 0 min(78vw, 285px);
    width: min(78vw, 285px);
  }

  .featured-content-category .mini-phone,
  .phone-carousel .mini-phone {
    width: min(78vw, 285px);
    height: auto;
    aspect-ratio: 285 / 589;
  }

  .carousel-prev {
    left: -6px;
  }

  .carousel-next {
    right: -6px;
  }

  .compare-img {
    width: min(72vw, 220px);
  }

  .marker-point {
    font-size: 15px;
  }

  .marker-points {
    grid-template-columns: 1fr;
    width: min(100%, 280px);
  }

  .marker-point {
    max-width: 260px;
  }

  .email-link {
    font-size: clamp(18px, 5vw, 24px);
    letter-spacing: 0;
    white-space: nowrap;
  }
}

/* Final mobile portfolio menu */
@media (max-width: 900px) {
  .portfolio-menu-open {
    overflow: hidden;
  }

  .nav-portfolio-links {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    width: auto;
    max-width: none;
    min-height: 100dvh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 92px 32px 42px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.97);
    opacity: 0;
    pointer-events: none;
    transform: none;
    backdrop-filter: blur(18px);
  }

  .nav-portfolio.is-open .nav-portfolio-links {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-portfolio-links a {
    width: min(100%, 340px);
    min-height: 58px;
    border-width: 0 0 1px;
    border-color: rgba(140, 82, 255, 0.2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #8c52ff;
    font-size: clamp(19px, 5vw, 30px);
    text-align: center;
  }

  .nav-portfolio-links a:last-child {
    border-bottom: 0;
  }

  .nav-portfolio-links::before,
  .nav-portfolio-links::after,
  .nav-portfolio-links a + a::before {
    display: none;
  }

  .case-nav {
    z-index: 70;
  }

  .nav-home,
  .nav-portfolio-toggle {
    position: relative;
    z-index: 72;
  }
}

/* Desktop nav restore */
.nav-portfolio-toggle::before,
.nav-portfolio-toggle::after {
  content: none;
}

.nav-label,
.nav-chevron {
  display: inline-flex;
}

.nav-label {
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-chevron {
  color: inherit;
  font-size: 10.5px;
  transition: transform 180ms ease;
}

.hamburger-lines {
  display: none;
}

@media (max-width: 900px) {
  .nav-label,
  .nav-chevron {
    display: none;
  }

  .hamburger-lines {
    display: inline-flex;
  }
}

/* Desktop portfolio hover restore */
@media (min-width: 901px) {
  .nav-portfolio:hover .nav-portfolio-links,
  .nav-portfolio:focus-within .nav-portfolio-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-portfolio:hover .nav-chevron,
  .nav-portfolio:focus-within .nav-chevron {
    transform: rotate(90deg);
  }

  .nav-portfolio-links a[href="#contact"],
  .nav-portfolio-links a[href="../index.html#contact"] {
    display: none;
  }
}

/* Final case-page nav tuning */
.case-nav .nav-home,
.case-nav .nav-portfolio-toggle {
  border-width: 2px;
  border-color: #8c52ff;
}

@media (max-width: 900px) {
  .case-hero {
    padding-top: 112px;
  }
}

@media (max-width: 560px) {
  .case-hero {
    padding-top: 104px;
  }
}

/* Final mobile/tablet case navigation */
@media (max-width: 900px) {
  .case-nav .nav-home {
    display: none;
  }

  .case-nav {
    left: 14px;
    gap: 0;
  }

  .case-nav .nav-portfolio-toggle {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    justify-content: center;
    padding: 0;
  }

  .case-nav .nav-label,
  .case-nav .nav-chevron,
  .case-nav .nav-portfolio-toggle > i {
    display: none !important;
  }

  .case-nav .hamburger-lines {
    display: inline-flex !important;
    width: 18px;
    height: 14px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .case-nav .hamburger-lines span {
    display: block !important;
    width: 100%;
    height: 2px;
    padding: 0;
    border-radius: 999px;
    background: currentColor !important;
    font-size: 0;
    line-height: 0;
  }

  .nav-portfolio:not(.is-open) .nav-portfolio-links {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden;
  }

  .nav-portfolio.is-open .nav-portfolio-links {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible;
  }
}
