/* =========================================================
   TECHNOCRATS — Design tokens
   ========================================================= */
:root {
  --navy-deep: #0b1120;
  --navy: #1c2536;
  --navy-mid: #2a3448;
  --cyan: #00c2f5;
  --cyan-soft: #d2f2ff;
  --spark: #0f1a5c;
  --steel-100: #f6f5f4;
  --steel-200: #eae7e5;
  --border-soft: rgba(11, 17, 32, 0.1);
  --ink: #171c24;
  --ink-soft: #5c6470;
  --white: #ffffff;

  --font-display: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --container: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.68, 0, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0.01em;
  color: var(--navy-deep);
}
p {
  margin: 0;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--spark);
  display: inline-block;
}
.section {
  padding: 19px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  white-space: nowrap;
}
.section-head .lede {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.btn-primary {
  color: var(--white);
  background-color: var(--cyan);
  background-image: linear-gradient(var(--spark), var(--spark));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0%;
  transition:
    background-size 0.4s var(--ease),
    transform 0.25s var(--ease);
}
.btn-primary:hover {
  background-size: 100% 100%;
  transform: translateY(-2px);
  color: var(--white);
}
.btn-ghost {
  border-color: rgba(13, 32, 54, 0.25);
  color: var(--navy-deep);
  background-image: linear-gradient(var(--cyan), var(--cyan));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0%;
  transition:
    background-size 0.4s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.25s var(--ease);
}
.btn-ghost:hover {
  background-size: 100% 100%;
  border-color: var(--cyan);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-line {
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  padding: 6px 0;
  border-radius: 0;
}
.btn-line:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* =========================================================
   PIPELINE ROUTE — signature vertical motif
   ========================================================= */
.route-line {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 34px;
  pointer-events: none;
  z-index: 5;
  display: none;
}
@media (min-width: 1100px) {
  .route-line {
    display: block;
  }
}
.route-line svg {
  height: 100%;
  width: 100%;
}
.route-line .flow {
  stroke: var(--cyan);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 10;
  animation: flow 3.4s linear infinite;
  opacity: 0.55;
}
@keyframes flow {
  to {
    stroke-dashoffset: -160;
  }
}

/* =========================================================
   NAV
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition:
    background 0.3s var(--ease),
    padding 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.utility-strip {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  z-index: 110;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.utility-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2px;
  padding-bottom: 3px;
}
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-socials a {
  color: rgb(0 194 245 / 85%);
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}
.footer-socials svg {
  width: 18px;
  height: 18px;
}
.strip-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.7rem;
  font-weight: 500;
}
.strip-right a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}
.strip-right a i {
  color: #00c2f5;
  margin-right: 0px;
  font-size: 16px;
}
.strip-right a:hover {
  color: #00c2f5;
}
/* Mobile */
@media (max-width: 767px) {
  .utility-strip {
    display: none;
  }
}
.site-header {
  position: fixed;
  top: 29px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 9px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition:
    background 0.3s var(--ease),
    padding 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
/* Mobile */
@media (max-width: 767px) {
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 9px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
    transition:
      background 0.3s var(--ease),
      padding 0.3s var(--ease),
      box-shadow 0.3s var(--ease),
      border-color 0.3s var(--ease);
  }
}
.site-header.solid {
  background: rgba(255, 255, 255, 0.98);
  padding: 12px 0;
  box-shadow: 0 6px 24px rgba(13, 32, 54, 0.08);
  border-bottom-color: transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 115px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* overflow: hidden; */
  /* box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.6),
    0 0 0 3px var(--cyan); */
}
.brand-mark img {
  /* width: 100%; */
  /* height: 100%; */
  /* object-fit: cover; */
  display: block;
  max-width: 185%;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--navy-deep);
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-transform: uppercase;
  margin-top: 3px;
}
.main-nav ul {
  display: flex;
  gap: 30px;
}
.main-nav li {
  position: relative;
}
.main-nav a {
  font-size: 0.86rem;
  color: #010101;
  position: relative;
  padding: 4px 0;
  font-weight: 700;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover::after {
  width: 100%;
}
.nav-item.has-dropdown {
  display: flex;
  align-items: center;
}
.nav-item.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dropdown-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  margin-left: 2px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.dropdown-toggle::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--ink-soft);
  border-bottom: 1px solid var(--ink-soft);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.nav-item.has-dropdown:hover .dropdown-toggle::before,
.nav-item.has-dropdown:focus-within .dropdown-toggle::before {
  transform: rotate(-135deg);
}
.nav-dropdown {
  list-style: none;
  margin: 0;
  padding: 10px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--steel-200);
  box-shadow: 0 16px 32px rgba(13, 32, 54, 0.14);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease),
    visibility 0.2s;
  z-index: 20;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li {
  margin: 0;
}
.nav-dropdown a {
  display: block;
  padding: 8px 10px;
  font-size: 0.82rem;
  white-space: nowrap;
  color: #010101;
}
.nav-dropdown a::after {
  display: none;
}
.nav-dropdown a:hover {
  color: var(--cyan);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-deep);
  margin: 5px 0;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s;
  z-index: 45;
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}
body.nav-locked {
  overflow: hidden;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed; /* inset:0 0 0 30%; */
    z-index: 50;
    background: #ecedee;
    box-shadow: -8px 0 32px rgba(13, 32, 54, 0.18);
    display: flex;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
    padding: 13px 0 40px;
    margin-top: 31rem;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 26px;
    padding: 0 40px;
    width: 100%;
  }
  .main-nav a {
    font-size: 1.1rem;
  }
  .nav-toggle {
    display: block;
  }
  .nav-cta .btn-ghost {
    display: none;
  }
  .nav-item.has-dropdown {
    flex-wrap: wrap;
  }
  .dropdown-toggle {
    display: flex;
    width: 34px;
    height: 34px;
  }
  .dropdown-toggle::before {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #000000;
    border-bottom: 1.5px solid #000000;
  }
  .nav-item.has-dropdown.open .dropdown-toggle::before {
    transform: rotate(-135deg);
  }
  .nav-dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    padding: 0 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s var(--ease),
      margin-top 0.3s var(--ease);
    margin-top: 0;
  }
  .nav-item.has-dropdown.open .nav-dropdown {
    max-height: 400px;
    margin-top: 14px;
  }
  .nav-dropdown a {
    font-size: 0.95rem;
    padding: 0;
    color: #010101;
    font-weight: 700;
  }
}
/* @media(max-width:520px){
  .main-nav{inset:0 0 0 22%;}
} */
/* @media (max-width: 380px) {
  .main-nav {
    inset: 0 0 0 12%;
  }
} */

/* =========================================================
   BROCHURE
   ========================================================= */
