:root {
  --red: #e30613;
  --black: #0c0c0c;
  --white: #ffffff;
  --muted: #f4f4f4;
  --text: #1a1a1a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding-left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0c0c0cf2;
  border-bottom: 1px solid #ffffff1f;
  padding-left: 0;
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-left: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
  vertical-align: middle;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  margin-left: -1.5rem;
}

.brand::before {
  content: "";
  display: block;
  width: 330px;
  height: 84px;
  background: url("../assets/logo/asquare digital marketing website white logo.png") center / contain no-repeat;
  flex-shrink: 0;
}

.site-header .brand::before {
  width: 360px;
  height: 90px;
}

.brand span {
  display: none;
}

.footer-grid a.brand::after {
  display: none;
}

.site-footer .brand {
  padding: 0;
}

.site-footer .brand::before {
  width: clamp(180px, 19vw, 230px);
  height: clamp(46px, 5.4vw, 60px);
}

.site-nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 1.2rem;
}

.site-nav a {
  color: #ececec;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.2rem;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--red);
}

.site-nav a::after,
.footer-grid a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.12rem;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after,
.footer-grid a:hover::after {
  transform: scaleX(1);
}

.nav-item.has-mega {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  gap: 0.2rem;
}

.nav-item.has-mega > .nav-services-link {
  padding-right: 0.1rem;
}

.mega-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #ececec;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mega-chevron i {
  font-size: 0.78rem;
  line-height: 1;
  display: block;
  pointer-events: none;
}

.mega-chevron:hover,
.nav-item.has-mega:hover > .mega-chevron,
.nav-item.has-mega.is-open > .mega-chevron {
  color: var(--red);
}

.nav-item.has-mega.is-open > .mega-chevron,
.nav-item.has-mega:hover > .mega-chevron {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, calc(100vw - 2rem));
  /* Invisible hover bridge so the menu stays open while moving from the link */
  padding: 0.85rem 0 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s;
  z-index: 60;
}

.nav-item.has-mega:hover > .mega-menu,
.nav-item.has-mega:focus-within > .mega-menu,
.nav-item.has-mega.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  padding: 1.35rem 1.4rem 1.5rem;
  background: #111111;
  border: 1px solid #ffffff22;
  border-radius: 10px;
  box-shadow: 0 18px 40px #00000066;
}

.mega-col h4 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #ffffff1a;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mega-col a {
  display: block;
  padding: 0.38rem 0;
  color: #d8d8d8;
  font-size: 0.86rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.mega-col a::after {
  display: none;
}

.mega-col a:hover {
  color: var(--red);
}

