/* HEAP — Monumental redesign v2 */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --red: #e30613;
  --red-glow: rgba(227, 6, 19, 0.35);
  --black: #070708;
  --black-2: #101012;
  --ash: #1c1c20;
  --fog: #e8e8ea;
  --mist: #f6f6f7;
  --mute: #8a8a93;
  --white: #fafafa;
  --line: rgba(255,255,255,0.1);
  --line-d: rgba(7,7,8,0.1);
  --display: 'Instrument Serif', Georgia, serif;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --wrap: min(1320px, calc(100% - 3rem));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-weight: 500; line-height: 0.95; letter-spacing: -0.03em; }
.page-wrapper { min-height: 100vh; }
.auto-container, .heap-container { width: var(--wrap); margin-inline: auto; }

/* ===== Preloader ===== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader::after {
  content: 'HEAP';
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 7rem);
  letter-spacing: 0.2em;
  color: var(--white);
  animation: markIn 1.2s var(--ease) infinite alternate;
}
@keyframes markIn {
  from { letter-spacing: 0.05em; opacity: .4; }
  to { letter-spacing: 0.28em; opacity: 1; }
}

/* ===== Buttons ===== */
.theme-btn, .heap-btn {
  --btn-bg: var(--red);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1rem 1.6rem;
  border: 0; border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-fg) !important;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: transform .35s var(--ease), background .35s var(--ease), letter-spacing .35s var(--ease);
}
.theme-btn:hover, .heap-btn:hover {
  transform: translateY(-3px);
  letter-spacing: .12em;
  color: var(--btn-fg) !important;
  background: #ff1420;
}
.heap-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border: 1px solid var(--line);
  clip-path: none;
  border-radius: 999px;
}
.heap-btn--ghost:hover { background: var(--white); color: var(--black) !important; }
.heap-btn--dark { --btn-bg: var(--black); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.animated { animation-duration: .9s; animation-fill-mode: both; }
@keyframes fadeInUp { from { opacity:0; transform:translate3d(0,24px,0);} to { opacity:1; transform:none;} }
.fadeInUp { animation-name: fadeInUp; }

/* ===== HEADER ===== */
.main-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 1000;
  color: var(--white);
  mix-blend-mode: normal;
}
.main-header.fixed-header {
  position: fixed;
  background: rgba(7,7,8,.85);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  animation: drop .45s var(--ease);
}
@keyframes drop { from { transform: translateY(-120%); } to { transform: none; } }
body:not(.is-home) .main-header {
  position: sticky; top: 0;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.heap-topbar {
  display: none;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.35);
}
@media (min-width: 1100px) { .heap-topbar { display: block; } }
.heap-topbar .heap-container {
  min-height: 34px;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.heap-topbar a { opacity: .7; }
.heap-topbar a:hover { opacity: 1; color: var(--white); }
.heap-topbar-tag { color: var(--red); font-style: italic; letter-spacing: .04em; text-transform: none; font-family: var(--display); font-size: .95rem; }

.heap-nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 1rem;
  flex-wrap: wrap;
}
.heap-logo {
  display: flex; align-items: center; gap: .85rem;
  font-weight: 700; letter-spacing: .18em; font-size: 1.1rem;
  flex-shrink: 0;
}
.heap-logo img { width: 118px; }
.heap-nav-right { display: flex; align-items: center; gap: 1rem; margin-left: auto; }

/* Certifications cluster (Revit + LEMS + ASCB + ISO text) */
.heap-certs {
  display: none;
  align-items: center;
  gap: .55rem;
  padding: .35rem .55rem;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  max-width: min(420px, 42vw);
}
@media (min-width: 1100px) { .heap-certs { display: flex; } }
.heap-cert-img {
  width: 42px; height: auto; object-fit: contain;
  background: #fff; border-radius: 4px; padding: 2px;
  flex-shrink: 0;
}
.heap-cert-img--ascb { width: 58px; }
.heap-iso {
  display: flex; flex-direction: column; gap: 1px;
  font-size: .62rem; line-height: 1.25;
  color: rgba(255,255,255,.88);
  white-space: nowrap;
  padding-left: .35rem;
  border-left: 1px solid var(--line);
}
.heap-iso strong {
  color: var(--red);
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.heap-iso span { color: rgba(255,255,255,.78); }
.heap-mobile-certs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  padding: .75rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .5rem;
}
.heap-mobile-certs img {
  height: 40px; width: auto; object-fit: contain;
  background: #fff; border-radius: 4px; padding: 2px;
}
.heap-mobile-certs .heap-iso {
  border-left: 0; padding-left: 0; width: 100%;
  margin-top: .25rem;
}