.brochure-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(11, 17, 32, 0.08);
  border-radius: 20px;
  /* background: linear-gradient(135deg, #f7fbfe 0%, #eef7fb 100%); */
  background: radial-gradient(
    ellipse 90% 70% at 15% 85%,
    #baeafd 0%,
    #c4e7f5 55%,
    #b3e7fd 100%
  );
  box-shadow: 0 20px 50px rgba(11, 17, 32, 0.06);
}
.brochure-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 14px;
}
.brochure-copy p {
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.brochure-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
}
.brochure-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 500;
}
.brochure-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}
.brochure-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.brochure-preview {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brochure-preview-inner {
  width: 100%;
  max-width: 320px;
  padding: 32px;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--spark) 100%);
  box-shadow: 0 24px 40px rgba(11, 17, 32, 0.18);
}
.brochure-badge {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--cyan-soft);
}
.brochure-preview-inner h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
  color: var(--white);
}
.brochure-preview-inner p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.8);
}
.brochure-preview-lines {
  display: grid;
  gap: 10px;
}
.brochure-preview-lines span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}
.brochure-preview-lines span:nth-child(2) {
  width: 78%;
}
.brochure-preview-lines span:nth-child(3) {
  width: 58%;
}
@media (max-width: 780px) {
  .brochure-card {
    grid-template-columns: 1fr;
  }
  .brochure-preview {
    min-height: auto;
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* background: linear-gradient(
    150deg,
    var(--white) 0%,
    var(--white) 55%,
    var(--cyan-soft) 145%
  ); */
  overflow: hidden;
  padding-top: 110px;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transform: scale(1.02);
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.hero-slide video,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  display: block;
}
.hero-slide img {
  filter: brightness(0.9) saturate(0.95);
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  z-index: 0;
}
.hero-video-overlay {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* background: linear-gradient(
    100deg,
    var(--white) 18%,
    rgba(255, 255, 255, 0.72) 42%,
    rgba(255, 255, 255, 0.25) 80%
  );
  background: linear-gradient(
    119deg,
    #ffffffa8 18%,
    rgb(255 255 255 / 14%) 42%,
    rgb(255 255 255 / 0%) 80%
  );
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px); */
  background: linear-gradient(
    63deg,
    #ffffff 18%,
    rgb(238 238 238 / 26%) 42%,
    rgb(114 100 100 / 0%) 80%
  );
}
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -30%;
  width: 70%;
  height: 140%;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(0, 194, 245, 0.14) 41%,
    rgba(0, 194, 245, 0.14) 43%,
    transparent 44%
  );
  transform: rotate(8deg);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* background-image:
    linear-gradient(rgba(13, 32, 54, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 32, 54, 0.05) 1px, transparent 1px); */
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 40%, black 0%, transparent 68%);
}
.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.dot.active {
  background: #00c2f5;
  transform: scale(1.25);
}
.hero h1 {
  color: var(--navy-deep);
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 600;
}
.hero h1 span {
  display: block;
}
.hero h1 .accent {
  color: var(--cyan);
}
.hero-sub {
  color: #484444;
  font-size: 1.08rem;
  max-width: 520px;
  margin: 26px 0 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hero-pipe {
  position: relative;
  height: 420px;
}
.hero-pipe svg {
  width: 100%;
  height: 100%;
}
.pipe-flow {
  stroke: var(--spark);
  stroke-width: 3;
  fill: none;
  stroke-dasharray: 10 14;
  animation: flow 2.6s linear infinite;
}
.pipe-node {
  fill: var(--cyan-soft);
}
.pipe-ring {
  fill: none;
  stroke: rgba(13, 32, 54, 0.18);
  stroke-width: 1;
}

.hero-stats {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}
.hero-stats .container {
  grid-template-columns: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 26px;
  padding-bottom: 26px;
  gap: 20px;
}
.stat {
  text-align: left;
  border-left: 1px solid var(--border-soft);
  padding-left: 18px;
}
.stat:first-child {
  border-left: none;
  padding-left: 0;
}
.stat .num {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
}
.stat .label {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-pipe {
    height: 260px;
    order: -1;
  }
  .hero-stats .container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }
  .stat:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
}
@media (max-width: 560px) {
  .hero-stats .container {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .stat {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-soft);
    padding-top: 16px;
  }
  .stat:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: radial-gradient(
    ellipse 90% 70% at 15% 85%,
    var(--cyan-soft) 0%,
    var(--white) 55%,
    var(--white) 100%
  );
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text p {
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-size: 1.02rem;
}
.spec-panel {
  background: var(--cyan-soft);
  color: var(--ink);
  padding: 40px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 88% 100%, 0 100%);
}
.spec-panel h3 {
  color: var(--navy-deep);
  font-size: 1.2rem;
  margin-bottom: 22px;
}
.spec-panel ul li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(13, 32, 54, 0.14);
  font-size: 0.92rem;
  color: var(--ink);
}
.spec-panel ul li:last-child {
  border-bottom: none;
}
.spec-panel ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  background: var(--spark);
  flex-shrink: 0;
  transform: rotate(45deg);
}
.about-media {
  position: relative;
}
.about-media img {
  width: 100%;
  height: 100%;
  min-height: 419px;
  object-fit: cover;
  display: block;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 90%);
  box-shadow: 0 30px 60px rgba(13, 32, 54, 0.18);
}
@media (max-width: 860px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-media img {
    min-height: 240px;
  }
}

/* =========================================================
   QHSE / VALUES
   ========================================================= */
.qhse {
  background: linear-gradient(180deg, var(--steel-100), var(--steel-200));
  position: relative;
}
.qhse-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.qhse-body p {
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.principle-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed #c8d3de;
  align-items: flex-start;
}
.principle-list li .idx {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.8rem;
  padding-top: 2px;
}
.values-strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #c8d3de;
  border: 1px solid #c8d3de;
}
.value-card {
  background: var(--white);
  padding: 26px 18px;
  text-align: center;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  position: relative;
  z-index: 1;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 26px rgba(6, 26, 48, 0.14);
}
.value-card .glyph {
  transition: transform 0.3s var(--ease);
}
.value-card:hover .glyph {
  transform: scale(1.1) rotate(-4deg);
}
.value-card .glyph {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.value-card .title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-deep);
}
.qhse-photo {
  margin-top: 40px;
  overflow: hidden;
  max-height: 706px;
  border: 1px solid #c8d3de;
}
.qhse-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .qhse-layout {
    grid-template-columns: 1fr;
  }
  .values-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   EXPERTISE
   ========================================================= */
