/* Piechart Digital
   style.css
   Fonts: Space Grotesk (headings), Outfit (body)
*/

/* ------------------------------
   CSS Reset / Base 
------------------------------ */ 
*,
*::before,
*::after {
  box-sizing: border-box;
}

html:focus-within {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0b0b0b;
  background: #ffffff;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}

:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.9);
  outline-offset: 3px;
}

::selection {
  background: rgba(0, 0, 0, 0.88);
  color: var(--yellow);
}

/* ------------------------------
   Theme Tokens
------------------------------ */

:root {
  --yellow: #ffd400;
  --yellow-soft: #ffe877;
  --black: #0b0b0b;
  --white: #ffffff;
  --grey-50: #f7f7f8;
  --grey-100: #f1f1f3;
  --grey-200: #e6e6ea;
  --grey-600: #5a5a63;

  --radius-pill: 999px;
  --radius-card: 18px;

  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.12);
  --shadow-tight: 0 10px 0 rgba(0, 0, 0, 0.12);

  --border: 2px solid rgba(0, 0, 0, 0.12);
  --border-strong: 2px solid rgba(0, 0, 0, 0.18);

  --container: 1120px;
  --gutter: 20px;

  --transition: 180ms ease;
}

/* ------------------------------
   Reduced Motion
------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------
   Layout Helpers
------------------------------ */

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section-alt {
  background: var(--grey-50);
  padding-top: clamp(24px, 3vw, 40px);
}

.section-tight-top {
  padding-top: clamp(28px, 4vw, 48px);
}

.section-tight-bottom {
  padding-bottom: clamp(16px, 3vw, 28px);
}

.section-head p {
  color: var(--grey-600);
  max-width: 60ch;
}

/* ------------------------------
   Skip Link
------------------------------ */

.skip-link {
  position: absolute;
  left: 14px;
  top: 12px;
  transform: translateY(-140%);
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  padding: 10px 12px;
  border-radius: 12px;
  z-index: 9999;
  transition: transform var(--transition);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

/* ------------------------------
   Header / Nav
------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.brand-stack {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  font-weight: 800;
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
}

.brand-tagline {
  font-size: 0.9rem;
  color: var(--grey-600);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(0, 0, 0, 0.06);
}

.site-nav .nav-cta {
  background: #0b0b0b;
  color: var(--yellow);
  box-shadow: var(--shadow-tight);
  transition: transform var(--transition), box-shadow var(--transition), color 120ms ease;
}

.site-nav .nav-cta:hover {
  background: #0b0b0b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.12);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 12px;
}

.nav-toggle:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.9);
  outline-offset: 3px;
}

.nav-toggle-lines {
  width: 28px;
  height: 18px;
  display: block;
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after,
.nav-toggle-lines span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #0b0b0b;
  border-radius: 99px;
}

.nav-toggle-lines::before {
  top: 0;
}

.nav-toggle-lines::after {
  bottom: 0;
}

.nav-toggle-lines span {
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 900px) {
  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-name {
    font-size: 1.6rem;
    letter-spacing: -0.03em;
  }

  .brand-tagline {
    font-size: 0.95rem;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    display: none;
  }

  .site-nav ul {
    width: min(var(--container), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav a {
    justify-content: flex-start;
    padding: 12px 14px;
  }

  .site-nav.is-open {
    display: block;
  }
}
.nav-phone-item {
  display: none;
}

.nav-phone-link {
  font-weight: 700;
}
@media (max-width: 860px) {
  .header-phone {
    display: none;
  }

  .nav-phone-item {
    display: block;
  }

  .nav-phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: var(--radius-pill);
    font-weight: 700;
  }
}
/* ------------------------------
   Hero
------------------------------ */

.hero {
  background: var(--yellow);
  padding: clamp(28px, 3.25vw, 56px) 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  border: var(--border);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.12);
  font-weight: 800;
  margin-bottom: 18px;
  transform: rotate(-2deg);
  transform-origin: left center;
  animation: kicker-drop 650ms cubic-bezier(0.22, 1, 0.36, 1) 320ms both;
}

.lead {
  max-width: 55ch;
  font-size: 1.05rem;
  color: rgba(0, 0, 0, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.hero-actions--spaced {
  margin-top: 20px;
}

.hero-choices {
  margin-top: 22px;
}

.choices-title {
  font-size: 1.35rem;
  margin-top: 34px;
  margin-bottom: 14px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.has-caret {
  position: relative;
  display: inline-block;
}

.has-caret::after {
  content: "|";
  margin-left: 6px;
  font-weight: 400;
  animation: caret-blink 1.1s steps(1) infinite;
  opacity: 1;
}

.hero-headline {
  overflow: visible;
  white-space: normal;
  width: auto;
  animation: none;
}

.hero-image {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-image--with-slice {
  position: relative;
}

.hero-dashboard {
  width: 100%;
  max-width: 560px;
  border-radius: 18px;
  border: 3px solid rgba(0, 0, 0, 0.14);
  box-shadow: var(--shadow-soft);
  background: #ffffff;
}

.hero-pie-slice {
  position: absolute;
  right: clamp(20px, -1.5vw, -4px);
  bottom: clamp(-100px, -8vw, -80px);
  width: clamp(140px, 20vw, 240px);
  transform: rotate(26deg);
  transform-origin: 50% 60%;
  pointer-events: none;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.2));
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    margin-top: 22px;
  }

  .hero-pie-slice {
    right: auto;
    left: 52%;
    bottom: -56px;
    width: clamp(120px, 36vw, 190px);
    transform: rotate(28deg);
    transform-origin: 50% 100%;
  }
}

/* ------------------------------
   Buttons / Chips
------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  border: 2px solid rgba(0, 0, 0, 0.14);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  user-select: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-black {
  background: #0b0b0b;
  color: var(--yellow);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.18);
  transition: transform var(--transition), box-shadow var(--transition), color 120ms ease;
}

.btn-black:hover {
  background: #0b0b0b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.18);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  color: #0b0b0b;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.12);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.12);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  border: var(--border);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.12);
  font-weight: 800;
  font-size: 0.95rem;
}

.chip-link {
  cursor: pointer;
}

.chip-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.12);
}

.chip-link:active {
  transform: translateY(0);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.12);
}

.chip-link:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.9);
  outline-offset: 3px;
}

/* ------------------------------
   Scroll Reveal / Animations
------------------------------ */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

@keyframes caret-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes kicker-drop {
  0% {
    opacity: 0;
    transform: translateY(-26px) rotate(-2deg);
  }
  55% {
    opacity: 1;
    transform: translateY(0) rotate(-2deg);
  }
  72% {
    transform: translateY(-8px) rotate(-2deg);
  }
  86% {
    transform: translateY(0) rotate(-2deg);
  }
  94% {
    transform: translateY(-3px) rotate(-2deg);
  }
  100% {
    transform: translateY(0) rotate(-2deg);
  }
}

/* ------------------------------
   Brands
------------------------------ */

.section-brands {
  padding-top: clamp(28px, 4vw, 44px);
}

.section-brands .section-head {
  text-align: center;
}

.section-brands .section-head p {
  margin-inline: auto;
}

.brands-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.brands-left {
  width: 100%;
  max-width: 900px;
  min-width: 0;
}

.logo-scroller {
  width: 100%;
  margin-top: 18px;
  border-radius: var(--radius-card);
  border: var(--border);
  background: #ffffff;
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.logo-track {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.logo-track::-webkit-scrollbar {
  height: 10px;
}

.logo-track::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

.logo-item {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: var(--grey-50);
  border: var(--border);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  scroll-snap-align: start;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.08);
}

.logo-item img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .brands-grid {
    gap: 56px;
  }
}

@media (max-width: 600px) {
  .section-brands {
    overflow-x: hidden;
  }

  .section-brands .section-head h2 {
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 8px;
    padding: 0 12px;
    text-wrap: balance;
  }

  .section-brands .section-head p {
    font-size: 0.98rem;
    line-height: 1.35;
    margin: 0 auto;
    max-width: 34ch;
    padding: 0 14px;
  }

  .section-brands .logo-scroller {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .section-brands .logo-track {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    padding-left: 16px;
    padding-right: 16px;
    gap: 18px;
    scroll-snap-type: x proximity;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
  }

  .section-brands .logo-track::before,
  .section-brands .logo-track::after {
    content: "";
    flex: 0 0 16px;
  }

  .section-brands .logo-item {
    flex: 0 0 auto;
  }
}

/* ------------------------------
   What We Do Cards
------------------------------ */

.what-we-do-head {
  text-align: center;
}

.what-we-do-head p {
  margin-inline: auto;
  max-width: 42ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: var(--border);
  padding: 18px;
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
  padding: 20px;
  cursor: pointer;
}

.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 0 rgba(0, 0, 0, 0.08);
}

.card-link:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.9);
  outline-offset: 4px;
}