@media (max-width: 1100px) and (min-width: 993px) {
  .mega-menu {
    left: 0;
    transform: none;
    width: min(760px, calc(100vw - 2rem));
  }

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

  .mega-col:last-child {
    grid-column: 1 / -1;
  }
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  background: transparent;
  border: 1px solid #ffffff55;
  color: var(--white);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.hero {
  background: radial-gradient(circle at 80% 0%, #32080c, #140304 45%, #0a0a0a 80%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
}

.hero-video-banner {
  position: relative;
  min-height: clamp(290px, 56vw, 560px);
  overflow: hidden;
  background: #0d0d0d;
}

.hero-video {
  width: 100%;
  height: 100%;
  min-height: clamp(290px, 56vw, 560px);
  object-fit: cover;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, #0000001c 25%, #000000a8 95%);
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.hero-video-text {
  color: #f2f2f2;
  max-width: 62ch;
  margin: 0.5rem 0 0;
  line-height: 1.6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0.6rem 0 1rem;
}

.lead {
  max-width: 60ch;
  color: #e7e7e7;
  line-height: 1.7;
}

.eyebrow {
  color: var(--red);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-block;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s ease, border-color 0.35s ease, transform 0.28s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-102%);
  transition: transform 0.35s ease;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary::before {
  background: linear-gradient(90deg, #7e0209, #b9030e);
}

.btn-outline {
  border-color: #ffffff88;
  color: var(--white);
}

.btn-outline::before {
  background: linear-gradient(90deg, #b9030e, #e30613);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--white);
}

.panel {
  border: 1px solid #ffffff1f;
  border-radius: 16px;
  background: #ffffff0a;
  padding: 1.3rem;
}

.panel h3 {
  margin-bottom: 0.8rem;
}

.panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.panel li span {
  color: var(--red);
  font-weight: 800;
  margin-right: 0.5rem;
}

.media-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.media-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid #ececec;
  background: #111;
}

.media-showcase .media-image:first-child {
  contain: layout paint style;
}

.freegency-section {
  padding: 5.5rem 0;
  background: #fff;
  overflow: hidden;
}

.freegency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.freegency-content h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.freegency-content > p {
  color: #4b4b4b;
  line-height: 1.75;
  max-width: 54ch;
  margin: 0 0 1.7rem;
}

.featured-on {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 1.9rem;
}

.featured-logos {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.featured-logo {
  padding: 0.55rem 0.95rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.featured-logo.dark {
  background: #101010;
  color: #fff;
}

.featured-logo.outline {
  background: #fff;
  border: 2px solid var(--red);
  color: var(--red);
}

.featured-caption {
  margin: 0;
  color: #6b6b6b;
  font-size: 0.85rem;
  line-height: 1.3;
  font-weight: 600;
}

.freegency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.freegency-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.9rem 1.5rem;
  border-radius: 6px;
  background: #101010;
  color: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.freegency-btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--red);
  transition: transform 0.3s ease;
}

.freegency-btn.solid::before {
  right: 0;
}

.freegency-btn.outline::before {
  left: 0;
}

.freegency-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px #0000002e;
}

.freegency-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1.05 / 1;
  margin-left: auto;
}

.freegency-img {
  position: absolute;
  width: 64%;
  height: 64%;
  object-fit: cover;
  border-radius: 12px;
  border: 6px solid #fff;
  box-shadow: 0 20px 40px #00000026;
}

.freegency-img.back {
  top: 0;
  right: 0;
  z-index: 1;
}

.freegency-img.front {
  bottom: 0;
  left: 0;
  z-index: 2;
}

.freegency-accent {
  position: absolute;
  top: 18%;
  left: 24%;
  width: 44%;
  aspect-ratio: 1 / 1;
  border: 7px solid var(--red);
  border-radius: 6px;
  z-index: 3;
  pointer-events: none;
}

.section {
  padding: 4rem 0;
}

.core-growth-section {
  background: #f6f6f6;
}

.core-growth-head {
  max-width: 840px;
}

.core-growth-head p:last-child {
  color: #555;
  line-height: 1.7;
  margin: 0.75rem 0 0;
}

.core-growth-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.core-growth-card {
  position: relative;
  min-height: 260px;
  padding: 1.2rem;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(160deg, #171717, #0b0b0b);
  border: 1px solid #ffffff18;
  overflow: hidden;
}

.core-growth-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--red);
}

.core-growth-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  font-weight: 800;
  margin-bottom: 1rem;
}

.core-growth-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.core-growth-card p {
  color: #d7d7d7;
  line-height: 1.7;
  margin: 0;
}

.service-showcase {
  background: #0b0b0b;
  color: #fff;
  padding: 5.2rem 0;
}

.showcase-head {
  text-align: center;
  margin-bottom: 2.2rem;
}

.showcase-head p {
  margin: 0.7rem auto 0;
  color: #d2d2d2;
  max-width: 62ch;
}

.showcase-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.showcase-viewport {
  overflow: hidden;
  min-width: 0;
}

.showcase-track {
  --slide-gap: 1.7rem;
  display: flex;
  gap: var(--slide-gap);
  transition: transform 0.45s ease;
  will-change: transform;
}

.showcase-slide {
  flex: 0 0 calc((100% - (var(--slide-gap) * 2)) / 3);
}

.carousel-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid #ffffff59;
  background: #171717;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.carousel-btn i {
  font-size: 1.15rem;
  line-height: 1;
  display: block;
  pointer-events: none;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  border-color: #ff5964;
  color: #ff5964;
}

.showcase-card {
  position: relative;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px #0000004d;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.showcase-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 1;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #00000066 0%, #000000eb 100%);
  z-index: 2;
}

.showcase-content {
  position: relative;
  z-index: 3;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.showcase-content h3 {
  font-size: 1.55rem;
  margin-bottom: 0.9rem;
}

.showcase-content p {
  color: #d0d0d0;
  margin: 0 0 1rem;
  line-height: 1.6;
}

.showcase-list {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.showcase-list li {
  color: #e4e4e4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.showcase-list li::before {
  content: "✓";
  color: var(--red);
  font-weight: 800;
}

.showcase-link {
  color: #fff;
  font-weight: 700;
  width: fit-content;
  position: relative;
}

.showcase-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.showcase-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 4;
}

.showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px #00000080;
}

.showcase-card:hover .showcase-bg {
  transform: scale(1.08);
}

.showcase-card:hover .showcase-link {
  color: #ff4f5c;
}

.showcase-card:hover .showcase-link::after {
  transform: scaleX(1);
}

.showcase-card:hover::before {
  transform: translateX(0);
}

.growth-services {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  overflow: hidden;
}

.service-library-head {
  display: grid;
  gap: 0.5rem;
  max-width: 780px;
}