.expertise {
  background: var(--white);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.expertises {
  background: var(--white);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.expertise {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(
      150deg,
      rgba(11, 17, 32, 0.9) 0%,
      rgba(11, 17, 32, 0.82) 45%,
      rgba(11, 17, 32, 0.92) 100%
    ),
    url("services.jpg");
  background-size: cover;
  background-position: center;
  color: var(--ink);
}

.expertise::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 194, 245, 0.08), transparent 60%);
}
.expertise .section-head h2 {
  color: #ffffff;
}
.expertise .section-head .lede {
  color: #c9cbce;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--steel-200);
  border: 1px solid var(--steel-200);
}
.expertise-card {
  background: var(--white);
  transition:
    background 0.3s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.expertise-card:hover {
  background: var(--steel-100);
  transform: translateY(-7px);
  box-shadow: 0 18px 34px rgba(13, 32, 54, 0.15);
}
.expertise-photo {
  height: 190px;
  overflow: hidden;
}
.expertise-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
  transition: transform 0.5s var(--ease);
}
.expertise-card:hover .expertise-photo img {
  transform: scale(1.06);
}
.expertise-card > .num,
.expertise-card > h3,
.expertise-card > .desc,
.expertise-card > ul {
  padding-left: 32px;
  padding-right: 32px;
}
.expertise-card > .num {
  padding-top: 24px;
}
.expertise-card > ul {
  padding-bottom: 30px;
}
.expertise-card .num {
  font-family: var(--font-mono);
  color: var(--spark);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.expertise-card h3 {
  color: var(--navy-deep);
  margin: 14px 0 10px;
  font-size: 1.3rem;
}
.expertise-card .desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.expertise-card ul li {
  font-size: 0.86rem;
  color: var(--ink-soft);
  padding: 9px 0 9px 20px;
  position: relative;
  border-top: 1px solid var(--steel-200);
}
.expertise-card ul li:first-child {
  border-top: none;
}
.expertise-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 1px;
  background: var(--cyan);
}
@media (max-width: 900px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
}
.expertises::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 194, 245, 0.08), transparent 60%);
}
.expertises .section-head h2 {
  color: var(--navy-deep);
}
.expertises .section-head .lede {
  color: var(--ink-soft);
}
.expertises-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--steel-200);
  border: 1px solid var(--steel-200);
}
.expertises-card {
  background: var(--white);
  transition:
    background 0.3s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.expertises-card:hover {
  background: var(--steel-100);
  transform: translateY(-7px);
  box-shadow: 0 18px 34px rgba(13, 32, 54, 0.15);
}
.expertises-photo {
  height: 190px;
  overflow: hidden;
}
.expertises-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
  transition: transform 0.5s var(--ease);
}
.expertises-card:hover .expertises-photo img {
  transform: scale(1.06);
}
.expertises-card > .num,
.expertises-card > h3,
.expertises-card > .desc,
.expertise-card > ul {
  padding-left: 32px;
  padding-right: 32px;
}
.expertises-card > .num {
  padding-top: 24px;
}
.expertises-card > ul {
  padding-bottom: 30px;
}
.expertises-card .num {
  font-family: var(--font-mono);
  color: var(--spark);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.expertises-card h3 {
  color: var(--navy-deep);
  margin: 14px 0 10px;
  font-size: 1.3rem;
}
.expertises-card .desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.expertises-card ul li {
  font-size: 0.86rem;
  color: var(--ink-soft);
  padding: 9px 0 9px 20px;
  position: relative;
  border-top: 1px solid var(--steel-200);
}
.expertises-card ul li:first-child {
  border-top: none;
}
.expertises-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 1px;
  background: var(--cyan);
}
@media (max-width: 900px) {
  .expertises-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   TIMELINE (pipeline milestones)
   ========================================================= */
.timeline {
  background: radial-gradient(
    ellipse 90% 70% at 85% 15%,
    var(--cyan-soft) 0%,
    var(--white) 55%,
    var(--white) 100%
  );
}
.timeline-list {
  position: relative;
  padding-left: 38px;
  border-left: 2px solid var(--steel-200);
}
.timeline-item {
  position: relative;
  padding-bottom: 48px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -45px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--cyan);
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease);
}
.timeline-item:hover::before {
  transform: scale(1.35);
  background: var(--cyan);
}
.timeline-item h4 {
  transition: color 0.3s var(--ease);
}
.timeline-item:hover h4 {
  color: var(--cyan);
}
.timeline-item h4 {
  font-size: 1.15rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.timeline-item p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  max-width: 640px;
}

/* timeline items slide in from the right, same timing as the
   shared .stagger-item reveal but horizontal instead of vertical */
.timeline-list .stagger-item {
  transform: translateX(56px);
}
[data-stagger].is-visible .timeline-list .stagger-item {
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .timeline-list .stagger-item {
    transform: none;
  }
}

/* =========================================================
   PROJECTS
   ========================================================= */
.projects {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(
    ellipse 90% 70% at 15% 85%,
    var(--cyan-soft) 0%,
    var(--white) 55%,
    var(--white) 100%
  );
  background-size: cover;
  background-position: center;
}
.project-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 64px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  padding: 26px 24px;
  position: relative;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(6, 26, 48, 0.12);
}
.cat-card .count {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  color: var(--navy);
}
.cat-card .name {
  font-weight: 600;
  margin: 8px 0 6px;
  color: var(--navy-deep);
}
.cat-card .note {
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.cat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--cyan);
}
.featured-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.feat-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--steel-200);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 18px, 18px 0);
  transition:
    transform 0.35s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.feat-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 18px 32px rgba(6, 26, 48, 0.12);
}
.feat-card .project-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--steel-100);
}
.feat-card .project-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feat-card .project-card-media--placeholder {
  display: grid;
  place-items: center;
  font-size: 2.3rem;
  color: var(--navy);
  background: linear-gradient(
    135deg,
    rgba(14, 46, 75, 0.08),
    rgba(41, 210, 196, 0.08)
  );
}
.feat-card .project-card-body {
  padding: 28px 24px 24px;
}
.feat-card h4 {
  color: var(--navy-deep);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.feat-card .subtitle {
  color: var(--navy);
  font-size: 0.88rem;
  margin-bottom: 16px;
}
.feat-card .loc {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-project-modal {
  position: fixed;
  inset: 0px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 17, 32, 0.72);
  padding: 24px;
  width: 100%;
}

.admin-project-modal-card {
  background: var(--white);
  max-height: 86vh;
  overflow: auto;
  position: relative;
  border-radius: 2px;
  /* width: 100%;
  max-width: 560px; */
  box-shadow: 0 24px 60px rgba(11, 17, 32, 0.2);
}

.admin-project-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--navy-deep);
  color: var(--white);
  border: 0;
  width: 32px;
  height: 32px;

  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.ongoing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
.ongoing-table th,
.ongoing-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--steel-200);
  font-size: 0.9rem;
}
.ongoing-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--steel-200);
}
.ongoing-table td.owner {
  color: var(--ink-soft);
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--steel-200);
}
@media (max-width: 900px) {
  .project-categories,
  .featured-projects {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
  background: var(--steel-100);
}
.gallery .section-head .eyebrow {
  color: var(--spark);
}
.gallery .section-head h2 {
  color: var(--navy-deep);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--steel-200);
  z-index: 1;
  transition: z-index 0.01s;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover {
  z-index: 2;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item figcaption {
  transition: transform 0.35s var(--ease);
  transform: translateY(4px);
}
.gallery-item:hover figcaption {
  transform: translateY(0);
}
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--white);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent);
}
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   CLIENTS
   ========================================================= */
.clients {
  background: var(--white);
  overflow: hidden;
}
/* .client-marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #00000000 64px,
    #00000000 calc(100% - 64px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #00000000 64px,
    #000 calc(100% - 64px),
    transparent 100%
  );
} */

.client-marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #00000000 64px,
    #00000000 calc(100% - 64px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000000c7 0,
    #000000 64px,
    #000 calc(100% - 64px),
    #00000087 100%
  );
}