.card-image {
  width: 100%;
  max-width: 320px;
  margin: 0 0 14px;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

.card h3 {
  margin-top: 4px;
  margin-bottom: 10px;
  font-size: 2.4rem;
  line-height: 1.15;
}

.card p {
  font-size: 0.98rem;
  line-height: 1.45;
  margin-bottom: 14px;
  color: rgba(0, 0, 0, 0.82);
}

.card-cta,
.card-link .card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: #0b0b0b;
  border: 2px solid rgba(0, 0, 0, 0.14);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.12);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  opacity: 1;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.card-link:hover .card-cta,
.card-link:focus-visible .card-cta {
  transform: translateY(-1px);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.12);
}

.card-link .card-cta::after {
  content: none;
}

.section-alt .card-grid > .card.card-link {
  align-items: flex-start;
  text-align: left;
}

.section-alt .card-grid > .card.card-link .card-image {
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

.section-alt .card-grid > .card.card-link p {
  margin-left: 0;
  margin-right: 0;
}

.section-alt .card-grid > .card.card-link .card-cta {
  align-self: flex-start;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .card-image {
    max-width: 220px;
  }
}

@media (max-width: 600px) {
  .card {
    text-align: left;
  }

  .card h3 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .card-image {
    max-width: 180px;
  }
}

/* ------------------------------
   Ticks
------------------------------ */

.ticks {
  display: grid;
  gap: 8px;
}

.ticks li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  column-gap: 10px;
  color: rgba(0, 0, 0, 0.82);
  font-weight: 600;
}

.ticks li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: 2px solid rgba(0, 0, 0, 0.18);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(0.08em);
}

/* ------------------------------
   Why Choose Us
------------------------------ */

.section-why {
  background: #ffffff;
  padding: clamp(32px, 3.5vw, 48px) 0 18px;
}

.why-wrap {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  padding-bottom: 56px;
  overflow: visible;
}

.why-head {
  margin-bottom: 18px;
}

.why-head p {
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: 8px;
  color: var(--grey-600);
}

.why-grid {
  margin: 22px auto 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 36px;
  text-align: left;
  max-width: 720px;
}

.why-grid li {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.32;
  grid-template-columns: 24px 1fr;
  column-gap: 12px;
}

.why-grid li::before {
  transform: translateY(0.12em);
}

.why-cta {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: 720px;
  margin: 34px auto 0;
  padding-left: calc(50% + 18px);
}

.why-head,
.why-grid,
.why-cta {
  position: relative;
  z-index: 1;
}

.why-pie-server {
  position: absolute;
  left: -35px;
  bottom: -140px;
  width: clamp(260px, 28vw, 420px);
  height: auto;
  transform: rotate(-8deg);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.15));
}

@media (max-width: 900px) {
  .why-wrap {
    padding-bottom: 120px;
  }

  .why-grid {
    gap: 16px 24px;
  }

  .why-grid li {
    font-size: 1.1rem;
  }

  .why-cta {
    justify-content: center;
    max-width: none;
    padding-left: 0;
  }

  .why-pie-server {
    width: 180px;
    left: 8px;
    bottom: -72px;
    transform: rotate(-6deg);
    opacity: 0.95;
  }
}

@media (max-width: 560px) {
  .section-why {
    padding: 28px 0 10px;
  }

  .why-wrap {
    padding-bottom: 80px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 420px;
    margin-bottom: 18px;
  }

  .why-grid li {
    font-size: 0.98rem;
    line-height: 1.4;
    grid-template-columns: 20px 1fr;
    column-gap: 10px;
  }

  .why-grid li::before {
    width: 20px;
    height: 20px;
    font-size: 12px;
    border-radius: 7px;
    transform: translateY(0.1em);
  }

  .why-pie-server {
    width: 320px;
    left: -8px;
    bottom: -10px;
    transform: rotate(-4deg);
    opacity: 0.98;
  }
}

/* ------------------------------
   Slider
------------------------------ */

.section-slider {
  background: #fff;
  padding: clamp(22px, 4vw, 44px) 0;
}

.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.slider {
  position: relative;
  border-top: 2px solid rgba(0, 0, 0, 0.08);
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
  background: #0b0b0b;
}

.slider-viewport {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 520ms ease;
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  height: clamp(260px, 38vw, 520px);
  position: relative;
  background: #0b0b0b;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
  z-index: 5;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-50%) scale(1.04);
}

.slider-btn.prev {
  left: 14px;
}

.slider-btn.next {
  right: 14px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.18);
  z-index: 5;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  cursor: pointer;
}

.slider-dot.is-active {
  background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 600px) {
  .slide {
    height: clamp(220px, 62vw, 360px);
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }
}

/* ------------------------------
   Blog Preview
------------------------------ */

.section-blog-preview {
  background: #ffffff;
  padding: clamp(34px, 4vw, 60px) 0;
}

.blog-preview-head {
  position: relative;
  text-align: center;
  margin-bottom: 28px;
}

.blog-preview-head h2 {
  margin: 0;
}

.blog-preview-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

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

.blog-preview-card {
  position: relative;
  background: #ffffff;
  border: var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 0 rgba(0, 0, 0, 0.08);
}