.heap-menu { display: none; gap: .1rem; align-items: center; }
@media (min-width: 1080px) { .heap-menu { display: flex; } }
.heap-menu a {
  position: relative;
  padding: .55rem .65rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.heap-menu a:hover, .heap-menu .current > a { color: var(--white); }
.heap-menu .current > a::after {
  content: '';
  position: absolute; left: .65rem; right: .65rem; bottom: 0;
  height: 2px; background: var(--red);
}
.heap-nav-cta {
  display: none;
  padding: .7rem 1.1rem !important;
  background: var(--red);
  color: var(--white) !important;
  font-size: .72rem !important;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
@media (min-width: 1080px) { .heap-nav-cta { display: inline-flex; } }

.heap-burger {
  width: 46px; height: 46px; border: 1px solid var(--line);
  background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; padding: 0;
}
@media (min-width: 1080px) { .heap-burger { display: none; } }
.heap-burger span { display:block; width:18px; height:1.5px; background:var(--white); transition:.3s var(--ease); }
.heap-burger.is-open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.heap-burger.is-open span:nth-child(2){ opacity:0; }
.heap-burger.is-open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

.heap-mobile {
  display: none; position: absolute; inset: 84px 0 auto 0;
  background: rgba(7,7,8,.97); padding: 1rem 1.5rem 2rem;
  border-top: 1px solid var(--line);
}
.heap-mobile.is-open { display: block; }
@media (min-width: 1080px) { .heap-mobile { display: none !important; } }
.heap-mobile a {
  display: block; padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  color: var(--white);
}
.sticky-header { display: none !important; }

/* ===== HERO ===== */
.main-slider, .heap-hero {
  position: relative;
  min-height: 100svh;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.main-slider-carousel .slide,
.heap-hero > .slide {
  position: relative;
  min-height: 100svh;
  background-size: cover !important;
  background-position: center !important;
}
.main-slider-carousel .slide::before,
.heap-hero > .slide::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,8,.92) 0%, rgba(7,7,8,.55) 42%, rgba(7,7,8,.15) 100%),
    linear-gradient(0deg, rgba(7,7,8,.7) 0%, transparent 40%);
}
.main-slider .auto-container,
.heap-hero > .slide .auto-container {
  position: relative; z-index: 2;
  width: var(--wrap); margin: 0 auto;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: 7.5rem 0 4.5rem;
  gap: 1.5rem;
}
.hero-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  font-weight: 600;
}
.hero-meta::before { content:''; width: 40px; height: 1px; background: var(--red); }
.main-slider .brand-mark,
.heap-hero .brand-mark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(4.5rem, 16vw, 11rem);
  line-height: .82;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--white);
}
.main-slider .brand-mark span,
.heap-hero .brand-mark span { color: var(--red); }
.main-slider .title { display: none; } /* moved into hero-meta via blade */
.main-slider h1,
.heap-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  max-width: 14ch;
  color: var(--white);
  margin: .2rem 0 0;
}
.main-slider .text,
.heap-hero .text {
  max-width: 42ch;
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  margin: .5rem 0 1.2rem;
}
.hero-bottom {
  display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between;
  margin-top: .5rem;
}
.hero-scroll {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: .75rem;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollPulse 1.6s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(.4); opacity: .4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
}
.main-slider .owl-nav { display: none; }
.main-slider .owl-dots {
  position: absolute; z-index: 3;
  right: max(1.5rem, calc((100% - 1320px)/2));
  bottom: 3.5rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.main-slider .owl-dot span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.35) !important; display: block; margin: 0 !important;
  transition: .3s var(--ease);
}
.main-slider .owl-dot.active span {
  background: var(--red) !important;
  height: 28px; border-radius: 999px;
}