.client-track {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding-right: 14px;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}
.clients:hover .client-track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .client-track {
    animation: none;
  }
  .client-marquee {
    overflow-x: auto;
  }
}
.client-chip {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 12px 20px;
  border: 1px solid var(--steel-200);
  color: var(--navy-deep);
  white-space: nowrap;
  transition:
    border-color 0.25s,
    color 0.25s;
}
.client-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.client-logo {
  /* display: flex;
  align-items: center;
  justify-content: center; */
  /* height: 150px; */
  width: 175px;
  /* padding: 10px 22px; */
  /* border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  background: var(--white); */
  /* flex-shrink: 0; */
  /* filter: grayscale(1) opacity(0.65);
  transition:
    filter 0.25s var(--ease),
    border-color 0.25s var(--ease); */
}
.client-logo:hover {
  filter: grayscale(0) opacity(1);
  border-color: var(--cyan);
}
.client-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* =========================================================
   TEAM
   ========================================================= */
.team {
  background: var(--steel-100);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  padding: 28px;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(6, 26, 48, 0.12);
  border-color: var(--cyan);
}
.team-card:hover .team-avatar {
  transform: scale(1.06);
}
.team-avatar {
  transition: transform 0.3s var(--ease);
}
.team-avatar {
  width: 56px;
  /* height: 56px;
  border-radius: 50%; */
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 18px;
  overflow: hidden;
}
.team-avatar.has-photo {
  background: var(--steel-200);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}
.team-card h4 {
  font-size: 1.02rem;
  color: var(--navy-deep);
  margin-bottom: 4px;
}
.team-card .role {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.team-card .note {
  font-size: 0.88rem;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  background: linear-gradient(
    120deg,
    var(--cyan-soft) 0%,
    var(--steel-100) 100%
  );
  color: var(--ink);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta h2 {
  color: var(--navy-deep);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  max-width: 720px;
  margin: 0 auto 26px;
}
.cta .lede {
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 36px;
}

/* =========================================================
   FOOTER / CONTACT
   ========================================================= */
.contact {
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 1.3fr;
  gap: 50px;
}
.contact-block {
  margin-bottom: 30px;
}
.contact-block .label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-block .label i {
  font-size: 0.9em;
}
.contact-block .value {
  /* color: var(--ink-soft); */
  color: var(--navy);
  font-size: 0.98rem;
}
.contact-block a.value {
  color: var(--navy);
}
.contact-block a.value:hover {
  color: var(--cyan);
}

/* =========================================================
   CONTACT MAP
   ========================================================= */
.contact-map {
  background: var(--steel-100);
}
.map-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.map-toggle-btn {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.map-toggle-btn:hover {
  border-color: var(--cyan);
  color: var(--navy);
}
.map-toggle-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.map-frame-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 50px rgba(11, 17, 32, 0.08);
}
.map-frame-wrap iframe {
  display: block;
  width: 100%;
}
.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.contact-form-wrap {
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form-wrap .form-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 20px;
}
.contact-form {
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label,
.field select {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field textarea,
.field option {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 12px 14px;
  outline: none;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--white);
  cursor: pointer;
  outline: none;
  font-family: var(--font-body);
  text-transform: none;
}

.field select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 194, 245, 0.15);
}

.field.cr-role-other {
  gap: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition:
    max-height 0.35s var(--ease),
    opacity 0.3s var(--ease),
    margin-top 0.35s var(--ease);
}

.field.cr-role-other.is-open {
  max-height: 70px;
  opacity: 1;
  margin-top: 10px;
}

.cr-role-other-input {
  position: relative;
}

.cr-role-other-input i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.78rem;
  color: var(--cyan);
  pointer-events: none;
}

.cr-role-other-input input {
  width: 100%;
  padding: 10px 14px 10px 34px;
  font-size: 0.88rem;
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 194, 245, 0.12);
}

.cr-role-other-input input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 194, 245, 0.18);
}

.field input:focus,
.field textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 194, 245, 0.15);
}