.blog-preview-card::after {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 70px;
  height: 70px;
  background: #ffd200;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 240ms ease;
  opacity: 0.9;
}

.blog-preview-card:hover::after {
  transform: scale(1);
}

.blog-preview-image-link {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--grey-100);
}

.blog-preview-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.blog-preview-card:hover .blog-preview-image-link img {
  transform: scale(1.03);
}

.blog-preview-body {
  padding: 18px 18px 20px;
}

.blog-preview-body h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.blog-preview-body h3 a {
  text-decoration: none;
}

.blog-preview-cta {
  margin-top: 6px;
  font-size: 0.95rem;
}

.blog-preview-footer {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .blog-preview-grid {
    grid-template-columns: 1fr;
  }

  .blog-preview-body h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 640px) {
  .blog-preview-head {
    text-align: left;
  }

  .blog-preview-btn {
    position: static;
    transform: none;
    margin-top: 14px;
  }
}

/* ------------------------------
   Footer
------------------------------ */

.site-footer {
  background: #0b0b0b;
  color: #ffffff;
  padding: 34px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-note {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer-right {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.footer-email {
  font-weight: 700;
  color: var(--yellow);
  font-size: 2rem;
  line-height: 1.1;
}

.footer-email:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.socials {
  display: inline-flex;
  gap: 10px;
}

.social {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  transition: transform var(--transition), background var(--transition);
}

.social:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.social svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.footer-small {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer-nd-card {
  position: relative;
  margin-top: 26px;
  padding: 16px 18px;
  background: #ffffff;
  border-radius: 16px;
  max-width: 280px;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.18);
}

.footer-nd-tick {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 28px;
  height: 28px;
  background: #ffd200;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
}

.footer-nd-title {
  margin: 0 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #000;
}

.footer-nd-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #444;
}

.footer-manchester {
  margin-top: 18px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: var(--yellow);
}

.footer-manchester .manchester-text {
  color: var(--yellow);
  font-weight: 400;
  font-size: 0.95rem;
}

.manchester-bee {
  width: 34px;
  height: auto;
  transition: transform 160ms ease;
}

.footer-manchester:hover .manchester-bee {
  transform: translateY(-2px);
}

@media (min-width: 900px) {
  .footer-logo {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .footer-email {
    font-size: 1.7rem;
  }
}

/* ------------------------------
   Services Page
------------------------------ */

.services-hero {
  background: var(--yellow);
  padding: clamp(32px, 4vw, 56px) 0;
  position: relative;
  overflow: hidden;
}

.services-hero .container {
  position: relative;
  z-index: 2;
}

.services-hero__inner {
  max-width: 720px;
}

.services-hero__inner p {
  margin-top: 10px;
  max-width: 62ch;
  color: var(--grey-600);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  margin-bottom: 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  border: var(--border);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.1);
  font-weight: 800;
}

.services-hero-pie { position: absolute; top: 0; right: clamp(600px, 48vw, 480px); width: clamp(180px, 18vw, 280px); height: auto; pointer-events: none; z-index: 1; }

.services-cards {
  padding: 10px 0 clamp(44px, 5vw, 72px);
}

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

.service-card {
  min-width: 0;
  background: #ffffff;
  border-radius: var(--radius-card);
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 0 rgba(0, 0, 0, 0.08);
}

.service-card__image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 18px 10px;
}

.service-card__image img {
  width: 100%;
  max-width: 220px;
  margin-inline: auto;
}

.service-card__content {
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.service-card__content h2 {
  margin: 0 0 16px;
  font-size: 1.2rem;
  line-height: 1.15;
}

.service-card__content p {
  font-size: 0.98rem;
  line-height: 1.45;
  margin-bottom: 14px;
  color: rgba(0, 0, 0, 0.82);
}

.service-card__button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: #0b0b0b;
  border: 2px solid rgba(0, 0, 0, 0.14);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.12);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.service-card:hover .service-card__button,
.service-card:focus-visible .service-card__button {
  transform: translateY(-1px);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.12);
}

.service-detail-section {
  padding: clamp(42px, 5vw, 68px) 0;
  scroll-margin-top: 100px;
}

.service-detail-section.alt {
  background: var(--grey-50);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.service-detail__main,
.service-side-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
}

.service-detail__main {
  padding: 28px;
}

.service-detail__title {
  display: inline;
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.08;
  box-shadow: inset 0 -0.32em 0 rgba(255, 212, 0, 0.7);
}

.service-detail__main p {
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.86);
}

.service-detail__main p + p {
  margin-top: 12px;
}

.service-detail__main p:last-of-type {
  margin-bottom: 0;
}

.service-detail__side {
  display: grid;
  gap: 18px;
}

.service-side-card {
  padding: 18px;
}

.service-side-card h3 {
  margin-bottom: 8px;
}

.service-side-card p {
  margin-bottom: 0;
  color: rgba(0, 0, 0, 0.8);
}

.service-side-list {
  margin-top: 12px;
  gap: 12px;
}

.service-side-list li {
  grid-template-columns: 22px 1fr;
  column-gap: 10px;
  align-items: start;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.84);
}

.service-side-list li::before {
  width: 22px;
  height: 22px;
  font-size: 12px;
  border-radius: 7px;
  transform: translateY(0.08em);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 22px;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 212, 0, 0.18);
  border: 2px solid rgba(0, 0, 0, 0.08);
  font-weight: 800;
  font-size: 0.95rem;
}

.service-detail__cta {
  margin-top: 8px;
  min-height: 56px;
  padding: 14px 24px;
  font-size: 1.05rem;
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.18);
}

.service-detail__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 0 rgba(0, 0, 0, 0.18);
}

.button.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  border: 2px solid rgba(0, 0, 0, 0.14);
  background: #0b0b0b;
  color: var(--yellow);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.18);
  transition: transform var(--transition), box-shadow var(--transition), color 120ms ease;
}

.button.button-primary:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.18);
}

.service-detail-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}

.service-back-top {
  font-size: 0.9rem;
}

.service-contact {
  font-size: 1.05rem;
  padding: 14px 24px;
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.18);
}

.services-cta {
  padding: clamp(38px, 5vw, 64px) 0 clamp(54px, 6vw, 84px);
}

.services-cta__inner {
  background: var(--yellow);
  border-radius: 24px;
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.08);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}

.services-cta__inner p {
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.services-cta__inner .button {
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .service-card__image {
    padding: 14px 14px 8px;
  }

  .service-card__image img {
    max-width: 150px;
  }

  .service-card__content {
    padding: 0 14px 16px;
  }

  .service-card__content h2 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .service-card__button {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .services-hero-pie {
    right: 40px;
    width: clamp(200px, 20vw, 150px);
    opacity: 0.9;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail__main {
    padding: 20px;
  }
}

/* ------------------------------
   Team Page
------------------------------ */

.team-hero {
  background: var(--yellow);
  padding: clamp(32px, 4vw, 56px) 0;
  position: relative;
  overflow: hidden;
}

.team-hero__inner {
  max-width: 720px;
}

.team-hero__inner p:last-child {
  max-width: 62ch;
  color: var(--grey-600);
}

.team-grid-section {
  padding: clamp(34px, 4vw, 56px) 0;
}

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

.team-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
  background: #ffffff;
  border-radius: var(--radius-card);
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
  padding: 20px;
}

.team-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 18px;
  overflow: hidden;
  border: var(--border);
  background: var(--grey-50);
  display: grid;
  place-items: center;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__content h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  line-height: 1.1;
}

.team-card__role {
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--grey-600);
}