/* Giant watermark */
.section-watermark {
  position: absolute;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(5rem, 22vw, 18rem);
  line-height: .8;
  letter-spacing: -0.05em;
  color: rgba(7,7,8,.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section-watermark--light { color: rgba(255,255,255,.04); }

/* ===== Section chrome ===== */
.heap-section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; overflow: hidden; }
.sec-title-three, .sec-title, .heap-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; z-index: 1; }
.sec-title-three .title, .sec-title .title, .heap-kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.sec-title-three .title::before, .heap-kicker::before {
  content: attr(data-num);
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0;
  color: var(--black);
  font-style: italic;
  text-transform: none;
}
.sec-title-three h2, .sec-title h2, .heap-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5rem);
  max-width: 12ch;
  margin: 0;
}
.sec-title-three.centered, .sec-title.centered { text-align: center; }
.sec-title-three.centered h2, .sec-title.centered h2 { margin-inline: auto; max-width: 16ch; }
.sec-title-three.centered .title { justify-content: center; }
.sec-title span, .heap-head span, .sec-title-three h2 span { color: var(--red); font-style: italic; }

/* ===== ABOUT — split monumental ===== */
.about-section-four {
  padding: 0;
  background: var(--white);
  position: relative;
}
.about-section-four .auto-container { width: 100%; max-width: none; padding: 0; }
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 90vh;
}
@media (min-width: 960px) {
  .about-layout { grid-template-columns: 1.05fr .95fr; }
}
.about-media {
  position: relative;
  min-height: 55vh;
  overflow: hidden;
}
@media (min-width: 960px) {
  .about-media { min-height: 100%; position: sticky; top: 0; height: 100vh; }
}
.about-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.9) contrast(1.05);
}
.about-media::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(to top, rgba(7,7,8,.55), transparent);
}
.about-media-badge {
  position: absolute; left: 1.5rem; bottom: 1.5rem; z-index: 2;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-style: italic;
}
.about-copy {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem);
  display: flex; flex-direction: column; justify-content: center;
  background:
    linear-gradient(135deg, transparent 0%, rgba(227,6,19,.03) 100%),
    var(--white);
  position: relative;
}
.about-copy .sec-title-three { margin-bottom: 2rem; }
.about-copy .text {
  font-size: 1.12rem;
  line-height: 1.85;
  color: #2b2b30;
  max-width: 38ch;
  position: static !important;
  top: auto !important;
  transform: none !important;
}
.about-copy .text p { margin: 0 0 1.1rem; }