/* ---------- icon / show-password inputs ---------- */
.field-input {
  position: relative;
}
.field-input input {
  width: 100%;
}
.field-input .field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--ink-soft);
  pointer-events: none;
  transition: color 0.2s var(--ease);
}
.field-input.has-icon input {
  padding-left: 38px;
}
.field-input.has-toggle input {
  padding-right: 42px;
}
.field-input:focus-within .field-icon {
  color: var(--cyan);
}
.field-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.88rem;
  transition:
    color 0.15s var(--ease),
    background 0.15s var(--ease);
}
.field-toggle:hover {
  color: var(--navy);
  background: var(--steel-100);
}
.field-toggle.is-active {
  color: var(--cyan);
}
.field-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}
.contact-form .btn-primary {
  justify-self: start;
  border: none;
  font-family: var(--font-mono);
}
.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.form-note.is-success {
  color: #1c8a4d;
}
.form-note.is-error {
  color: #c23b3b;
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 28px 24px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .contact-form-wrap {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
  }

  .contact-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .contact-form .field {
    width: 100%;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    box-sizing: border-box;
  }
}
footer.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(11, 17, 32, 0.94) 0%,
      rgba(11, 17, 32, 0.9) 40%,
      rgba(11, 17, 32, 0.97) 100%
    ),
    url("footer-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* slow ambient drift on the background image for a subtle sense of motion */
footer.site-footer::before {
  content: "";
  position: absolute;
  inset: -6% -4%;
  z-index: -1;
  background: inherit;
  background-attachment: scroll;
  filter: saturate(1.05);
  animation: footerDrift 26s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes footerDrift {
  0% {
    transform: scale(1.06) translate3d(-1%, 0, 0);
  }
  100% {
    transform: scale(1.12) translate3d(1%, -1.5%, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  footer.site-footer::before {
    animation: none;
  }
}
@media (max-width: 900px) {
  /* fixed attachment misbehaves on many mobile browsers */
  footer.site-footer {
    background-attachment: scroll;
  }
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--cyan);
}
.footer-brand p {
  font-size: 0.86rem;
  line-height: 1.7;
  margin-top: 10px;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.62);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-row .brand-name {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}
footer.site-footer .brand-name {
  color: var(--white);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col ul {
    align-items: center;
  }
  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-row {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-form-wrap {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .map-frame-wrap iframe {
    height: 300px;
  }
  .map-toggle {
    flex-wrap: wrap;
  }
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* reveal-on-scroll — alternates left/right per section down the page,
   direction class is assigned automatically in script.js */
[data-reveal] {
  opacity: 0;
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
[data-reveal].reveal-left {
  transform: translateX(-64px);
}
[data-reveal].reveal-right {
  transform: translateX(64px);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* staggered children reveal — used inside grid/list containers */
.stagger-item {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
[data-stagger].is-visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

/* shared hover-lift for cards */
.lift {
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.lift:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 34px rgba(6, 26, 48, 0.16);
}
.lift-dark:hover {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal],
  .stagger-item {
    opacity: 1;
    transform: none;
  }
  .lift:hover,
  .lift-dark:hover {
    transform: none;
  }
}

/* =========================================================
   PREMIUM CARD MOTION — bottom-to-top colour fill + cursor glow
   Applied to: expertise-card, cat-card, feat-card, team-card,
   value-card. Mimics the same fill technique already used on
   .btn-primary / .btn-ghost, extended into a full card wash that
   rises from the bottom on hover — reads like fluid filling a
   vessel, on-brand for a pipeline/process contractor.
   ========================================================= */
.expertise-card,
.cat-card,
.feat-card,
.team-card,
.value-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0%;
  transition:
    background-size 0.55s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.expertise-card {
  background-image: linear-gradient(
    180deg,
    rgba(0, 194, 245, 0.1) 0%,
    rgba(0, 194, 245, 0.02) 100%
  );
}
.cat-card,
.feat-card,
.team-card {
  background-image: linear-gradient(
    180deg,
    rgba(0, 194, 245, 0.13) 0%,
    rgba(0, 194, 245, 0.02) 100%
  );
}
.value-card {
  background-image: linear-gradient(
    180deg,
    rgba(0, 194, 245, 0.18) 0%,
    rgba(0, 194, 245, 0.03) 100%
  );
}

.expertise-card:hover,
.cat-card:hover,
.feat-card:hover,
.team-card:hover,
.value-card:hover {
  background-size: 100% 100%;
}

/* thin accent line that draws in from the bottom edge, on top of the fill */
.expertise-card::after,
.cat-card::before,
.feat-card::after,
.team-card::after,
.value-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease);
  z-index: 2;
  pointer-events: none;
}
.expertise-card:hover::after,
.cat-card:hover::before,
.feat-card:hover::after,
.team-card:hover::after,
.value-card:hover::after {
  transform: scaleX(1);
}

/* cursor-follow spotlight glow — set via --mx/--my custom
   properties updated by JS pointermove; falls back to a static
   centre glow (still fine) if JS/reduced-motion skips the listener */
.expertise-card::before,
.feat-card::before,
.team-card::before,
.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 0%),
    rgba(0, 194, 245, 0.24),
    transparent 72%
  );
  transition: opacity 0.4s var(--ease);
}
.expertise-card:hover::before,
.feat-card:hover::before,
.team-card:hover::before,
.value-card:hover::before {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .expertise-card,
  .cat-card,
  .feat-card,
  .team-card,
  .value-card {
    background-size: 100% 100% !important;
    transition:
      box-shadow 0.2s,
      transform 0.2s;
  }
  .expertise-card::before,
  .feat-card::before,
  .team-card::before,
  .value-card::before {
    display: none;
  }
  .expertise-card::after,
  .cat-card::before,
  .feat-card::after,
  .team-card::after,
  .value-card::after {
    display: none;
  }
}

/* =========================================================
   INNER-PAGE HERO — used on every page except Home
   ========================================================= */
.page-hero {
  padding: 170px 0 70px;
  background: linear-gradient(
    150deg,
    var(--navy-deep) 0%,
    var(--navy) 60%,
    var(--spark) 130%
  );
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -40%;
  width: 60%;
  height: 140%;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(0, 194, 245, 0.16) 41%,
    rgba(0, 194, 245, 0.16) 43%,
    transparent 44%
  );
  transform: rotate(8deg);
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero .eyebrow {
  color: var(--cyan);
}
.page-hero .eyebrow::before {
  background: var(--cyan);
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  max-width: 760px;
}
.page-hero .lede {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 18px;
  max-width: 640px;
  font-size: 1.05rem;
}
.page-hero--a h1 {
  white-space: nowrap;
  max-width: none;
}
@media (max-width: 700px) {
  .page-hero--a h1 {
    white-space: normal;
  }
}
.page-hero--a {
  height: 500px;
  background:
    linear-gradient(
      150deg,
      rgba(11, 17, 32, 0.88) 0%,
      rgba(11, 17, 32, 0.72) 55%,
      rgba(15, 26, 92, 0.85) 130%
    ),
    url("about.jpg");
  background-size: cover;
  background-position: center;
}
.page-hero--ab {
  height: 500px;
  background:
    linear-gradient(
      150deg,
      rgba(11, 17, 32, 0.88) 0%,
      rgba(11, 17, 32, 0.72) 55%,
      rgba(15, 26, 92, 0.85) 130%
    ),
    url("services.jpg");
  background-size: cover;
  background-position: center;
}
.page-hero--ac {
  height: 500px;
  background:
    linear-gradient(
      150deg,
      rgba(11, 17, 32, 0.88) 0%,
      rgba(11, 17, 32, 0.72) 55%,
      rgba(15, 26, 92, 0.85) 130%
    ),
    url("projects.jpg");
  background-size: cover;
  background-position: center;
}
.page-hero--ad {
  height: 500px;
  background:
    linear-gradient(
      150deg,
      rgba(11, 17, 32, 0.88) 0%,
      rgba(11, 17, 32, 0.72) 55%,
      rgba(15, 26, 92, 0.85) 130%
    ),
    url("contact.jpg");
  background-size: cover;
  background-position: center;
}
/* current nav link */
.main-nav a[aria-current="page"] {
  color: var(--cyan);
}
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

/* =========================================================
   SERVICE / PROJECT DETAIL PAGES
   ========================================================= */
.detail-section {
  padding: 90px 0;
  background: var(--white);
}
.service-hero-photo {
  height: 320px;
  overflow: hidden;
  margin-bottom: 32px;
  border-radius: var(--radius);
}
.service-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#service-detail h1,
#project-detail h1 {
  color: var(--navy-deep);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin-top: 12px;
}
#service-detail .lede,
#project-detail .lede {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin: 18px 0 30px;
  max-width: 720px;
}
.service-points {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin-bottom: 36px;
}
.service-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  background: var(--steel-100);
  border-left: 3px solid var(--cyan);
  font-size: 0.96rem;
  color: var(--ink);
}
.service-points li > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-points li strong {
  color: var(--navy-deep);
  font-weight: 600;
}
.service-points li span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}
.subtitle-lg {
  color: var(--navy);
  font-size: 1.1rem;
  margin-top: 10px;
}
.project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0 36px;
  padding: 26px;
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
}
.project-meta .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 6px;
}
.project-meta .value {
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 0.94rem;
}
@media (max-width: 700px) {
  .project-meta {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   COMPLETED PROJECTS — grouped tables
   ========================================================= */
.completed-group {
  margin-bottom: 48px;
}
.completed-group-title {
  font-size: 1.1rem;
  color: var(--navy-deep);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cyan);
  display: inline-block;
}

/* =========================================================
   CAREERS
   ========================================================= */
.careers-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 48px 0;
}
@media (max-width: 900px) {
  .careers-roles {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .careers-roles {
    grid-template-columns: 1fr;
  }
}
.careers-cta-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0 0 30px;
}