.team-card__content p:last-child {
  margin-bottom: 0;
  color: rgba(0, 0, 0, 0.82);
}

.team-callout {
  padding: 0 0 clamp(54px, 6vw, 84px);
}

.team-callout__inner {
  background: var(--yellow);
  border-radius: 24px;
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.08);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}

.team-callout__icon {
  width: 240px;
  margin: 0 auto 12px;
}

.team-callout__icon img {
  width: 100%;
  height: auto;
  display: block;
}

.team-callout__pill {
  display: inline-block;
  background: #ffffff;
  border: var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  margin: 0 auto 16px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.08);
}

.team-callout__inner h2 {
  margin-bottom: 12px;
}

.team-callout__inner p {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.team-callout__inner a {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card__avatar {
    width: 96px;
    height: 96px;
  }

  .team-card__content h2 {
    font-size: 1.35rem;
  }

  .team-callout__icon {
    width: 170px;
    margin-bottom: 8px;
  }
}
/* ------------------------------
   Blog Page
------------------------------ */

.blog-hero {
  background: var(--yellow);
  padding: clamp(32px, 4vw, 56px) 0;
  position: relative;
  overflow: hidden;
}

.blog-hero__inner {
  max-width: 760px;
}

.blog-hero__inner p:last-child {
  max-width: 62ch;
  color: var(--grey-600);
}

.blog-grid-section {
  padding: clamp(34px, 4vw, 56px) 0;
}

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

.blog-panel {
  min-height: 340px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.blog-panel--image {
  background: var(--grey-100);
}

.blog-panel__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-panel__image-link img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.blog-panel--content {
  background: #0b0b0b;
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.2);
}

.blog-panel__content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 28px;
}

.blog-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  margin: 0 0 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 212, 0, 0.14);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-panel__content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  line-height: 1.05;
}

.blog-panel__content p:last-of-type {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36ch;
}

.blog-panel__button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.18);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.blog-panel__button:hover,
.blog-panel__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.2);
  color: var(--yellow);
}

.blog-callout {
  padding: 0 0 clamp(54px, 6vw, 84px);
}

.blog-callout__inner {
  background: var(--yellow);
  border-radius: 24px;
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.08);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}

.blog-callout__pill {
  display: inline-block;
  background: #ffffff;
  border: var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  margin: 0 auto 16px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.08);
}

.blog-callout__inner h2 {
  margin-bottom: 12px;
}

.blog-callout__inner p {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.blog-callout__inner a {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .blog-panel {
    min-height: 280px;
  }

  .blog-panel__image-link img {
    min-height: 280px;
  }

  .blog-panel__content {
    padding: 20px;
  }

  .blog-panel__content h2 {
    font-size: 1.45rem;
  }
}
.blog-hero-pie {
  position: absolute;
  right: clamp(200px, 125vw, 500px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(180px, 20vw, 300px);
  height: auto;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 900px) {
  .blog-hero-pie {
    position: static;
    transform: none;
    margin: 20px auto 0;
    display: block;
    width: clamp(140px, 50vw, 220px);
  }
}
@media (max-width: 700px) {
  .blog-grid-section {
    padding: 20px 0 40px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .blog-panel {
    min-height: auto;
  }

  .blog-panel__image-link img {
    min-height: 220px;
    height: 220px;
    object-fit: cover;
  }

  .blog-panel__content {
    padding: 20px;
  }

  .blog-panel__content h2 {
    font-size: 1.7rem;
    line-height: 1.08;
    margin-bottom: 12px;
  }

  .blog-panel__content p:last-of-type {
    max-width: none;
    margin-bottom: 16px;
    font-size: 0.98rem;
  }

  .blog-panel__button {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.92rem;
  }
}
@media (max-width: 700px) {
  .blog-grid-section {
    padding: 20px 0 40px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .blog-panel {
    min-height: auto;
  }

  .blog-panel__image-link img {
    min-height: 220px;
    height: 220px;
    object-fit: cover;
  }

  .blog-panel__content {
    padding: 20px;
  }

  .blog-panel__content h2 {
    font-size: 1.7rem;
    line-height: 1.08;
    margin-bottom: 12px;
  }

  .blog-panel__content p:last-of-type {
    max-width: none;
    margin-bottom: 16px;
    font-size: 0.98rem;
  }

  .blog-panel__button {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.92rem;
  }
}
@media (max-width: 700px) {
  .blog-grid-section {
    padding: 20px 0 40px;
  }

  .blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .blog-panel {
    min-height: auto;
  }

  .blog-panel__image-link img {
    width: 100%;
    height: 220px;
    min-height: 220px;
    object-fit: cover;
  }

  .blog-panel__content {
    padding: 20px;
  }

  .blog-panel__content h2 {
    font-size: 1.7rem;
    line-height: 1.08;
    margin-bottom: 12px;
  }

  .blog-panel__content p:last-of-type {
    max-width: none;
    margin-bottom: 16px;
    font-size: 0.98rem;
  }

  .blog-panel__button {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.92rem;
  }

  /* Reorder cards so each image sits above its matching text */
  .blog-grid > :nth-child(1)  { order: 1; }
  .blog-grid > :nth-child(2)  { order: 2; }

  .blog-grid > :nth-child(4)  { order: 3; }
  .blog-grid > :nth-child(3)  { order: 4; }

  .blog-grid > :nth-child(5)  { order: 5; }
  .blog-grid > :nth-child(6)  { order: 6; }

  .blog-grid > :nth-child(8)  { order: 7; }
  .blog-grid > :nth-child(7)  { order: 8; }

  .blog-grid > :nth-child(9)  { order: 9; }
  .blog-grid > :nth-child(10) { order: 10; }
}
/* Blog Article */

.blog-article__container {
  max-width: 760px;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 20px;
  margin-bottom: 20px;

  padding: 10px 16px;
  border-radius: var(--radius-pill);

  font-weight: 800;
  font-size: 0.9rem;

  background: #ffffff;
  color: #0b0b0b;
  border: var(--border);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.12);

  text-decoration: none;

  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.blog-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.12);
}

.blog-back:active {
  transform: translateY(0);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12);
}

.blog-meta {
  color: var(--grey-600);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.blog-featured-image {
  border-radius: var(--radius-card);
  margin-bottom: 24px;
}

.blog-content h2 {
  margin-top: 28px;
}

.blog-content p {
  line-height: 1.7;
}

.blog-content ul {
  margin: 0 0 1rem 18px;
  list-style: disc;
}
.blog-article {
  padding-top: 48px;
}
.blog-article__container {
  max-width: 760px;
  margin-top: 40px;
}
.blog-panel--content {
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-panel__content-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.blog-panel__content-link:hover,
.blog-panel__content-link:focus-visible {
  transform: translateY(-4px);
}

.blog-panel--content:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 0 rgba(0, 0, 0, 0.08);
}

.blog-panel__content-link:hover .blog-panel__button,
.blog-panel__content-link:focus-visible .blog-panel__button {
  transform: translateY(-1px);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.2);
  color: var(--yellow);
}
.blog-article {
  padding-top: 20px;
}

.blog-article__container {
  margin-top: 20px; /* was 40px */
}
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: #0b0b0b;
  color: #fff;
  font-size: 20px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-2px);
}
/* ------------------------------
   Contact Page
------------------------------ */