/* ===== SERVICES — full-width strips ===== */
.services-section-ten {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.services-section-ten .sec-title-three .title::before { color: var(--white); }
.services-section-ten .sec-title-three h2 { color: var(--white); }
.services-section-ten .auto-container { position: relative; z-index: 1; }
.services-strip {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.services-block-fourteen {
  width: 100% !important; max-width: none !important; padding: 0 !important; float: none !important;
}
.services-block-fourteen .inner-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  background: transparent !important;
  border-radius: 0 !important;
  transition: .4s var(--ease);
  position: relative;
}
@media (max-width: 800px) {
  .services-block-fourteen .inner-box {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }
}
.services-block-fourteen .inner-box:hover {
  background: linear-gradient(90deg, rgba(227,6,19,.12), transparent) !important;
  padding-left: 1rem;
  transform: none;
}
.services-block-fourteen .box-one,
.services-block-fourteen .box-two { display: none; }
.services-block-fourteen .icon-box {
  width: 64px; height: 64px; border-radius: 0;
  overflow: hidden; margin: 0;
  border: 1px solid var(--line);
  background: var(--ash);
  display: grid; place-items: center;
}
.services-block-fourteen .icon-box img { width: 36px; height: 36px; object-fit: contain; }
.services-block-fourteen h6 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  margin: 0 0 .35rem;
}
.services-block-fourteen h6 a { color: var(--white); }
.services-block-fourteen .text {
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  margin: 0;
  max-width: 50ch;
}
.services-block-fourteen .absolute_wrapper {
  position: static !important;
  justify-self: end;
}
@media (max-width: 800px) {
  .services-block-fourteen .absolute_wrapper { grid-column: 1 / -1; }
}
.services-block-fourteen .absolute_wrapper a,
.services-block-fourteen .absolute_wrapper span {
  color: var(--red);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.services-block-fourteen .absolute_wrapper a::after,
.services-block-fourteen .absolute_wrapper span::after { content: ' ↗'; }
.services-section-ten .row.d-flex {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

/* ===== PROJECTS — bento ===== */
.news-section-two, .portfolio-section-three {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--mist);
  position: relative;
}
.news-section-two .row,
.portfolio-section-three .row,
.ias-container {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1rem !important;
  margin: 0 !important;
}
@media (min-width: 720px) {
  .news-section-two .row,
  .portfolio-section-three .row,
  .ias-container,
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .news-section-two .row,
  .portfolio-section-three .row,
  .ias-container,
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}
.news-block, .news-block-two, .project-block, .news-block-four {
  width: 100% !important; max-width: none !important; padding: 0 !important; float: none !important;
  min-height: 320px;
}
.news-block .inner-box,
.news-block-two .inner-box,
.project-block .inner-box {
  position: relative;
  height: 100%;
  min-height: inherit;
  border-radius: 0;
  overflow: hidden;
  background: var(--black);
  box-shadow: none;
  transition: .5s var(--ease);
}
.news-block .inner-box:hover,
.news-block-two .inner-box:hover,
.project-block .inner-box:hover {
  transform: none;
  box-shadow: 0 0 0 1px var(--red);
}
.news-block .image,
.news-block-two .image,
.project-block .image {
  position: absolute; inset: 0; margin: 0; aspect-ratio: auto;
}
.news-block .image img,
.news-block-two .image img,
.project-block .image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter .5s var(--ease);
  filter: grayscale(.15) contrast(1.05);
}
.news-block .inner-box:hover .image img,
.news-block-two .inner-box:hover .image img,
.project-block .inner-box:hover .image img {
  transform: scale(1.08);
  filter: grayscale(0) contrast(1.08);
}
.overlay-box {
  position: absolute; inset: 0;
  display: flex; align-items: flex-start; justify-content: flex-end;
  gap: .4rem; padding: 1rem;
  background: transparent;
  opacity: 0; transition: .35s var(--ease); z-index: 2;
  pointer-events: none;
}
.news-block .inner-box:hover .overlay-box,
.news-block-two .inner-box:hover .overlay-box,
.project-block .inner-box:hover .overlay-box { opacity: 1; }
.overlay-box a.plus {
  width: 44px; height: 44px; border-radius: 0;
  background: var(--red); color: var(--white) !important;
  display: grid; place-items: center; font-size: 0;
  pointer-events: auto;
}
.overlay-box a.plus::before { content: '+'; font-size: 1.5rem; color: var(--white); }
.overlay-box a.gallery-hidden {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  border: 0 !important; opacity: 0 !important;
  pointer-events: none !important;
}
.lower-content {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(7,7,8,.9) 10%, transparent);
  color: var(--white);
}
.lower-content .post-date,
.lower-content .designation,
.post-meta { color: rgba(255,255,255,.65); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .45rem; }
.lower-content h5 { font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 400; margin: 0 0 .5rem; }
.lower-content h5 a { color: var(--white); }
.lower-content .theme-btn,
.btn-style-fourteen, .btn-style-eighteen {
  background: transparent; color: var(--red) !important; box-shadow: none;
  padding: 0; clip-path: none; letter-spacing: .1em;
}
.btn-box { margin-top: 2.75rem; }
.btn-box .theme-btn.btn-style-one {
  background: var(--black); color: var(--white) !important;
  padding: 1rem 1.6rem;
}

/* ===== WHY — stacked panels ===== */
.feature-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--black);
  color: var(--white);
  position: relative;
}
.feature-section .sec-title-three .title::before { color: var(--white); }
.feature-section .sec-title-three h2 { color: var(--white); }
.feature-tabs .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 960px) {
  .feature-tabs .row { grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: stretch; }
}
.tab-buttons { display: grid; gap: .5rem; }
.tab-btn {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: .35s var(--ease);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  text-align: left;
}
.tab-btn span {
  display: block; margin-top: .4rem;
  font-family: var(--sans); font-size: .88rem; font-weight: 400;
  color: rgba(255,255,255,.5); line-height: 1.5;
}
.tab-btn.active-btn, .tab-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateX(6px);
}
.tab-btn.active-btn span, .tab-btn:hover span { color: rgba(255,255,255,.85); }
.tabs-content .tab { display: none; }
.tabs-content .tab.active-tab { display: block; animation: fadeInUp .55s var(--ease); }
.tabs-content .image {
  height: min(62vh, 560px);
  overflow: hidden;
  border: 1px solid var(--line);
}
.tabs-content .image img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); }

/* ===== BLOGS on dark/light ===== */
.news-section-two + .call-to-action-two { margin-top: 0; }