/* ---- Careers page: roles (left) / apply form (right) split ---- */
.careers-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}
.careers-split-left .careers-roles {
  grid-template-columns: repeat(2, 1fr);
  margin: 28px 0;
}
@media (max-width: 640px) {
  .careers-split-left .careers-roles {
    grid-template-columns: 1fr;
  }
}
.careers-split-left .careers-cta-note {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}
.careers-split-right .contact-form-wrap {
  max-width: 100%;
  position: sticky;
  top: 100px;
  margin-top: 8.125rem;
}
@media (max-width: 1080px) {
  .careers-split-right .contact-form-wrap {
    position: static;
  }
}
@media (max-width: 900px) {
  .careers-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.careers-roles .cat-card {
  display: flex;
  flex-direction: column;
}
.role-apply-btn {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 16px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
  font-size: 0.7rem;
}

/* clickable whole-card overlay link */
.card-link-wrap {
  background: transparent;
}

/* service card "learn more" link */
.service-link {
  display: inline-block;
  margin: 0 32px 26px;
  font-size: 0.8rem;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ========== PROJECT GALLERY (Multi-image display) ========== */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 16px;
  margin: 40px 0;
  width: 100%;
}

.gallery-figure {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}

.gallery-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.gallery-figure img:hover {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .project-gallery {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .project-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-figure {
    grid-column: span 1 !important;
  }
}

/* =========================================================
   NEWS & UPDATES
   ========================================================= */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.news-filter-btn {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.news-filter-btn:hover {
  border-color: var(--cyan);
  color: var(--navy);
}
.news-filter-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11, 17, 32, 0.1);
}
.news-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--steel-100);
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card-img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 2rem;
}
.news-card-body {
  padding: 20px 22px 24px;
}
.news-card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 8px;
}
.news-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 6px;
}
.news-card-date {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.news-card-excerpt {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.news-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 40px 0;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.news-modal.is-open {
  display: flex;
}
.news-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 32, 0.72);
}
.news-modal-panel {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  max-width: 640px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
}
.news-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 17, 32, 0.6);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-modal-img-wrap img {
  width: 100%;
  display: block;
}
.news-modal-body {
  padding: 28px 30px 32px;
}
.news-modal-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 8px;
}
.news-modal-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.news-modal-date {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.news-modal-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--navy);
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ADMIN PANEL — "Access Console"
   A drafting-office console: blueprint grid, registration
   ticks and title-block labels echo the Technodraft brand.
   ========================================================= */
.admin-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-right: 16px;
}
.admin-section {
  /* background: var(--steel-100); */
  min-height: calc(100vh - 96px);
  padding-top: 60px;
  padding-bottom: 80px;
}
.admin-setup-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff4e5;
  border: 1px solid #f3c98b;
  color: #7a4a00;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 30px;
}
.admin-setup-banner code {
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ---------- shared: registration ticks + status dot ---------- */
.console-ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.console-ticks span {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--cyan);
  opacity: 0.55;
}
.console-ticks span:nth-child(1) {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}
.console-ticks span:nth-child(2) {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}
.console-ticks span:nth-child(3) {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
}
.console-ticks span:nth-child(4) {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.console-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(0, 194, 245, 0.6);
  animation: console-pulse 2.2s var(--ease) infinite;
}
@keyframes console-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 194, 245, 0.45);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(0, 194, 245, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 194, 245, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .console-dot {
    animation: none;
  }
}

/* ---------- login: wavy split access panel ---------- */

.containerz {
  max-width: var(--container);
  /* margin: 0 auto; */
  padding: 0 28px;
}

/* .admin-login-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 0 40px;
  margin: 0 auto;
} */
.admin-login-wrap {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* width: 100%;
    max-width: 500px; */
  padding: 20px;
  box-sizing: border-box;
}
.console-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  max-width: 900px;
  width: 100%;
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -25px rgba(15, 45, 150, 0.38),
    0 2px 10px rgba(15, 45, 150, 0.08);
}

/* -- brand panel: blue gradient -- */
.console-card-brand {
  position: relative;
  background: linear-gradient(160deg, #2f6bff 0%, #1c4cec 48%, #0b2f9e 100%);
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  text-align: center;
  color: var(--white);
}

/* layered wave that erodes from the brand panel into the white panel;
   positioned against the card itself (not the grid cell) so it isn't
   affected by grid-column rounding, and centred on the column split
   at 0.95fr / (0.95fr + 1.05fr) = 47.5% */
.console-wave {
  position: absolute;
  top: 0;
  left: calc(47.5% - 22px);
  width: 88px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.console-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}
.console-wave-a {
  fill: #dbe6fd;
}
.console-wave-b {
  fill: #a9c4f8;
}

.console-wave-c {
  fill: #1744d7;
}

.console-brand-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.console-brand-badge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -10px rgba(11, 17, 32, 0.4);
}
.console-brand-badge img {
  height: 40px;
  width: auto;
  display: block;
}
.console-brand-copy h2 {
  font-size: 1.55rem;
  color: var(--white);
  margin: 0 0 12px;
  line-height: 1.18;
}
.console-brand-copy p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 30ch;
  margin: 0 auto;
}
.console-brand-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* -- form panel -- */
.admin-login-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 48px 44px 48px 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.admin-login-card .form-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 10px;
}
.admin-login-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0 0 26px;
  line-height: 1.55;
}
.admin-login-card .field label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-weight: 500;
}
.admin-login-card .field-input input {
  background: #eef2fb;
  border: 1px solid #eef2fb;
  border-radius: 999px;
  padding: 13px 18px;
}
.admin-login-card .field-input.has-icon input {
  padding-left: 42px;
}
.admin-login-card .field-input.has-toggle input {
  padding-right: 44px;
}
.admin-login-card .field-input .field-icon {
  left: 17px;
}
.admin-login-card .field-input input:focus {
  background: var(--white);
  border-color: #1c4cec;
  box-shadow: 0 0 0 3px rgba(28, 76, 236, 0.15);
}
.admin-login-card .contact-form .btn-primary {
  margin-top: 8px;
  justify-self: stretch;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  background: linear-gradient(135deg, #2f6bff, #123fcf);
}
.admin-login-card .contact-form .btn-primary:hover {
  background: linear-gradient(135deg, #2560f0, #0f36b8);
}

@media (max-width: 780px) {
  .console-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }
  .console-card-brand {
    padding: 36px 28px;
  }
  .console-wave {
    display: none;
  }
  .admin-login-card {
    padding: 36px 28px;
  }
}

/* ---------- dashboard: Drive-style app shell ---------- */
.admin-dashboard {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: linear-gradient(165deg, #eef2fc, #e3eafd);
  border: 1px solid rgba(15, 45, 150, 0.08);
  border-radius: 30px;
  padding: 20px;
  width: 92.625rem;
}

/* -- sidebar -- */
.admin-sidebar {
  width: 234px;
  flex-shrink: 0;
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
  border-radius: 22px;
  padding: 22px 16px;
  box-shadow: 0 20px 44px -30px rgba(15, 45, 150, 0.35);
  max-height: calc(160vh - 40px);
}
.admin-sidebar-top {
  padding: 2px 8px 14px;
  border-bottom: 1px solid var(--steel-200);
  margin-bottom: 2px;
}
.admin-brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  /* background: linear-gradient(135deg, #2f6bff, #123fcf); */
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.admin-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.admin-brand-copy strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--ink);
}
.admin-brand-copy small {
  font-size: 0.72rem;
  color: var(--ink-soft);
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  background: transparent;
  border-radius: 12px;
  padding: 11px 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  transition:
    background 0.15s var(--ease),
    color 0.15s var(--ease);
}
.admin-nav-item i {
  width: 18px;
  text-align: center;
  color: inherit;
}

