*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  /* --ink: #0a0a0a;
        --paper: #f5f2ee;
        --gold: #b8933a;
        --gold-lt: #d4ac5a;
        --mist: #e8e4de;
        --grey: #888078;
        --serif: "Cormorant Garamond", Georgia, serif;
        --sans: "DM Sans", sans-serif; */

  --ink: #111827;
  --paper: #f6f6f6;
  --gold: #005bb5;
  --gold-lt: #d4ac5a;
  --mist: #f5f5f5;
  --grey: #111827;
  --textcolor: #111827;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", sans-serif;

  --primary-color: #2baaa9;
  --background-dark: #ffffff;
  --text-lightt: #132743;
  --text-faded: #000000;
  --nav-bar-dark: #1b2a49;
  --slide-x: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  /* font-weight: 300; */
  overflow-x: hidden;
  /* cursor: none; */
}

/* ── CURSOR ── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.35s,
    height 0.35s,
    opacity 0.35s;
  opacity: 0.6;
}
.cursor-ring.expand {
  width: 64px;
  height: 64px;
  opacity: 0.22;
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--paper);
  padding: 90px 60px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "WORKS";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 16rem;
  font-weight: 300;
  color: rgba(64, 224, 208, 0.137);
  letter-spacing: -0.02em;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}
.hero-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  background-color: var(--gold);
  color: white;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s forwards;
  display: inline-block;
}
.page-hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 1.05;
  color: var(--textcolor);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}
.page-hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-desc {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--textcolor);
  max-width: 440px;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}
.hero-right-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}
.hs {
  background: rgb(239, 239, 239);
  padding: 36px 28px;
  transition: background 0.3s;
}
.hs:hover {
  background: white;
}
.hs-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--textcolor);
  line-height: 1;
  margin-bottom: 6px;
}
.hs-num em {
  color: var(--gold);
  font-style: italic;
}
.hs-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--textcolor);
}

/* ── SHARED ── */
.section-label {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.1;
}
.section-title em {
  font-style: italic;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.d1 {
  transition-delay: 0.1s;
}
.d2 {
  transition-delay: 0.2s;
}
.d3 {
  transition-delay: 0.3s;
}
.d4 {
  transition-delay: 0.4s;
}

/* ── FILTER BAR ── */
.filter-section {
  padding: 64px 60px 48px;
  border-bottom: 1px solid var(--mist);
}
.filter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.filter-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--grey);
}
.project-count {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-pill {
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 20px;
  border: 1px solid var(--primary-color);
  color: var(--grey);
  background: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--sans);
}
.filter-pill:hover {
  border-color: var(--gold);
  color: var(--ink);
}
.filter-pill.active {
  background: var(--gold);
  border-color: var(--ink);
  color: var(--paper);
}

/* ── FEATURED PROJECT ── */
.featured-section {
  padding: 64px 60px;
  border-bottom: 1px solid var(--mist);
}
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  border: 1px solid var(--mist);
  overflow: hidden;
  transition: box-shadow 0.4s;
}
.featured-card:hover {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.1);
}
.featured-img {
  position: relative;
  overflow: hidden;
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) brightness(0.88);
  transform: scale(1.05);
  transition:
    transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
    filter 0.5s;
}
.featured-card:hover .featured-img img {
  transform: scale(1);
  filter: grayscale(0%) brightness(0.95);
}
.featured-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--paper) 100%);
}
.featured-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--primary-color);
  color: var(--paper);
  padding: 6px 14px;
  z-index: 2;
}
.featured-info {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fi-cat {
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background-color: var(--gold);
  color: white;
  margin-bottom: 20px;
  display: inline-block;
}
.fi-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1.1;
  margin-bottom: 20px;
}
.fi-title em {
  font-style: italic;
}
.fi-desc {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--grey);
  margin-bottom: 36px;
}
.fi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.fi-tag {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--primary-color);
  color: var(--grey);
}
.fi-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--mist);
  border: 1px solid var(--mist);
  margin-bottom: 40px;
}
.fi-metric {
  background: var(--paper);
  padding: 20px 16px;
}
.fi-metric-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.fi-metric-num span {
  color: var(--gold);
}
.fi-metric-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--grey);
}
.fi-link {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}
.fi-link svg {
  transition: transform 0.3s;
}
.fi-link:hover {
  color: var(--gold);
}
.fi-link:hover svg {
  transform: translateX(5px);
}

/* ── WORKS GRID ── */
.works-section {
  padding: 64px 60px;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--mist);
  border: 1px solid var(--mist);
}

/* project card */
.project-card {
  background: var(--paper);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s;
}
.project-card[data-size="wide"] {
  grid-column: span 2;
}
.project-card[data-size="tall"] {
  grid-row: span 2;
}

.pc-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  filter: grayscale(20%) brightness(0.85);
  transition:
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    filter 0.5s;
}
.project-card[data-size="wide"] .pc-img {
  aspect-ratio: 16/7;
}
.project-card[data-size="tall"] .pc-img {
  height: 100%;
  aspect-ratio: unset;
}
.project-card:hover .pc-img {
  transform: scale(1.04);
  filter: grayscale(0%) brightness(0.92);
}