/* ===== TEAMS — cinema strip ===== */
.team-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--black-2);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.team-section .sec-title .title { color: var(--red); }
.team-section .sec-title .title::before { content: none; }
.team-section .sec-title h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 400;
  color: var(--white);
  max-width: 12ch;
}
.team-section .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
}
@media (min-width: 960px) {
  .team-section .row { grid-template-columns: .7fr 1.3fr; gap: 3rem; }
}
.team-block .inner-box { overflow: hidden; border: 1px solid var(--line); }
.team-block .image figure {
  width: 100% !important; height: 460px !important; margin: 0;
  transition: transform 1s var(--ease); filter: grayscale(.3);
}
.team-block .inner-box:hover .image figure { transform: scale(1.05); filter: grayscale(0); }
.team-block .overlay-box {
  opacity: 1;
  background: linear-gradient(to top, rgba(7,7,8,.9), transparent 55%);
  align-items: flex-end; justify-content: flex-start; padding: 1.5rem;
}
.team-block h5 { font-family: var(--display); font-size: 1.6rem; font-weight: 400; color: var(--white); margin: 0 0 .2rem; }
.team-block .designation { color: var(--red); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.team-block .social-box ul { display: flex; gap: .45rem; }
.team-block .social-box a {
  width: 34px; height: 34px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--white) !important;
}
.team-block .social-box a:hover { background: var(--red); border-color: var(--red); }
.three-item-carousel .owl-nav { margin-top: 1.25rem; }
.three-item-carousel .owl-nav button {
  width: 48px; height: 48px; border-radius: 0 !important;
  background: transparent !important; border: 1px solid var(--line) !important;
  color: var(--white) !important; margin-right: .5rem;
}

/* ===== CTA ===== */
.call-to-action-two {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background:
    radial-gradient(800px 300px at 20% 50%, var(--red-glow), transparent),
    var(--black);
  color: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.call-to-action-two .clearfix {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.call-to-action-two h2 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  color: var(--white);
  margin: 0;
  max-width: 12ch;
}
.call-to-action-two .btn-style-five {
  background: var(--red);
  color: var(--white) !important;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

/* ===== PAGE TITLE ===== */
.page-title {
  position: relative;
  min-height: 48vh;
  display: flex; align-items: flex-end;
  padding: 9rem 0 3.5rem;
  background-size: cover !important;
  background-position: center !important;
  color: var(--white);
}
.page-title::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(7,7,8,.92), rgba(7,7,8,.35)),
    linear-gradient(to top, rgba(7,7,8,.6), transparent);
}
.page-title .auto-container { position: relative; z-index: 1; }
.page-title h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: .8rem;
}
.page-title h1 span { color: var(--red); font-style: italic; }
.page-breadcrumb {
  display: flex; gap: .65rem; flex-wrap: wrap;
  color: rgba(255,255,255,.55);
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
}
.page-breadcrumb li + li::before { content: '—'; margin-right: .65rem; opacity: .5; }
.page-breadcrumb a { color: rgba(255,255,255,.8); }

/* ===== DETAIL / FORMS ===== */
.sidebar-page-container, .services-single, .contact-page-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--mist);
}
.services-gallery { background: var(--black); padding: 1.25rem 0; }
.services-carousel .image {
  aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--line);
}
.services-carousel .image img { width: 100%; height: 100%; object-fit: cover; }
.services-single h4, .contact-page-section h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.services-single .text, .contact-page-section .info-column p, .contact-page-section .inner-column {
  font-size: 1.05rem; line-height: 1.85; color: #2c2c32;
}
.contact-page-section .inner-container {
  background: var(--white);
  border: 1px solid var(--line-d);
  padding: clamp(1.75rem, 4vw, 3.25rem);
}
.contact-page-section .row {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact-page-section .row { grid-template-columns: 1.15fr .85fr; }
}
.list-style-five li, .list-style-two li {
  display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; color: #2c2c32;
}
.list-style-five .icon, .list-style-two .icon { color: var(--red); width: 1.2rem; margin-top: .15rem; }
.contact-form .form-group { margin-bottom: 1rem; }
.contact-form input, .contact-form textarea, .contact-form .form-control {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-d);
  background: transparent; border-radius: 0; padding: 1rem 0;
  outline: none; transition: border-color .25s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--red); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form label { display:block; margin-bottom:.4rem; font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color:var(--mute); }
.alert-msg {
  margin-top: .8rem; padding: .9rem 1rem; background: rgba(227,6,19,.08); color: var(--red); display: none;
}
.contact-info-section { display: none; }