.admin-nav-item:hover {
  background: #f3f5fb;
  color: var(--ink);
}
.admin-nav-item.is-active {
  background: #eaf0ff;
  color: #1c4cec;
  font-weight: 600;
}
.admin-sidebar-spacer {
  flex: 1;
}
.admin-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f6f8fe;
  border: 1px solid #e4eaf9;
  border-radius: 16px;
  padding: 10px 12px;
}
.admin-sidebar-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e0408f, #ad1f66);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
}
.admin-sidebar-user-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.admin-sidebar-user-copy strong {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-sidebar-user-copy small {
  font-size: 0.72rem;
  color: var(--ink-soft);
}
.admin-sidebar-logout {
  margin-left: auto;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #e4eaf9;
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s var(--ease),
    color 0.15s var(--ease),
    border-color 0.15s var(--ease);
}
.admin-sidebar-logout:hover {
  background: #fdecec;
  color: #c0392b;
  border-color: #f3b9b3;
}
.admin-brand-mark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* -- main column -- */
.admin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* -- topbar -- */
.admin-topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border-radius: 20px;
  padding: 14px 20px;
  box-shadow: 0 20px 44px -34px rgba(15, 45, 150, 0.3);
}
.admin-topbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.admin-topbar-title .console-dot {
  background: #1c4cec;
}
.admin-topbar-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.2;
}
.admin-topbar-sub {
  font-size: 0.74rem;
  color: var(--ink-soft);
}
.admin-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3f5fb;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--ink-soft);
  max-width: 420px;
}
.admin-search i {
  font-size: 0.85rem;
}
.admin-search input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
}
.admin-topbar-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.admin-icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e4eaf9;
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s var(--ease),
    color 0.15s var(--ease),
    border-color 0.15s var(--ease);
}
.admin-notif-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e0405c;
  border: 1.5px solid var(--white);
}
.admin-icon-btn:hover {
  background: #eef2fb;
  border-color: #1c4cec;
  color: #1c4cec;
}
.admin-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f6bff, #123fcf);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
}
.admin-topbar-icons .btn-ghost {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.84rem;
}

/* -- quick access tiles -- */
.admin-quick-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #1c4cec;
  background: #eef2fb;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.admin-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.admin-quick-card {
  background: var(--white);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 36px -30px rgba(15, 45, 150, 0.35);
  border: 1px solid rgba(15, 45, 150, 0.06);
  transition:
    transform 0.15s var(--ease),
    box-shadow 0.15s var(--ease);
}
.admin-quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -26px rgba(15, 45, 150, 0.4);
}
.admin-quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 14px;
}
.admin-quick-icon--total {
  background: linear-gradient(135deg, #2f6bff, #123fcf);
}
.admin-quick-icon--advertisement {
  background: linear-gradient(135deg, #22b6e8, #0b7fb0);
}
.admin-quick-icon--announcement {
  background: linear-gradient(135deg, #7a7ff0, #4a4fc4);
}
.admin-quick-icon--greeting {
  background: linear-gradient(135deg, #f7a35c, #b0630b);
}
.admin-quick-icon--achievement {
  background: linear-gradient(135deg, #3fd487, #1c8a4d);
}
.admin-quick-count {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1.1;
}
.admin-quick-label {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 22px;
  align-items: start;
}

/* -- page header (Dashboard / Create New Post / Employees / etc.) -- */
.admin-page-head {
  margin-bottom: 22px;
}
.admin-page-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--ink);
  line-height: 1.2;
}
.admin-page-sub {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* -- "Recent Posts" panel head with the New Post shortcut -- */
.panel-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.panel-head-row .eyebrow {
  margin-bottom: 0;
}
.panel-head-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  color: #1c4cec;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  padding: 4px 2px;
}
.panel-head-link:hover {
  text-decoration: underline;
}

/* -- News & Updates: full-width post card grid (image, title, date, time) -- */
.admin-list-wrap--full {
  margin-bottom: 22px;
}
.admin-activity-wrap--full {
  max-width: none;
}
.admin-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 4px;
}
.admin-post-card {
  border: 1px solid var(--steel-200);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.15s var(--ease),
    border-color 0.15s var(--ease);
}
.admin-post-card:hover {
  border-color: #e4eaf9;
  box-shadow: 0 12px 28px rgba(11, 17, 32, 0.08);
}
.admin-post-card-img {
  position: relative;
  aspect-ratio: 16/10;
  background: #eef2fb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c4cec;
  font-size: 1.6rem;
}
.admin-post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-post-card-status {
  position: absolute;
  top: 8px;
  right: 8px;
}
.admin-post-card-body {
  padding: 14px 16px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-post-card-body .cat-badge {
  align-self: flex-start;
}
.admin-post-card-title {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.admin-post-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.admin-post-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.admin-post-card-actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px;
  margin-top: auto;
}
.admin-post-card-actions .btn-icon {
  flex: 1;
}

/* -- status badge (draft / published) shown next to category -- */
.status-badge {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 3px 11px;
  border-radius: 999px;
}
.status-badge--published {
  background: #eafaf0;
  color: #1c8a4d;
}
.status-badge--draft {
  background: #fdf3e2;
  color: #a3690b;
}

/* -- Recent Activity panel -- */
.admin-activity-wrap {
  max-height: none;
}
.admin-activity-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--steel-200);
}
.admin-activity-item:last-child {
  border-bottom: none;
}
.admin-activity-thumb {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2fb;
  border: 1px solid rgba(28, 76, 236, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-activity-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-activity-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #eef2fb;
  color: #1c4cec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.admin-activity-copy {
  flex: 1;
  min-width: 0;
}
.admin-activity-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
}
.admin-activity-sub {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-activity-time {
  flex-shrink: 0;
  font-size: 0.72rem;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-top: 2px;
}

/* -- Add Post: form + live preview layout -- */
.admin-addpost-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  align-items: start;
}
.admin-preview-col {
  position: sticky;
  top: 20px;
}
.admin-preview-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.admin-preview-card {
  background: var(--white);
  border: 1px solid rgba(15, 45, 150, 0.07);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 44px -30px rgba(15, 45, 150, 0.3);
}
.admin-preview-img {
  aspect-ratio: 16/9;
  background: var(--steel-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #a7adba;
  font-size: 1.6rem;
}
.admin-preview-img span {
  font-size: 0.76rem;
  color: var(--ink-soft);
}
.admin-preview-img.has-img {
  color: transparent;
  font-size: 0;
}
.admin-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-preview-body {
  padding: 18px 20px 20px;
}
.admin-preview-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.35;
}
.admin-preview-date {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 8px;
}
.admin-preview-excerpt {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 10px;
}
.admin-preview-note {
  font-size: 0.76rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 12px;
}

/* -- field label + live word count -- */
.field-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.field-label-row label {
  margin: 0;
}
.field-count {
  font-size: 0.74rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
}

/* -- cover image dropzone -- */
.admin-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: #f3f5fb;
  border: 1.5px dashed #c9d3ef;
  border-radius: 14px;
  padding: 26px 16px;
  cursor: pointer;
  color: var(--ink-soft);
  transition:
    background 0.15s var(--ease),
    border-color 0.15s var(--ease);
}
.admin-dropzone:hover {
  background: #eef2fb;
  border-color: #1c4cec;
}
.admin-dropzone i {
  font-size: 1.15rem;
  color: #1c4cec;
}
.admin-dropzone strong {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
}
.admin-dropzone span {
  font-size: 0.76rem;
}