.contact-hero {
  background: var(--yellow);
  padding: clamp(32px, 4vw, 56px) 0;
  position: relative;
  overflow: hidden;
}

.contact-hero__inner {
  max-width: 760px;
}

.contact-hero__inner p:last-child {
  max-width: 62ch;
  color: var(--grey-600);
}

.contact-main {
  padding: clamp(34px, 4vw, 56px) 0 clamp(54px, 6vw, 84px);
  background: var(--grey-50);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
}

.contact-details__card,
.contact-form {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
}

.contact-details__card {
  padding: 24px;
}

.contact-details__card h2 {
  margin-bottom: 10px;
}

.contact-details__card > p {
  color: var(--grey-600);
  margin-bottom: 22px;
}

.contact-details__group + .contact-details__group {
  margin-top: 22px;
}

.contact-details__group h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-details__group a {
  font-size: 1.05rem;
  font-weight: 700;
  word-break: break-word;
}

.contact-details__group a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-socials {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-social {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid rgba(0, 0, 0, 0.14);
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.04);
  transition: transform var(--transition), background var(--transition);
}

.contact-social:hover {
  transform: translateY(-3px);
  background: rgba(0, 0, 0, 0.08);
}

.contact-social svg {
  width: 18px;
  height: 18px;
  fill: #0b0b0b;
}

.contact-form {
  padding: 24px;
}

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

.contact-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.contact-field label {
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 2px solid rgba(0, 0, 0, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: #0b0b0b;
  background: #ffffff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--grey-600);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.28);
}

.contact-field textarea {
  resize: vertical;
  min-height: 180px;
}

.contact-submit {
  margin-top: 4px;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-details__card,
  .contact-form {
    padding: 20px;
  }
}
.contact-details__link {
  display: inline-block;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 800;
  word-break: break-word;
}

.contact-details__link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 640px) {
  .contact-details__link {
    font-size: 1.15rem;
  }
}
.contact-details__group h3 {
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--grey-600);
}
.contact-details__link {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
}
.contact-hero-pie {
  position: absolute;
  right: clamp(250px, 125vw, 500px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(180px, 20vw, 300px);
  height: auto;
  pointer-events: none;
  z-index: 1;
}


@media (max-width: 900px) {
  .contact-hero-pie {
    position: static;
    transform: none;
    display: block;
    margin: 20px auto 0;
    width: clamp(140px, 48vw, 220px);
  }
}
.contact-map-card {
  margin-top: 18px;
  background: #ffffff;
  border-radius: var(--radius-card);
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.contact-map-head {
  padding: 18px 18px 10px;
}

.contact-map-head h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.contact-map-head p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--grey-600);
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}
@media (max-width: 560px) {
  .why-pie-server {
  width: 380px;
  left: -20px;
  bottom: -10px;
  transform: rotate(-4deg);
}
}
.header-inner {
  display: flex;
  align-items: center;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 16px;
}

.header-socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.header-socials a:hover {
  transform: translateY(-2px);
}

.header-socials svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

/* Hide completely on mobile */
@media (max-width: 768px) {
  .header-socials {
    display: none;
  }
}
.header-socials {
  display: flex;
  gap: 10px;
  margin-right: 16px;
}

@media (max-width: 768px) {
  .header-socials {
    display: none;
  }
}
@media (min-width: 900px) {
  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .brand-name {
    font-size: 1.9rem;
  }

  .brand-tagline {
    font-size: 1.05rem;
  }
}
@media (min-width: 900px) {
  .hero-dashboard {
    max-width: 680px;
  }
}
.section-blog-preview {
  padding-top: 24px;
}

.blog-template-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 8px;
}

@media (max-width: 640px) {
  .blog-template-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
.careers-email {
  font-size: 1.5rem;
  font-weight: 800;
  display: inline-block;
  margin-top: 6px;
}
@media (max-width: 600px) {
  .careers-email {
    font-size: 1.3rem;
  }
}
@media (min-width: 1100px) {
  .hero-dashboard {
    max-width: 720px;   /* increase size */
  }
}
@media (min-width: 1100px) {
  .hero-pie-slice {
    right: -20px;      /* bring it closer to the image */
    bottom: -10px;     /* lift it slightly */
    width: 240px;      /* scale it up a touch */
    transform: rotate(24deg);
  }
}
@media (min-width: 1100px) {
  .hero-image {
    transform: translateX(20px);
  }
}
/* ==============================
   Hero image scaling (desktop)
============================== */

@media (min-width: 1100px) {

  /* Make the studio image larger */
  .hero-dashboard {
    max-width: 820px;
  }

  /* Give the image more space vs text */
  .hero-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* Optional: extra large screens */
@media (min-width: 1300px) {
  .hero-dashboard {
    max-width: 900px;
  }
}
/* ------------------------------
   Portfolio Page
------------------------------ */

/* ------------------------------
   Portfolio Page
------------------------------ */

.portfolio-hero {
  background: var(--yellow);
  padding: clamp(32px, 4vw, 56px) 0;
  position: relative;
  overflow: hidden;
}

.portfolio-hero__inner {
  max-width: 760px;
}

.portfolio-hero__inner p:last-child {
  max-width: 62ch;
  color: var(--grey-600);
}

.portfolio-grid-section {
  padding: clamp(20px, 3vw, 34px) 0 clamp(54px, 6vw, 84px);
  background: #ffffff;
}

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

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--grey-100);
  min-height: 680px;
}

.portfolio-card__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.portfolio-card__image {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  transition: transform 320ms ease;
}

.portfolio-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(33, 33, 37, 0.96);
  color: #ffffff;
  transform: translateY(calc(100% - 190px));
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 340px;
  display: flex;
  align-items: flex-start;
}

.portfolio-card__content {
  width: 100%;
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.portfolio-card__content h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 2.3vw, 2.6rem);
  line-height: 1.02;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.portfolio-card__content p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.portfolio-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: #0b0b0b;
  border: 2px solid rgba(0, 0, 0, 0.14);
  font-weight: 800;
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.18);
  transition: transform var(--transition), box-shadow var(--transition), color 120ms ease;
  margin-top: auto;
}

.portfolio-card__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.18);
  color: #000000;
}

.portfolio-card__cta span {
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-1px);
}