.pc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.1) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.project-card:hover .pc-overlay {
  opacity: 1;
}

.pc-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 28px;
  transform: translateY(10px);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.4s;
}
.project-card:hover .pc-info {
  transform: translateY(0);
  opacity: 1;
}
.pc-cat {
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background-color: var(--primary-color);
  color: white;
  margin-bottom: 8px;
  display: inline-block;
}
.pc-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: 10px;
}
.project-card[data-size="wide"] .pc-title {
  font-size: 1.6rem;
}
.pc-tags-wrap {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pc-tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--primary-color);
  color: white;
}

/* static label (always visible) */
.pc-static {
  padding: 24px 24px 20px;
  border-top: 1px solid var(--mist);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pc-static-name {
  font-size: 0.8rem;
  color: var(--grey);
}
.pc-static-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold);
}

/* ── PROCESS / APPROACH ── */
.approach {
  background: var(--primary-color);
  padding: 100px 60px;
}
.approach .section-label {
  color: var(--gold);
}
.approach .section-title {
  color: var(--paper);
  margin-bottom: 64px;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.approach-item {
  background: var(--paper);
  padding: 44px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
/* .approach-item:hover {
        background: #111;
      } */
.approach-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.approach-item:hover::before {
  transform: scaleX(1);
}
.ai-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: grey;
  line-height: 1;
  margin-bottom: 20px;
}
.ai-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.ai-desc {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--textcolor);
}

/* ── INDUSTRIES SERVED ── */
.industries-served {
  padding: 100px 60px;
  border-bottom: 1px solid var(--mist);
}
.ind-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--mist);
  padding-bottom: 32px;
}
.ind-sub {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--grey);
  max-width: 320px;
  text-align: right;
}
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--mist);
  border: 1px solid var(--mist);
}
.ind-item {
  background: var(--paper);
  padding: 32px 28px;
  transition: background 0.3s;
  cursor: default;
  position: relative;
}
.ind-item:hover {
  background: #f0ece5;
}
.ind-icon {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 12px;
  line-height: 1;
}
.ind-name {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.ind-count {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--grey);
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 100px 60px;
  background: var(--paper);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testi-card {
  background: var(--paper);
  padding: 44px 36px;
  border: 1px solid var(--mist);
  position: relative;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.testi-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
  transform: translateY(-4px);
}
.testi-q {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold);
  line-height: 0.7;
  margin-bottom: 20px;
  display: block;
}
.testi-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 32px;
}
.testi-line {
  height: 1px;
  background: var(--mist);
  margin-bottom: 24px;
}
.testi-author {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.testi-role {
  font-size: 0.9rem;
  color: var(--grey);
}
.testi-project {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  background: var(--mist);
  padding: 5px 10px;
}
.testi-project {
  font-size: 0.80rem;
  
}

/* ── MARQUEE ── */
.marquee-wrap {
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  padding: 18px 0;
  overflow: hidden;
  background: var(--ink);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}
.marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  padding: 0 40px;
  display: inline-flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}
.marquee-dot {
  width: 4px;
  height: 4px;
  background: rgba(184, 147, 58, 0.4);
  border-radius: 50%;
}

/* ── CTA BANNER ── */
.cta-banner {
  padding: 100px 60px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--mist);
}
.cta-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 3.5vw, 4rem);
  line-height: 1.08;
}
.cta-title em {
  font-style: italic;
  color: var(--gold);
}
.cta-panel {
  border: 1px solid var(--mist);
  padding: 48px 40px;
}
.cta-panel-label {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.cta-tel {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.3s;
}
.cta-tel:hover {
  color: var(--gold);
}
.cta-email {
  font-size: 0.78rem;
  color: var(--grey);
  margin: 16px 0 32px;
}
.cta-email a {
  color: var(--gold);
  text-decoration: none;
}
.cta-btn {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  
  color: var(--textcolor);
  padding: 15px 36px;
  text-decoration: none;
  transition:
    background 0.3s,
    color 0.3s;
}
.cta-btn:hover {
 
  color: var(--gold);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── HIDDEN / FILTERED ── */
.project-card.hidden {
  display: none;
}
.featured-card.hidden {
  display: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {

 
  .page-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }
  .page-hero::before {
    font-size: 5rem;
  }
  .filter-section,
  .featured-section,
  .works-section,
  .approach,
  .industries-served,
  .testimonials,
  .cta-banner {
    padding: 60px 24px;
  }
  .filter-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-img {
    height: 260px;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
  .project-card[data-size="wide"] {
    grid-column: span 1;
  }
  .approach-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ind-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    grid-template-columns: 1fr;
  }
 
  .hero-right-stats {
    grid-template-columns: 1fr 1fr;
  }
  .fi-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .featured-info {
    padding: 36px 28px;
  }
}