.career-empty {
  text-align: center; padding: 3.5rem 1.5rem;
  border: 1px solid var(--line); color: var(--white);
}
.career-empty .title { color: rgba(255,255,255,.55); }
.career-empty h2 { color: var(--white); max-width: 18ch; margin-inline: auto; font-family: var(--display); font-weight: 400; }
.career-empty a span { color: var(--red); font-style: italic; }

/* ===== FOOTER ===== */
.main-footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding-top: 3.5rem;
  position: relative;
  overflow: hidden;
}
.main-footer .widgets-section { padding: 0 0 2.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr .7fr 1.2fr; gap: 2rem; align-items: start; }
}
.main-footer h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.main-footer .logo { margin-bottom: 1.25rem; }
.main-footer .logo img { width: 140px; }
.main-footer .list-style-two strong {
  padding-right: .5rem;
  color: rgba(255,255,255,.9);
  font-weight: 600;
}
.main-footer .list-link a {
  display: inline-block; padding: .35rem 0;
  color: rgba(255,255,255,.65);
  font-size: .95rem;
}
.main-footer .list-link a:hover { color: var(--white); }
.main-footer .white { color: rgba(255,255,255,.72) !important; }
.footer-certs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .65rem;
  margin-top: 1.25rem;
}
.footer-certs img {
  height: 52px; width: auto; object-fit: contain;
  background: #fff; border-radius: 4px; padding: 3px;
}
.heap-iso--footer {
  border-left: 1px solid var(--line);
  padding-left: .65rem;
  font-size: .72rem;
  line-height: 1.35;
}
.heap-iso--footer strong {
  display: block;
  margin-bottom: .15rem;
}
.gallery-widget .images-outer {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem;
}
.gallery-widget .image-box {
  margin: 0; aspect-ratio: 1; overflow: hidden; display: block;
  position: relative;
}
.gallery-widget .image-box::before,
.gallery-widget .image-box::after { content: none !important; display: none !important; }
.gallery-widget img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.35); transition: .4s var(--ease);
}
.gallery-widget a:hover img { filter: grayscale(0); transform: scale(1.06); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
  font-size: .85rem;
  background: #050506;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-bottom .copyright { color: rgba(255,255,255,.65); }
.footer-bottom .credit {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.footer-bottom .credit img { display: inline-block; vertical-align: middle; }
.footer-social {
  display: flex; gap: .55rem; align-items: center; margin: 0; padding: 0;
}
.footer-social .follow {
  margin-right: .25rem; color: rgba(255,255,255,.55);
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
}
.footer-social a {
  width: 36px; height: 36px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--white) !important;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
@media (max-width: 799px) {
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-bottom .credit { justify-content: center; }
}

/* Floaters */
.pdf_btn, .to_root_btn {
  z-index: 99; position: fixed; right: 1.1rem;
  width: 48px; height: 48px;
  display: grid !important; place-items: center;
  color: var(--white) !important;
  border-radius: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.pdf_btn { bottom: 5.2rem; background: var(--red); }
.to_root_btn { bottom: 1.25rem; background: var(--black); border: 1px solid var(--line); }
.portfolio-link {
  display: block; width: 100%; margin: 0; padding: 1.1rem 0; text-align: center;
  background: var(--ash); border-top: 1px solid var(--line); color: var(--white);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
}
.portfolio-link a { color: var(--white) !important; }
.portfolio-link i { color: var(--red); padding-right: .5rem; }

/* Utils */
.row.clearfix::after, .clearfix::after { content:''; display:table; clear:both; }
.d-flex { display: flex; }
.justify-content-center { justify-content: center; }
.text-center { text-align: center; }
.float-right { float: right; color: var(--red); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.pt-0 { padding-top: 0 !important; }
.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-12,
.col-md-4,.col-md-6,.col-md-7,.col-md-12,.col-sm-12 { width: 100%; }
.owl-carousel .owl-item img { width: 100%; }
.ias-spinner { grid-column: 1 / -1; }
.services-single .text img, .contact-page-section .info-column img { border-radius: 0; margin: 1rem 0; }

@media (max-width: 699px) {
  .gallery-widget .images-outer { grid-template-columns: repeat(3, 1fr); }
  .main-slider .owl-dots { flex-direction: row; right: auto; left: 1.25rem; bottom: 1.5rem; }
  .main-slider .owl-dot.active span { width: 28px; height: 7px; }
}