.portfolio-card:hover .portfolio-card__overlay,
.portfolio-card__link:focus-visible .portfolio-card__overlay {
  transform: translateY(0);
}

.portfolio-card:hover .portfolio-card__image,
.portfolio-card__link:focus-visible .portfolio-card__image {
  transform: scale(1.03);
}
@media (max-width: 900px) {
  .blog-preview-grid article:nth-child(3) {
    display: none;
  }
}
@media (min-width: 900px) {
  .hero-pie-slice {
    bottom: clamp(-120px, -8vw, -80px);
  }
}
@media (max-width: 640px) {
  .blog-preview-footer {
    margin-top: 20px;
  }
}
.footer-manchester {
  margin-top: 18px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: var(--yellow);
}

.footer-manchester .manchester-text {
  color: var(--yellow);
  font-weight: 400;
  font-size: 0.95rem;
}

.manchester-bee-wrap {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
}

.manchester-bee {
  position: relative;
  z-index: 2;
  width: 34px;
  height: auto;
  transition: transform 160ms ease;
}

.bee-swarm {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.mini-bee {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  background-image: url("../image/manchester-bee.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: translate(0, 0) scale(0.5) rotate(0deg);
}

.footer-manchester:hover .manchester-bee {
  transform: translateY(-2px);
}

@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .footer-manchester:hover .mini-bee {
    animation: bee-swarm-fly 2.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .footer-manchester:hover .mini-bee-1  { animation-delay: 0.00s; --tx: 40px;  --ty: -16px;  --rot: 18deg; }
  .footer-manchester:hover .mini-bee-2  { animation-delay: 0.04s; --tx: 70px;  --ty: -42px;  --rot: -12deg; }
  .footer-manchester:hover .mini-bee-3  { animation-delay: 0.08s; --tx: 105px; --ty: 8px;    --rot: 22deg; }
  .footer-manchester:hover .mini-bee-4  { animation-delay: 0.12s; --tx: 138px; --ty: -64px;  --rot: -18deg; }
  .footer-manchester:hover .mini-bee-5  { animation-delay: 0.16s; --tx: 165px; --ty: -20px;  --rot: 12deg; }
  .footer-manchester:hover .mini-bee-6  { animation-delay: 0.20s; --tx: 210px; --ty: 18px;   --rot: -20deg; }
  .footer-manchester:hover .mini-bee-7  { animation-delay: 0.24s; --tx: 250px; --ty: -50px;  --rot: 16deg; }
  .footer-manchester:hover .mini-bee-8  { animation-delay: 0.28s; --tx: 292px; --ty: -6px;   --rot: -10deg; }

  .footer-manchester:hover .mini-bee-9  { animation-delay: 0.02s; --tx: -34px; --ty: -18px;  --rot: -16deg; }
  .footer-manchester:hover .mini-bee-10 { animation-delay: 0.06s; --tx: -62px; --ty: 10px;   --rot: 20deg; }
  .footer-manchester:hover .mini-bee-11 { animation-delay: 0.10s; --tx: -95px; --ty: -46px;  --rot: -24deg; }
  .footer-manchester:hover .mini-bee-12 { animation-delay: 0.14s; --tx: -128px; --ty: 20px;  --rot: 14deg; }
  .footer-manchester:hover .mini-bee-13 { animation-delay: 0.18s; --tx: -166px; --ty: -8px;  --rot: -12deg; }

  .footer-manchester:hover .mini-bee-14 { animation-delay: 0.05s; --tx: 18px;  --ty: -86px;  --rot: 28deg; }
  .footer-manchester:hover .mini-bee-15 { animation-delay: 0.11s; --tx: -12px; --ty: -110px; --rot: -22deg; }
  .footer-manchester:hover .mini-bee-16 { animation-delay: 0.17s; --tx: 82px;  --ty: -118px; --rot: 18deg; }
  .footer-manchester:hover .mini-bee-17 { animation-delay: 0.23s; --tx: -74px; --ty: -92px;  --rot: -16deg; }
  .footer-manchester:hover .mini-bee-18 { animation-delay: 0.29s; --tx: 120px; --ty: -132px; --rot: 24deg; }
}

@keyframes bee-swarm-fly {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5) rotate(0deg);
  }
  8% {
    opacity: 1;
  }
  65% {
    opacity: 1;
    transform: translate(var(--tx), var(--ty)) scale(0.95) rotate(var(--rot));
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--tx) * 1.18), calc(var(--ty) * 1.18)) scale(0.8) rotate(calc(var(--rot) * 1.25));
  }
}

@media (max-width: 900px) {
  .bee-swarm {
    display: none;
  }
}
/* ------------------------------
   Section heading animation swap
   (heading static, text reveals)
------------------------------ */

/* Force headings to always be visible */
.section-head h2.reveal-on-scroll,
.what-we-do-head h2.reveal-on-scroll,
.why-head h2.reveal-on-scroll,
.blog-preview-head h2.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

/* Apply reveal animation to the paragraph instead */
.section-head p,
.what-we-do-head p,
.why-head p,
.blog-preview-head p {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* When visible (JS adds this) */
.section-head p.is-visible,
.what-we-do-head p.is-visible,
.why-head p.is-visible,
.blog-preview-head p.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   Neuro Hero
=============================== */

.neuro-hero {
  background: var(--yellow);
  padding: clamp(32px, 4vw, 56px) 0;
  position: relative;
  overflow: hidden;
}

.neuro-hero__inner {
  max-width: 760px;
}

.neuro-hero__inner p:last-child {
  max-width: 62ch;
  color: var(--grey-600);
}

/* ===== Hero Image (Desktop) ===== */

.neuro-hero-pie {
  position: absolute;
  top: 50%;
right: clamp(200px, 125vw, 500px);
   transform: translateY(-50%);
   width: clamp(260px, 36vw, 480px);
  height: auto;
  pointer-events: none;
  z-index: 1;
}

/* ===============================
   Tablet / Small Desktop
=============================== */

@media (max-width: 900px) {
  .service-detail {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .service-detail__side {
    order: 2;
  }

  .service-detail__main {
    order: 1;
  }
}

/* ===============================
   Mobile
=============================== */

@media (max-width: 768px) {
  .neuro-hero {
    padding: 28px 0 32px;
  }

  .neuro-hero__inner {
    max-width: 100%;
  }

  .neuro-hero-pie {
    position: absolute;
    top: 12px;
    right: 12px;
    transform: none;
    width: 110px;
    opacity: 0.95;
  }
}
/* ------------------------------
   Privacy Policy
------------------------------ */

.privacy-policy {
  max-width: 780px;
  margin: 0 auto;
}

.privacy-policy h2 {
  margin-bottom: 1rem;
}

.privacy-policy h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.privacy-policy p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #2a2a2a;
}

.privacy-policy ul {
  margin: 0 0 1.25rem 1.2rem;
  padding: 0;
}

.privacy-policy li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2a2a2a;
}

.privacy-policy a {
  text-decoration: underline;
}