.service-library-head p:last-child {
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.service-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.service-tile {
  position: relative;
  min-height: 250px;
  padding: 1.2rem;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 30px #0000000a;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--red);
  transform: scaleY(0.35);
  transform-origin: top;
  transition: transform 0.28s ease;
}

.service-tile span {
  display: block;
  color: #737373;
  font-size: 0.76rem;
  line-height: 1.45;
  margin-bottom: 0.8rem;
}

.service-tile h3 {
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
}

.service-tile p {
  color: #4f4f4f;
  line-height: 1.7;
  margin: 0;
}

.service-tile ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.service-tile li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  color: #383838;
  font-size: 0.9rem;
  line-height: 1.45;
}

.service-tile li::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: var(--red);
}

.service-tile:hover {
  transform: translateY(-6px);
  border-color: #e3061355;
  box-shadow: 0 20px 36px #e3061318;
}

.service-tile:hover::before {
  transform: scaleY(1);
}

.industry-slider-section {
  padding: 5rem 0;
  background: #0d0d0d;
  color: #fff;
  overflow: hidden;
}

.industry-slider-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.industry-slider-head h2 {
  max-width: 680px;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.industry-slider-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex: 0 0 auto;
}

.industry-slider-viewport {
  overflow: hidden;
  min-width: 0;
}

.industry-slider-track {
  --industry-gap: 1rem;
  display: flex;
  gap: var(--industry-gap);
  transition: transform 0.45s ease;
  will-change: transform;
}

.industry-slide {
  position: relative;
  flex: 0 0 calc((100% - (var(--industry-gap) * 2)) / 3);
  min-height: 390px;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 22px 44px #00000055;
  border: 1px solid #ffffff24;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.industry-slide-bg,
.industry-slide-overlay {
  position: absolute;
  inset: 0;
}

.industry-slide-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: transform 0.55s ease, filter 0.55s ease;
  z-index: -2;
}