/* -- Employees / Candidates placeholder panels -- */
.admin-empty-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 60px 24px;
  color: var(--ink-soft);
}
.admin-empty-panel i {
  font-size: 1.8rem;
  color: #1c4cec;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #eef2fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.admin-empty-panel h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}
.admin-empty-panel p {
  font-size: 0.88rem;
  max-width: 360px;
  line-height: 1.6;
}

/* -- shared rounded card shell for every dashboard panel -- */
.admin-dashboard .console-panel {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(15, 45, 150, 0.07);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 20px 44px -30px rgba(15, 45, 150, 0.3);
}
.admin-dashboard .console-ticks {
  display: none;
}
.admin-dashboard .console-panel .eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #1c4cec;
  background: #eef2fb;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.admin-dashboard .console-panel .eyebrow::before {
  content: none;
}
.admin-dashboard .console-panel .form-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 22px;
}

/* -- form fields inside the dashboard -- */
.admin-dashboard .field label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.admin-dashboard .field input,
.admin-dashboard .field select,
.admin-dashboard .field textarea {
  background: #f3f5fb;
  border: 1px solid #f3f5fb;
  border-radius: 14px;
  padding: 12px 16px;
}
.admin-dashboard .field input:focus,
.admin-dashboard .field select:focus,
.admin-dashboard .field textarea:focus {
  background: var(--white);
  border-color: #1c4cec;
  box-shadow: 0 0 0 3px rgba(28, 76, 236, 0.14);
}
.admin-dashboard .field-input input {
  background: #f3f5fb;
  border: 1px solid #f3f5fb;
  border-radius: 999px;
  padding: 12px 16px;
}
.admin-dashboard .field-input.has-icon input {
  padding-left: 42px;
}
.admin-dashboard .field-input.has-toggle input {
  padding-right: 44px;
}
.admin-dashboard .field-input .field-icon {
  left: 17px;
}
.admin-dashboard .field-input input:focus {
  background: var(--white);
  border-color: #1c4cec;
  box-shadow: 0 0 0 3px rgba(28, 76, 236, 0.14);
}
.admin-dashboard input[type="file"] {
  background: #f3f5fb;
  border: 1px dashed #c9d3ef;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.admin-current-image img {
  border-radius: 12px;
  margin-top: 8px;
  border: 1px solid var(--steel-200);
}

/* -- buttons -- */
.admin-form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.admin-dashboard .contact-form .btn-primary,
.admin-dashboard .admin-form-actions .btn-primary {
  justify-self: start;
  border-radius: 999px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  background: linear-gradient(135deg, #2f6bff, #123fcf);
}
.admin-dashboard .contact-form .btn-primary:hover {
  background: linear-gradient(135deg, #2560f0, #0f36b8);
}
.admin-dashboard .btn-ghost {
  border-radius: 999px;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  border-color: #d9e0f2;
  color: #3a4a6b;
}
.admin-dashboard .btn-ghost:hover {
  background: #f3f5fb;
}

/* -- existing posts list (file-table style) -- */
.admin-table-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px 10px;
  border-bottom: 1px solid var(--steel-200);
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.admin-table-head span:first-child {
  flex: 1;
  padding-left: 60px;
}
.admin-table-head span:nth-child(2) {
  width: 150px;
}
.admin-table-head span:nth-child(3) {
  width: 0;
}
.admin-table-head span:last-child {
  width: 76px;
  text-align: right;
}

.admin-post-list {
  /* margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 560px;
  overflow-y: auto; */
  /* display: flex; */
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition:
    background 0.15s var(--ease),
    border-color 0.15s var(--ease);
  margin-top: 4px;
  flex-direction: column;
}
.admin-list-item.admin-list-item--media img {
  width: 100%;
  height: 100%;
  max-height: 100px;
  object-fit: cover;
  display: block;
}
.admin-post-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition:
    background 0.15s var(--ease),
    border-color 0.15s var(--ease);
}
.admin-post-row:hover {
  border-color: #e4eaf9;
  background: #f6f8fe;
}
.admin-post-row-thumb {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2fb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c4cec;
  border: none;
  font-size: 0.82rem;
  position: relative;
}
.admin-post-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-post-row-thumb-count {
  position: absolute;
  right: 2px;
  bottom: 2px;
  background: rgba(11, 17, 32, 0.78);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 999px;
}

/* -- multi-image picker grid (Projects: 1–50 photos per project) -- */
.admin-image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.admin-image-grid:empty {
  margin-top: 0;
}
.admin-image-thumb {
  position: relative;
  width: 82px;
  height: 82px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--steel-200);
  background: #eef2fb;
}
.admin-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-image-thumb-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 0;
  background: rgba(11, 17, 32, 0.72);
  color: #fff;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}
.admin-image-thumb-remove:hover {
  background: #d92d20;
}
.admin-image-thumb-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(28, 76, 236, 0.85);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  padding: 2px 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.admin-image-thumb-cover {
  position: absolute;
  left: 4px;
  bottom: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 17, 32, 0.74);
  color: #fff;
  font-size: 0.52rem;
  padding: 3px 6px;
  cursor: pointer;
  line-height: 1.2;
}
.admin-image-thumb-cover:hover {
  background: rgba(28, 76, 236, 0.9);
}

/* -- Recent Activity: photo thumbnail instead of a generic icon -- */
.admin-activity-icon--photo {
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.admin-activity-icon--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.admin-post-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-post-row-title {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-post-row-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 0.72rem;
  color: var(--ink-soft);
}
.cat-badge {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: capitalize;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--steel-200);
  color: var(--ink-soft);
}
.cat-badge--advertisement {
  background: #e6f3ff;
  color: #0b7fb0;
}
.cat-badge--greeting {
  background: #fdf0e8;
  color: #b0630b;
}
.cat-badge--announcement {
  background: #eef0ff;
  color: #4a4fc4;
}
.cat-badge--achievement {
  background: #eafaf0;
  color: #1c8a4d;
}
.cat-badge--other {
  background: var(--steel-200);
  color: var(--ink-soft);
}

.admin-post-row-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #e4eaf9;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s var(--ease),
    border-color 0.15s var(--ease);
}
.btn-icon:hover {
  background: #eef2fb;
  border-color: #1c4cec;
  color: #1c4cec;
}
.btn-icon--danger:hover {
  background: #fdecec;
  color: #c0392b;
  border-color: #f3b9b3;
}
.admin-list-empty {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* -- account security panel -- */
.admin-security-wrap .admin-login-note {
  margin-bottom: 24px;
}
.admin-credentials-form {
  max-width: 640px;
}

@media (max-width: 980px) {
  .admin-dashboard {
    flex-direction: column;
    padding: 14px;
    border-radius: 22px;
  }
  .admin-sidebar {
    width: 100%;
    position: static;
    max-height: none;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .admin-sidebar-spacer {
    display: none;
  }
  .admin-sidebar-user {
    flex: 1 1 220px;
  }
  .admin-dashboard-grid,
  .admin-addpost-grid {
    grid-template-columns: 1fr;
  }
  .admin-preview-col {
    position: static;
  }
  .admin-dashboard .console-panel {
    padding: 26px 22px;
    border-radius: 18px;
  }
}

@media (max-width: 640px) {
  .admin-topbar {
    flex-wrap: wrap;
  }
  .admin-search {
    order: 3;
    max-width: none;
    width: 100%;
  }
  .admin-table-head span:first-child {
    padding-left: 60px;
  }
  .admin-table-head span:nth-child(2) {
    width: auto;
  }
}