/* optional: slightly softer section spacing */
.privacy-policy h3 + p {
  margin-top: 0.25rem;
}
@media (max-width: 767px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    min-height: auto;
    display: flex;
    flex-direction: column;
    background: transparent;
  }

  .portfolio-card__link {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .portfolio-card__image {
    width: 100%;
    min-height: 260px;
    height: 260px;
    object-fit: cover;
    display: block;
  }

  .portfolio-card__overlay {
    position: static;
    transform: none;
    min-height: auto;
    background: rgba(33, 33, 37, 0.96);
  }

  .portfolio-card__content {
    min-height: auto;
    padding: 22px 20px 20px;
  }

  .portfolio-card__content h2 {
    font-size: 2rem;
    line-height: 1.02;
    margin-bottom: 10px;
  }

  .portfolio-card__content p {
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.4;
  }

  .portfolio-card__cta {
    margin-top: 0;
    align-self: flex-start;
  }
}
@media (max-width: 767px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    min-height: auto;
    display: flex;
    flex-direction: column;
    background: transparent;
  }

  .portfolio-card__link {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .portfolio-card__image {
    width: 100%;
    min-height: 260px;
    height: 260px;
    object-fit: cover;
    display: block;
  }

  .portfolio-card__overlay {
    position: static;
    transform: none;
    min-height: auto;
    background: rgba(33, 33, 37, 0.96);
  }

  .portfolio-card__content {
    min-height: auto;
    padding: 22px 20px 20px;
  }

  .portfolio-card__content h2 {
    font-size: 2rem;
    line-height: 1.02;
    margin-bottom: 10px;
  }

  .portfolio-card__content p {
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.4;
  }

  .portfolio-card__cta {
    margin-top: 0;
    align-self: flex-start;
  }
}
@media (max-width: 767px) {

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

  .portfolio-card {
    min-height: auto;
    display: flex;
    flex-direction: column;
    background: transparent;
  }

  .portfolio-card__link {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  /* 🔻 Smaller image */
  .portfolio-card__image {
    width: 100%;
    height: 200px; /* was 260 */
    object-fit: cover;
    display: block;
  }

  /* 🔻 Kill overlay behaviour */
  .portfolio-card__overlay {
    position: static;
    transform: none;
    min-height: auto;
    background: rgba(33, 33, 37, 0.96);
  }

  /* 🔻 Reduce padding */
  .portfolio-card__content {
    padding: 16px 16px 16px;
    min-height: auto;
  }

  /* 🔻 Smaller title */
  .portfolio-card__content h2 {
    font-size: 1.6rem;
    line-height: 1.05;
    margin-bottom: 6px;
  }

  /* 🔻 Tighter description */
  .portfolio-card__content p {
    font-size: 0.9rem;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  /* 🔻 Smaller button */
  .portfolio-card__cta {
    padding: 10px 16px;
    font-size: 0.9rem;
    min-height: 44px;
    box-shadow: 0 6px 0 rgba(0,0,0,0.18);
  }
}
.portfolio-card__image {
  height: 180px;
}
@media (max-width: 768px) {
  .services-hero-pie {
    width: 105px;
    right: 6px;
    top: 8px;
  }
}
.header-phone {
  font-weight: 500;
  font-size: 1.15rem;
}
@media (max-width: 600px) {
  .card-grid {
    gap: 14px;
    margin-top: 14px;
  }

  .card.card-link {
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.06);
  }

  .card-link {
    padding: 16px;
  }

  .card-image {
    max-width: 130px;
    margin: 0 auto 10px;
  }

  .card h3 {
    font-size: 1.65rem;
    line-height: 1.08;
    margin-top: 0;
    margin-bottom: 8px;
  }

  .card p {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .card-cta,
  .card-link .card-cta {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.92rem;
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.12);
  }
}
@media (min-width: 900px) {
  .service-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
  }
}

.header-phone {
  margin-left: 28px;
  white-space: nowrap;
  flex: 0 0 auto;
  display: inline-block;
}
/* ------------------------------
   Case Study Pages
------------------------------ */

.case-study-hero {
  background: var(--yellow);
  padding: clamp(32px, 4vw, 56px) 0;
}

.case-study-hero__inner {
  max-width: 760px;
}

.case-study-hero__inner p:last-child {
  max-width: 62ch;
  color: rgba(0, 0, 0, 0.78);
}

.case-study-media--hero-image img,
.case-study-media--full img {
  display: block;
  width: 100%;
  height: auto;
}

.case-study-intro {
  background: #ffffff;
  padding: clamp(34px, 4vw, 56px) 0;
}

.case-study-intro__container {
  max-width: 860px;
}

.case-study-intro__content p {
  font-size: 1.2rem;
  line-height: 1.55;
  margin: 0;
}

.case-study-brief {
  background: var(--grey-50);
  padding: clamp(34px, 4vw, 56px) 0;
}

.case-study-brief__wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.5fr);
  gap: 18px;
  align-items: start;
}

.case-study-brief__meta,
.case-study-brief__body {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
  padding: 24px;
}

.case-study-meta-item + .case-study-meta-item {
  margin-top: 16px;
}

.case-study-meta-item h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.case-study-meta-item p {
  margin: 0;
  color: rgba(0, 0, 0, 0.82);
}

.case-study-media-grid {
  background: #ffffff;
  padding: clamp(22px, 3vw, 34px) 0;
}

.case-study-media-grid__wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-study-media-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
}

.case-study-text-block {
  background: #ffffff;
  padding: clamp(34px, 4vw, 56px) 0;
}

.case-study-text-block--alt {
  background: var(--grey-50);
}

.case-study-text-block__container {
  max-width: 900px;
}

.case-study-text-block__content {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
  padding: 28px;
}

.case-study-list {
  margin: 18px 0 0;
  padding-left: 20px;
  list-style: disc;
}

.case-study-list li {
  margin-bottom: 10px;
}

.case-study-quote {
  background: #ffffff;
  padding: clamp(34px, 4vw, 56px) 0;
}

.case-study-quote__card {
  background: #0b0b0b;
  color: #ffffff;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.12);
}

.case-study-quote__text {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
  margin-bottom: 16px;
}