.industry-slide-overlay {
  background:
    linear-gradient(180deg, #0000001a 0%, #000000a8 55%, #000000f0 100%),
    linear-gradient(135deg, #e3061340 0%, transparent 45%);
  z-index: -1;
  transition: background 0.35s ease;
}

.industry-slide-content {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}

.industry-slide-content span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #ffffff;
  color: var(--red);
  font-weight: 900;
  box-shadow: 0 12px 26px #00000042;
}

.industry-slide-content h3 {
  font-size: 1.45rem;
  margin-bottom: 0.7rem;
}

.industry-slide-content p {
  color: #e4e4e4;
  line-height: 1.65;
  margin: 0;
}

.industry-slide:hover {
  transform: translateY(-8px);
  border-color: #ff5964;
  box-shadow: 0 28px 54px #00000080;
}

.industry-slide:hover .industry-slide-bg {
  transform: scale(1.1);
  filter: saturate(1.08) contrast(1.05);
}

.industry-slide:hover .industry-slide-overlay {
  background:
    linear-gradient(180deg, #00000005 0%, #00000091 48%, #000000f5 100%),
    linear-gradient(135deg, #e3061375 0%, transparent 55%);
}

.proof-section {
  background: #101010;
  color: #fff;
  padding: 4.5rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: center;
}

.proof-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof-metric {
  min-height: 210px;
  padding: 1.4rem;
  border: 1px solid #ffffff20;
  border-radius: 8px;
  background: linear-gradient(160deg, #181818, #0d0d0d);
}

.proof-metric strong {
  display: block;
  color: var(--red);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.proof-metric p {
  color: #d5d5d5;
  line-height: 1.65;
  margin: 0;
}

.partner-section {
  background: #fff;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.partner-card {
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 1.15rem;
  background: #fff;
  box-shadow: 0 14px 28px #0000000b;
}

.partner-card h3 {
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.partner-card p {
  color: #555;
  line-height: 1.65;
  margin: 0;
}

.work-flow-section {
  background:
    linear-gradient(135deg, #170506 0%, #0c0c0c 55%, #151515 100%);
  color: #fff;
  padding: 4.5rem 0;
}

.work-flow-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.work-flow-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.work-flow-list {
  display: grid;
  gap: 0.9rem;
}

.work-flow-step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid #ffffff24;
  border-radius: 8px;
  background: #ffffff0a;
}

.work-flow-step span {
  color: var(--red);
  font-weight: 800;
}

.work-flow-step h3 {
  font-size: 1.2rem;
}

.work-flow-step p {
  grid-column: 2;
  color: #d8d8d8;
  line-height: 1.65;
  margin: -0.35rem 0 0;
}

.faq-section {
  background: #f7f7f7;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2rem;
  align-items: start;
}

.faq-section .faq-list details {
  border-radius: 8px;
  border-color: #e4e4e4;
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 24px #00000008;
}

.faq-section .faq-list summary {
  color: #151515;
}

.impact-band {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 7.5rem;
}

.impact-band-head {
  text-align: center;
  margin-bottom: 2.2rem;
}

.impact-stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  text-align: center;
}

.impact-stat h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
}

.impact-stat p {
  margin: 0.35rem 0 0;
  color: #bdbdbd;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.audit-cta-section {
  background: var(--muted);
  padding: 0 0 4.5rem;
  margin-top: -5.5rem;
}

.audit-card-wrap {
  position: relative;
}

.audit-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 55px #00000029;
  position: relative;
}

.audit-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(260px, 34vw, 440px);
  max-width: 85%;
  aspect-ratio: 1 / 1;
  border: 14px solid var(--red);
  border-radius: 8px;
  transform: translate(-25%, 25%);
  z-index: 5;
  pointer-events: none;
}

.audit-image {
  min-height: 320px;
  background: #111;
}

.audit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.audit-content {
  padding: clamp(1.6rem, 3vw, 2.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.audit-content h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.28;
}

.audit-content p {
  color: #4c4c4c;
  line-height: 1.75;
  margin: 0;
}

.audit-content .btn {
  width: fit-content;
}

.section.dark {
  background: var(--black);
  color: var(--white);
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  border: 1px solid #ececec;
  border-radius: 14px;
  background: #fff;
  padding: 1.2rem;
  box-shadow: 0 12px 26px #0000000b;
}

.card p {
  margin-bottom: 0;
  line-height: 1.7;
}

.dark .card {
  background: #141414;
  border-color: #252525;
}

.dark .card p {
  color: #d5d5d5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat {
  padding: 1rem;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  background: #151515;
  text-align: center;
}

.stat h3 {
  font-size: 2.3rem;
  color: var(--red);
}

.stat p {
  margin: 0.25rem 0 0;
  color: #cacaca;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.timeline-item {
  border-left: 3px solid var(--red);
  padding: 0.8rem 0.8rem 0.8rem 1rem;
  background: var(--muted);
  border-radius: 0 10px 10px 0;
}

.timeline-item p {
  margin: 0.45rem 0 0;
  line-height: 1.6;
}

.cta {
  background: linear-gradient(105deg, #140607, #300b0f);
  color: var(--white);
}

.cta-box {
  text-align: center;
}

.cta-box p {
  color: #e6e6e6;
}

.site-footer {
  background: linear-gradient(180deg, #0c0c0c 0%, #080808 100%);
  color: #f2f2f2;
  padding: 3rem 0 0;
  border-top: 1px solid #ffffff14;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1fr 1.1fr;
  gap: 2rem 1.5rem;
  padding-bottom: 2rem;
}

.footer-brand .footer-tagline,
.footer-brand > p {
  display: block;
  color: #bdbdbd;
  margin: 0.85rem 0 1.1rem;
  max-width: 34ch;
  line-height: 1.55;
  font-size: 0.92rem;
}

.footer-grid h4 {
  color: var(--red);
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: #cecece;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.footer-grid a {
  position: relative;
  width: fit-content;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--red);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid #ffffff2e;
  background: #141414;
  color: #f0f0f0;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-social .social-link::after {
  display: none;
}

.footer-social .social-link i {
  font-size: 1.05rem;
  line-height: 1;
}

.footer-social .social-link:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.2rem 0;
}

.footer-contact p i {
  color: var(--red);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-contact a {
  display: inline;
  width: auto;
  color: #cecece;
}

.footer-contact a::after {
  display: none;
}

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #ffffff14;
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid #ffffff14;
  padding: 1rem 0 1.25rem;
}

.copyright {
  text-align: center;
  margin: 0;
  color: #b9b9b9;
  font-size: 0.85rem;
}

.page-hero {
  background: linear-gradient(180deg, #130506, #0f0f0f);
  color: var(--white);
  padding: 3.5rem 0;
}

.breadcrumbs {
  color: #e0e0e0;
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--red);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.9;
}

.blog-card time {
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 700;
}

.form {
  display: grid;
  gap: 0.8rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  padding: 0.8rem;
  font: inherit;
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-list {
  margin: 0.9rem 0 1.1rem;
}

.legal {
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 {
  transition-delay: 0.05s;
}

.reveal-d2 {
  transition-delay: 0.15s;
}

.reveal-d3 {
  transition-delay: 0.25s;
}

.reveal-d4 {
  transition-delay: 0.35s;
}

.about-highlight {
  position: relative;
  overflow: hidden;
}

.about-highlight::after {
  content: "";
  position: absolute;
  inset: auto -15% -35% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, #e3061329, transparent 70%);
  pointer-events: none;
}

.about-founder .founder-card {
  background: linear-gradient(165deg, #151515, #0f0f0f);
  border-color: #2a2a2a;
}

.about-stats {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-items: stretch;
}

.about-stats .stat h3 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.1;
  word-break: break-word;
}

.about-stats .stat p {
  font-size: 0.88rem;
  line-height: 1.45;
}

.about-stats .stat {
  animation: statPulse 3.5s ease-in-out infinite;
}

.about-stats .stat:nth-child(2) {
  animation-delay: 0.25s;
}

.about-stats .stat:nth-child(3) {
  animation-delay: 0.5s;
}

.about-services .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-services .card:hover {
  transform: translateY(-6px);
  border-color: #e3061360;
  box-shadow: 0 16px 28px #e306131f;
}

.about-philosophy .cta-box {
  max-width: 920px;
}

.service-select {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
  max-width: 360px;
}

.service-search {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
  max-width: 420px;
}

.service-search label {
  color: #d5d5d5;
  font-size: 0.88rem;
  font-weight: 600;
}

.service-search input {
  width: 100%;
  border: 1px solid #ffffff4f;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: #111111;
  color: #f1f1f1;
  font: inherit;
}

.service-select label {
  color: #d5d5d5;
  font-size: 0.88rem;
  font-weight: 600;
}

.service-select select {
  width: 100%;
  border: 1px solid #ffffff4f;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: #111111;
  color: #f1f1f1;
  font: inherit;
}

.service-card {
  display: grid;
  gap: 0.7rem;
}

.service-card.is-hidden {
  display: none;
}

.service-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e3061318;
  color: var(--red);
  font-size: 1.2rem;
  border: 1px solid #e3061333;
}

.service-card .btn {
  justify-self: start;
}

.service-hero {
  background: linear-gradient(180deg, #140607, #0d0d0d);
  color: var(--white);
  padding: 3.5rem 0;
}

.service-hero .lead {
  max-width: 72ch;
}

.service-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 1rem;
  align-items: start;
}

.service-main .card + .card {
  margin-top: 1rem;
}

.service-main h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.service-image {
  width: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #ececec;
  box-shadow: 0 14px 28px #00000012;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.service-image:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 36px #e3061318;
}

/* Floating informational cards */
.icon-item,
.process-step,
.service-aside .card,
.service-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  animation: infoCardFloat 4.8s ease-in-out infinite;
}

.icon-item:nth-child(2n),
.process-step:nth-child(2n),
.service-aside .card:nth-child(2n),
.service-card:nth-child(2n) {
  animation-delay: 0.55s;
}

.icon-item:nth-child(3n),
.process-step:nth-child(3n),
.service-aside .card:nth-child(3n),
.service-card:nth-child(3n) {
  animation-delay: 1.1s;
}

.icon-item:hover,
.process-step:hover,
.service-aside .card:hover,
.service-card:hover {
  animation-play-state: paused;
  transform: translateY(-8px);
  border-color: #e3061340;
  box-shadow: 0 18px 30px #e3061418;
}

@keyframes infoCardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .icon-item,
  .process-step,
  .service-aside .card,
  .service-card {
    animation: none;
  }
}

.feature-list {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.85;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.icon-item {
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.icon-item h4 {
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.icon-item h4 span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: none;
  background: #e3061318;
  color: var(--red);
  font-size: 1.05rem;
  border: 1px solid #e3061335;
}

.process-grid {
  display: grid;
  gap: 0.8rem;
}

.process-step {
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  background: #fff;
}

.process-step h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.process-step h4 span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 0.82rem;
}

.service-aside {
  position: sticky;
  top: 95px;
  display: grid;
  gap: 1rem;
}

.service-cta {
  background: linear-gradient(120deg, #180708, #2f0c0f);
  color: #fff;
  border: 1px solid #ffffff2d;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 0.55rem 0 0;
  line-height: 1.7;
}

.services-explorer {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.services-sidebar {
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
  position: sticky;
  top: 92px;
  display: grid;
  gap: 0.45rem;
}

.services-sidebar h3 {
  margin-top: 0.25rem;
  margin-bottom: 0.2rem;
  color: var(--red);
  font-size: 0.92rem;
}

.services-sidebar a {
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.services-sidebar a:hover {
  background: #f9eded;
  border-color: #e3061333;
}

.services-menu-toggle {
  display: none;
  margin-bottom: 0.9rem;
  background: #fff;
  color: var(--text);
  border-color: #dadada;
}

.services-menu-toggle::before {
  background: linear-gradient(90deg, #f8d8da, #f6c8cc);
}

.section-top-gap {
  margin-top: 2rem;
}

.admin-shell {
  display: grid;
  place-items: center;
}

.admin-card {
  width: min(580px, 100%);
}

.admin-layout {
  display: grid;
  gap: 1rem;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.admin-helper {
  color: #4b4b4b;
  margin-bottom: 1rem;
}

.admin-link {
  margin: 0.85rem 0;
  padding: 0.75rem 0.9rem;
  border: 1px dashed #d4d4d4;
  border-radius: 10px;
  background: #fafafa;
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.admin-guard {
  color: #b9030e;
  font-weight: 600;
}

.admin-post-list {
  display: grid;
  gap: 0.7rem;
}

.admin-post-item h4 {
  margin-bottom: 0.45rem;
}

.admin-post-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.admin-empty {
  margin: 0;
  color: #5f5f5f;
}

.admin-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0 0.6rem;
}

.admin-fieldset {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 1rem 1.1rem 1.2rem;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.admin-fieldset legend {
  padding: 0 0.5rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.form-hint {
  display: block;
  font-weight: 400;
  color: #8a8a8a;
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.post-meta-row {
  margin-top: 1.2rem;
}

.post-meta-chip {
  padding: 0.4rem 0.85rem;
  border: 1px solid #ffffff2a;
  border-radius: 999px;
  background: #ffffff0d;
}

.post-meta-chip span {
  color: #eaeaea !important;
  font-size: 0.82rem !important;
  font-weight: 600;
}

.post-figure {
  margin: 0 0 1.4rem;
}

.post-figure img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.post-figure figcaption {
  margin-top: 0.5rem;
  color: #6b6b6b;
  font-size: 0.86rem;
  text-align: center;
}

.post-block-title {
  margin: 1.6rem 0 0.8rem;
}

.post-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.blog-card-tags {
  margin-bottom: 0.5rem;
}

.form-message {
  margin: 0.2rem 0 0;
  color: #b9030e;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-message.is-success {
  color: #0f7a3a;
}

.form-message.is-error {
  color: #b9030e;
}

.contact-section {
  padding-top: 2.2rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.25rem;
  align-items: start;
}

.contact-info,
.contact-form {
  min-width: 0;
  position: relative;
}

.contact-form-note {
  margin: -0.2rem 0 0.2rem;
  color: #666;
  font-size: 0.92rem;
  font-weight: 500;
}

.contact-details {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.contact-details p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: #333;
  word-break: break-word;
}

.contact-details i {
  color: var(--red);
  flex-shrink: 0;
}

.contact-details a {
  color: inherit;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--red);
}

.contact-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-submit {
  justify-self: start;
  min-width: 140px;
}

.contact-submit:disabled {
  opacity: 0.75;
  cursor: wait;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid #e3061333;
  border-color: var(--red);
}

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

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

  .contact-submit {
    width: 100%;
    justify-self: stretch;
  }
}

.industry-grid .reveal:nth-child(1) {
  transition-delay: 0.03s;
}

.industry-grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.industry-grid .reveal:nth-child(3) {
  transition-delay: 0.13s;
}

.industry-grid .reveal:nth-child(4) {
  transition-delay: 0.18s;
}

.industry-grid .reveal:nth-child(5) {
  transition-delay: 0.23s;
}

.industry-grid .reveal:nth-child(6) {
  transition-delay: 0.28s;
}

.industry-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.industry-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  right: -70px;
  bottom: -70px;
  background: radial-gradient(circle, #e3061324, transparent 65%);
  pointer-events: none;
}

.industry-card:hover {
  transform: translateY(-6px);
  border-color: #e3061355;
  box-shadow: 0 16px 30px #e306131f;
}

.industry-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #e3061317;
  border: 1px solid #e3061330;
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  animation: industryFloat 3.8s ease-in-out infinite;
}

.industry-focus {
  background: linear-gradient(160deg, #161616, #111111);
  border-color: #2b2b2b;
}

@keyframes industryFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes statPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 #00000000;
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px #00000030;
  }
}

/* Portfolio page */
.portfolio-search {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.45rem;
  max-width: 420px;
}

.portfolio-search label {
  color: #d5d5d5;
  font-size: 0.88rem;
  font-weight: 600;
}

.portfolio-search input {
  width: 100%;
  border: 1px solid #ffffff4f;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  background: #111111;
  color: #f1f1f1;
  font: inherit;
}

.portfolio-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 1.6rem;
}

.portfolio-stats .stat-inline strong {
  display: block;
  font-size: 1.7rem;
  color: var(--red);
  line-height: 1.1;
}

.portfolio-stats .stat-inline span {
  color: #cfcfcf;
  font-size: 0.85rem;
}

.portfolio-group + .portfolio-group {
  margin-top: 0.4rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.1rem;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  transform: translateY(24px) scale(0.94);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  transition-delay: calc(var(--i, 0) * 0.05s);
}

.portfolio-card.in {
  transform: translateY(0) scale(1);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  right: -80px;
  bottom: -90px;
  background: radial-gradient(circle, #e3061322, transparent 65%);
  pointer-events: none;
  transition: transform 0.5s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px) scale(1.045) !important;
  border-color: #e3061355;
  box-shadow: 0 20px 36px #e3061324;
  z-index: 2;
}

.portfolio-card:hover::after {
  transform: scale(1.25);
}

.portfolio-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.portfolio-number {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #e3061317;
  border: 1px solid #e3061330;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 800;
  animation: industryFloat 3.6s ease-in-out infinite;
}

.portfolio-logo {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  padding: 0.35rem;
}

.portfolio-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.portfolio-logo.is-dark {
  background: #111111;
  border-color: #2a2a2a;
}

.portfolio-logo.is-wide {
  width: 72px;
  height: 56px;
}

.portfolio-card-title h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.portfolio-card-title h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.portfolio-card-title h3 a:hover {
  color: var(--red);
}

.portfolio-card-title h3 a::after {
  display: none;
}

.portfolio-domain {
  display: inline-block;
  margin-top: 0.15rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 600;
  word-break: break-all;
  position: relative;
}

.portfolio-domain::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.portfolio-domain:hover::after {
  transform: scaleX(1);
}

.portfolio-focus {
  color: #333;
  line-height: 1.65;
  font-size: 0.94rem;
}

.dark .portfolio-focus {
  color: #d5d5d5;
}

.portfolio-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.portfolio-chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--red);
  background: #e3061314;
  border: 1px solid #e3061330;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.portfolio-card:hover .portfolio-chip {
  transform: translateY(-2px);
}

.portfolio-strategies {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #444;
}

.dark .portfolio-strategies {
  color: #cacaca;
}

.portfolio-draft {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px dashed #e3061366;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  background: #e3061310;
}

@media (max-width: 992px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-wrap {
    position: relative;
    min-height: 80px;
  }

  .brand {
    margin-left: -0.5rem;
  }

  .site-header .brand::before {
    width: clamp(170px, 34vw, 240px);
    height: clamp(44px, 8vw, 62px);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #090909;
    padding: 1rem;
    border-top: 1px solid #ffffff1f;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    max-height: min(78vh, 640px);
    overflow-y: auto;
    z-index: 70;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav > a,
  .nav-item.has-mega > .nav-services-link {
    padding: 0.55rem 0.15rem;
  }

  .nav-item.has-mega {
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    align-self: auto;
    justify-content: space-between;
    gap: 0.35rem;
  }

  .nav-item.has-mega > .nav-services-link {
    flex: 1;
    min-width: 0;
  }

  .mega-chevron {
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid #ffffff33;
    border-radius: 6px;
  }

  .nav-item.has-mega:hover > .mega-chevron {
    transform: none;
  }

  .nav-item.has-mega.is-open > .mega-chevron {
    transform: rotate(180deg);
  }

  .mega-menu {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    max-width: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    margin-top: 0.2rem;
    padding: 0;
    transition: none;
  }

  .nav-item.has-mega:hover > .mega-menu,
  .nav-item.has-mega:focus-within > .mega-menu {
    display: none;
  }

  .nav-item.has-mega.is-open > .mega-menu {
    display: block;
    transform: none;
  }

  .mega-menu-inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: none;
  }

  .hero-grid,
  .media-showcase,
  .split,
  .card-grid.three,
  .timeline,
  .stats-grid,
  .footer-grid,
  .core-growth-grid,
  .service-library-grid,
  .proof-grid,
  .partner-grid,
  .work-flow-grid,
  .faq-layout {
    grid-template-columns: 1fr 1fr;
  }

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

  .service-layout,
  .icon-grid,
  .services-explorer,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .freegency-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .freegency-visual {
    max-width: 460px;
    margin: 0 auto;
  }

  .audit-card {
    grid-template-columns: 1fr;
  }

  .audit-image {
    min-height: 260px;
  }

  .impact-band {
    padding-bottom: 6.5rem;
  }

  .audit-cta-section {
    margin-top: -4.5rem;
  }

  .showcase-carousel {
    grid-template-columns: auto 1fr auto;
    gap: 0.55rem;
    align-items: center;
  }

  .showcase-track {
    --slide-gap: 1rem;
  }

  .showcase-slide {
    flex-basis: calc((100% - var(--slide-gap)) / 2);
  }

  .industry-slide {
    flex-basis: calc((100% - var(--industry-gap)) / 2);
  }

  .industry-slider-head {
    align-items: center;
    gap: 1rem;
  }

  .industry-slider-controls {
    margin-left: auto;
  }

  .proof-metrics {
    grid-template-columns: 1fr;
  }

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

  .work-flow-step {
    grid-template-columns: 84px 1fr;
  }

  .service-aside {
    position: static;
  }

  .services-sidebar {
    position: static;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand .footer-tagline,
  .footer-brand > p {
    max-width: 52ch;
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    min-height: 76px;
  }

  .brand {
    padding: 0;
    border-radius: 0;
    margin-left: -0.25rem;
  }

  .site-header .brand::before {
    width: clamp(155px, 46vw, 195px);
    height: clamp(40px, 12vw, 52px);
  }

  .hero-grid,
  .media-showcase,
  .split,
  .form-grid,
  .card-grid.three,
  .card-grid.two,
  .timeline,
  .stats-grid,
  .footer-grid,
  .core-growth-grid,
  .service-library-grid,
  .proof-grid,
  .partner-grid,
  .work-flow-grid,
  .faq-layout,
  .post-links-grid {
    grid-template-columns: 1fr;
  }

  .freegency-section {
    padding: 3.4rem 0;
  }

  .freegency-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .freegency-btn {
    justify-content: center;
  }

  .freegency-accent {
    border-width: 5px;
  }

  .service-showcase {
    padding: 3.2rem 0;
  }

  .impact-stats-row {
    gap: 1.4rem 1rem;
  }

  .impact-band {
    padding: 3rem 0 5.5rem;
  }

  .audit-accent {
    width: clamp(160px, 52vw, 230px);
    border-width: 10px;
  }

  .audit-cta-section {
    margin-top: -3.5rem;
    padding-bottom: 3.2rem;
  }

  .audit-content {
    gap: 0.8rem;
  }

  .showcase-carousel {
    display: grid;
    grid-template-columns: 2.5rem 1fr 2.5rem;
    gap: 0.45rem;
    align-items: center;
  }

  .showcase-viewport {
    order: unset;
    min-width: 0;
  }

  .showcase-carousel > .carousel-btn {
    position: static;
    margin: 0;
    justify-self: center;
    align-self: center;
  }

  .showcase-carousel > .carousel-btn.prev {
    grid-column: 1;
    grid-row: 1;
  }

  .showcase-carousel > .carousel-btn.next {
    grid-column: 3;
    grid-row: 1;
    margin-top: 0;
  }

  .showcase-viewport {
    grid-column: 2;
    grid-row: 1;
  }

  .showcase-track {
    --slide-gap: 0.8rem;
  }

  .showcase-slide {
    flex-basis: 100%;
  }

  .industry-slider-section {
    padding: 3.4rem 0;
  }

  .industry-slider-head {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .industry-slider-controls {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }

  .industry-slide {
    flex-basis: 100%;
    min-height: 340px;
  }

  .industry-slide-content {
    min-height: 340px;
    padding: 1.2rem;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .carousel-btn i {
    font-size: 1.05rem;
  }

  .showcase-card {
    min-height: 330px;
  }

  .showcase-content {
    padding: 1.4rem;
  }

  .showcase-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.55rem;
  }

  .service-tile,
  .proof-metric {
    min-height: auto;
  }

  .work-flow-step {
    grid-template-columns: 1fr;
  }

  .work-flow-step p {
    grid-column: auto;
    margin-top: 0;
  }

  .about-services .card:hover {
    transform: none;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .industry-card:hover {
    transform: none;
  }

  .showcase-card:hover {
    transform: none;
  }

  .admin-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-post-actions {
    flex-wrap: wrap;
  }

  .services-menu-toggle {
    display: inline-block;
    width: fit-content;
  }

  .services-sidebar {
    display: none;
  }

  .services-sidebar.open {
    display: grid;
  }
}

/* Iconography */
.menu-toggle i {
  font-size: 1.15rem;
  line-height: 1;
  display: block;
}

.footer-grid p i {
  color: var(--red);
  margin-right: 0.15rem;
  width: 1em;
  display: inline-block;
  text-align: center;
  flex-shrink: 0;
}

.portfolio-chip i,
.post-meta-chip span i,
.blog-card time i,
.admin-post-meta .portfolio-chip i {
  margin-right: 0.3rem;
}

.post-block-title i {
  color: var(--red);
  margin-right: 0.35rem;
}

.list,
.feature-list {
  list-style: none;
  padding-left: 0;
}

.list li,
.feature-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.35rem;
}

.list li::before,
.feature-list li::before {
  content: "\f633";
  font-family: "bootstrap-icons" !important;
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--red);
  font-size: 0.85em;
  font-weight: 400;
}

.post-links-grid .list li::before {
  content: "\f470";
}

.industry-icon i,
.service-card .icon i,
.icon-item h4 span i {
  line-height: 1;
}