.case-study-quote__source {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.case-study-related {
  background: #ffffff;
  padding: clamp(28px, 4vw, 48px) 0;
}

@media (max-width: 900px) {
  .case-study-brief__wrap {
    grid-template-columns: 1fr;
  }

  .case-study-media-grid__wrap {
    grid-template-columns: 1fr;
  }

  .case-study-media-card img {
    min-height: 280px;
  }

  .case-study-intro__content p {
    font-size: 1.05rem;
  }
}

@media (max-width: 640px) {
  .case-study-text-block__content,
  .case-study-brief__meta,
  .case-study-brief__body {
    padding: 20px;
  }

  .case-study-media-card img {
    min-height: 220px;
  }
}
@media (max-width: 600px) {
  .section-brands {
    overflow-x: hidden;
  }

  .section-brands .section-head h2 {
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 8px;
    padding: 0 12px;
    text-wrap: balance;
  }

  .section-brands .section-head p {
    font-size: 0.98rem;
    line-height: 1.35;
    margin: 0 auto;
    max-width: 34ch;
    padding: 0 14px;
  }

  .section-brands .logo-scroller {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .section-brands .logo-track {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    padding: 22px 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-left: 16px;
  }

  .section-brands .logo-track::before,
  .section-brands .logo-track::after {
    content: none;
  }

  .section-brands .logo-item {
    flex: 0 0 auto;
  }
}
@media (max-width: 560px) {
  .section-why {
    padding: 28px 0 10px;
  }

  .why-wrap {
    padding-bottom: 20px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 420px;
    margin-bottom: 18px;
  }

  .why-grid li {
    font-size: 0.98rem;
    line-height: 1.4;
    grid-template-columns: 20px 1fr;
    column-gap: 10px;
  }

  .why-grid li::before {
    width: 20px;
    height: 20px;
    font-size: 12px;
    border-radius: 7px;
    transform: translateY(0.1em);
  }

  .why-pie-server {
    width: 420px !important;
    left: -30px !important;
    bottom: -10px !important;
    transform: rotate(-4deg) !important;
    opacity: 0.98;
  }
}
.case-study-media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
}
.portfolio-pie {
  width: clamp(220px, 28vw, 340px);
  max-width: 100%;
  margin: 0 auto 16px;
}
.blog-callout__inner p {
  font-size: 1.3rem;
}

.stressed-pie {
  width: 220px;
  max-width: 100%;
  margin: 0 auto 16px;
}
.blog-pie-writer {
  position: absolute;
  right: 650px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(180px, 20vw, 300px);
  height: auto;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 768px) {
  .blog-pie-writer {
    display: none;
  }
}
@media (max-width: 560px) {
  .section-why {
    padding: 28px 0 10px;
  }

  .why-wrap {
    padding-bottom: 90px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 420px;
    margin-bottom: 18px;
  }

  .why-grid li {
    font-size: 0.98rem;
    line-height: 1.4;
    grid-template-columns: 20px 1fr;
    column-gap: 10px;
  }

  .why-grid li::before {
    width: 20px;
    height: 20px;
    font-size: 12px;
    border-radius: 7px;
    transform: translateY(0.1em);
  }

  .why-pie-server {
    width: 260px !important;
    left: 8px !important;
    bottom: -30px !important;
    transform: rotate(-4deg) !important;
    opacity: 0.98;
  }
}
@media (max-width: 768px) {
  .why-pie-server {
    width: 260px !important;
    left: 8px !important;
    bottom: -30px !important;
    transform: rotate(-4deg) !important;
    opacity: 0.98;
  }

  .why-wrap {
    padding-bottom: 90px !important;
  }
}
@media (max-width: 768px) {
  .why-wrap {
    padding-bottom: 140px !important;
  }

  .why-pie-server {
    width: 260px !important;
    left: 8px !important;
    bottom: -60px !important;
    transform: rotate(-4deg) !important;
    opacity: 0.98;
  }
}
/* ------------------------------
   Testimonial Slider
------------------------------ */

.section-testimonials {
  background: #ffffff;
  padding: clamp(18px, 4vw, 34px) 0 clamp(42px, 5vw, 64px);
}

.testimonial-slider {
  position: relative;
  margin-top: 24px;
}

.testimonial-viewport {
  overflow: hidden;
  padding-bottom: 14px;
}

.testimonial-track {
  display: flex;
  transition: transform 520ms ease;
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.testimonial-card {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border: var(--border);
  border-radius: 24px;
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.08);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}

.testimonial-logo {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 999px;
  border: var(--border);
  background: var(--grey-50);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}

.testimonial-quote {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.2;
  max-width: 26ch;
  margin: 0 auto 14px;
}

.testimonial-stars {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.testimonial-meta {
  margin: 0;
  color: var(--grey-600);
  font-weight: 700;
  font-size: 0.98rem;
}

.testimonial-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.14);
  background: #ffffff;
  color: #0b0b0b;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.testimonial-btn:hover {
  transform: translateY(calc(-50% - 2px));
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.12);
}

.testimonial-btn-prev {
  left: 0;
}

.testimonial-btn-next {
  right: 0;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.testimonial-dot.is-active {
  background: #0b0b0b;
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .testimonial-btn-prev {
    left: 6px;
  }

  .testimonial-btn-next {
    right: 6px;
  }

  .testimonial-card {
    max-width: calc(100% - 72px);
  }
}

@media (max-width: 640px) {
  .testimonial-slider {
    position: relative;
  }

  .testimonial-card {
    position: relative;
    max-width: calc(100% - 24px);
    padding: 24px 56px;
    border-radius: 20px;
  }

  .testimonial-logo {
    width: 62px;
    height: 62px;
    font-size: 1rem;
    margin-bottom: 14px;
  }

  .testimonial-quote {
    font-size: 1.2rem;
    max-width: 18ch;
  }

  .testimonial-stars {
    font-size: 1.05rem;
  }

  .testimonial-meta {
    font-size: 0.92rem;
  }

  .testimonial-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 3;
  }

  .testimonial-btn:hover {
    transform: translateY(calc(-50% - 2px));
  }

  .testimonial-btn-prev {
    left: 8px;
  }

  .testimonial-btn-next {
    right: 8px;
  }

  .testimonial-dots {
    margin-top: 20px;
  }
}
.testimonial-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills circle nicely */
  border-radius: 999px;
}
@media (max-width: 860px) {
  .header-phone {
    display: none;
  }
}
.nav-phone-link {
  font-weight: 500; /* removes the heavy bold */
}

/* Mobile styling */
@media (max-width: 860px) {
  .nav-phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 16px;
    border-radius: var(--radius-pill);

    background: rgba(0, 0, 0, 0.05);
    border: var(--border);

    font-weight: 600;
    font-size: 0.95rem;

    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.08);

    margin-top: 6px;
  }

  .nav-phone-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.08);
  }
}
.nav-phone-item {
  display: flex;
  justify-content: center;
}
.nav-phone-item {
  display: none;
}
@media (max-width: 860px) {
  .header-phone {
    display: none;
  }

  .nav-phone-item {
    display: block;
  }
}
.footer-map-card {
  margin-top: 18px;
  background: #ffffff;
  border-radius: var(--radius-card);
  border: var(--border);
  box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-width: 320px;
}

.footer-map-head {
  padding: 16px 16px 10px;
}

.footer-map-head h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: #0b0b0b;
}

.footer-map-head p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--grey-600);
}

.footer-map-card iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}
@media (max-width: 768px) {
  .footer-map-card {
    display: none;
  }
}
/* Case study images - desktop refinement */
@media (min-width: 900px) {
  .case-study-media--hero-image img,
  .case-study-media--full img {
    width: 100%;
    max-width: 1000px; /* key bit */
    margin: 0 auto;
    display: block;

    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  }

  .case-study-media--hero-image,
  .case-study-media--full {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 768px) {
  .case-study-media--hero-image {
    margin-top: 60px;
  }
}
