/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: auto;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #F5F5F0;
  color: #1A1A1A;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

@media (hover: none) {
  body { cursor: auto; }
  .custom-cursor { display: none !important; }
}

img {
  max-width: 100%;
  display: block;
}

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

/* ===== CUSTOM CURSOR ===== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #1A1A1A;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  will-change: transform;
}

.custom-cursor.hovering {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 255, 255, 0.5);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background-color: transparent;
  backdrop-filter: none;
  transition: background-color 0.5s ease, backdrop-filter 0.5s ease;
}

.nav.scrolled {
  background-color: rgba(245, 245, 240, 0.95);
  backdrop-filter: blur(12px);
}

.nav__brand {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F5F5F0;
  transition: color 0.5s ease;
}

.nav.scrolled .nav__brand { color: #1A1A1A; }

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}

.nav__links a {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F5F5F0;
  opacity: 0.8;
  transition: color 0.5s ease, opacity 0.3s ease;
}

.nav.scrolled .nav__links a { color: #1A1A1A; }

.nav__links a:hover { opacity: 1; }

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #0A0A0A;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-architecture.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.4), rgba(10,10,10,0.7));
  z-index: 1;
}

.hero__title1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(40px, 9vw, 140px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  z-index: 5;
  mix-blend-mode: difference;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.hero__cover {
  position: absolute;
  inset: 0;
  background: #0A0A0A;
  z-index: 4;
  clip-path: inset(0% 100% 0% 0%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.hero__title2 {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(40px, 9vw, 140px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  background-image: url('../images/hero-architecture.jpg');
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 5;
  position: relative;
  line-height: 1;
  white-space: nowrap;
  /* Subtle shadow offset — slightly higher and to the right */
  margin-top: -0.8vh;
  margin-left: 1.5vw;
}

.hero__tagline {
  z-index: 6;
  padding: 0 40px;
  margin-top: 40px;
  opacity: 0;
  position: relative;
}

.hero__tagline p {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(10px, 1.4vw, 18px);
  font-weight: 400;
  color: #F5F5F0;
  text-align: center;
  max-width: 700px;
  line-height: 1.6;
  letter-spacing: 0.15em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
  opacity: 0.85;
  text-transform: uppercase;
}

/* ===== TYPOGRAPHY UTILS ===== */
.eyebrow {
  font-family: 'Syncopate', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8C7B6B;
  margin-bottom: 24px;
}

.heading {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(15px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
  color: #1A1A1A;
  margin-bottom: 40px;
  text-transform: uppercase;
  word-wrap: break-word;
}

.heading--light {
  color: #F5F5F0;
}

.heading--center {
  text-align: center;
}

.body-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.6;
  color: #4A4A4A;
  max-width: 700px;
  margin-bottom: 24px;
}

.body-text--light {
  color: rgba(245, 245, 240, 0.7);
}

/* ===== SECTIONS ===== */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16vh 40px;
}

.section--white {
  background-color: #FFFFFF;
}

.section--full {
  max-width: none;
  width: 100%;
}

/* ===== PLATFORM ===== */
.platform__heading {
  margin-bottom: 40px;
  overflow: hidden;
}

.platform__heading .letter {
  display: inline-block;
}

/* ===== PORTFOLIO ===== */
.portfolio {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #FFFFFF;
}

.portfolio__heading {
  position: absolute;
  top: 8vh;
  left: 10vw;
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(22px, 3.2vw, 44px);
  font-weight: 700;
  z-index: 10;
  color: #1A1A1A;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio__track {
  display: flex;
  gap: 20px;
  padding: 0 10vw;
  height: 100%;
  align-items: center;
  will-change: transform;
}

.portfolio__card {
  flex-shrink: 0;
  width: 70vw;
  height: 70vh;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portfolio__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.portfolio__card:hover img {
  transform: scale(1.05);
}

.portfolio__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

.portfolio__title {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(14px, 1.8vw, 26px);
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}

/* ===== ADVANTAGE STATS ===== */
.stats {
  display: flex;
  gap: 60px;
  margin-top: 80px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat__value {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.stat__label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8C7B6B;
}

/* ===== DAVG / DIGITAL BANKING ===== */
.davg {
  width: 100%;
  padding: 16vh 0;
  background-color: #0A0A0A;
}

.davg__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.davg__text {
  padding: 0 80px;
}

.davg__heading {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(20px, 2.8vw, 40px);
  font-weight: 700;
  color: #F5F5F0;
  line-height: 1.2;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.davg__body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: rgba(245, 245, 240, 0.7);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 520px;
  letter-spacing: 0.01em;
}

.feature {
  border-top: 1px solid rgba(245, 245, 240, 0.2);
  padding: 20px 0;
}

.feature__title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #F5F5F0;
  margin-bottom: 6px;
}

.feature__desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(245, 245, 240, 0.6);
  line-height: 1.5;
}

.davg__image {
  overflow: hidden;
  height: 80vh;
}

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

/* ===== LEADERSHIP ===== */
.leadership .section__intro {
  margin-bottom: 80px;
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.team__card {
  background: #FFFFFF;
  border: 1px solid rgba(140, 123, 107, 0.15);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.35s ease;
  cursor: pointer;
}

.team__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-color: rgba(140, 123, 107, 0.3);
}

.team__img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 2px solid rgba(140, 123, 107, 0.2);
}

.team__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.35s ease;
}

.team__card:hover .team__img img {
  filter: grayscale(0%);
}

.team__name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 4px;
}

.team__role {
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 400;
  color: #8C7B6B;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  line-height: 1.5;
}

.team__bio {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: #4A4A4A;
  line-height: 1.6;
}

/* -- Confidential-style team grid (index.html) -- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.team-member {
  background: #FFFFFF;
  border: 1px solid rgba(140, 123, 107, 0.15);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.35s ease;
}
.team-member:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-color: rgba(140, 123, 107, 0.3);
}
.team-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 2px solid rgba(140, 123, 107, 0.2);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.35s ease;
}
.team-member:hover .team-photo img {
  filter: grayscale(0%);
}
.team-mname {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 4px;
}
.team-mrole {
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  font-weight: 400;
  color: #8C7B6B;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  line-height: 1.5;
}
.team-mbio {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: #4A4A4A;
  line-height: 1.6;
}

/* ===== STRATEGIC FOCUS ===== */
.focus {
  width: 100%;
  padding: 16vh 40px;
  background-color: #FFFFFF;
}

.focus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.focus__item {
  position: relative;
  overflow: hidden;
}

/* Clean symmetrical layout - row 1 and row 2 aligned */
.focus__item:nth-child(1) { margin-top: 0; }
.focus__item:nth-child(2) { margin-top: 60px; }
.focus__item:nth-child(3) { margin-top: 120px; }
.focus__item:nth-child(4) { margin-top: 0; }
.focus__item:nth-child(5) { margin-top: 60px; }
.focus__item:nth-child(6) { margin-top: 120px; }

.focus__item img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
  will-change: transform;
}

.focus__item:hover img {
  transform: scale(1.03);
}

.focus__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 16px 16px;
  font-family: 'Syncopate', sans-serif;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: white;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

/* ===== ENGAGEMENT ===== */
.engagement__intro {
  margin-bottom: 80px;
}

.steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  flex-wrap: wrap;
  gap: 20px;
}

.steps__line {
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 1px;
  background-color: rgba(140, 123, 107, 0.2);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 100px;
}

.step__num {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 700;
  color: #8C7B6B;
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.step__title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1A1A1A;
}

/* ===== CONTACT ===== */
.contact {
  width: 100%;
  padding: 16vh 40px;
  background-color: #0A0A0A;
  text-align: center;
}

.contact__inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact__heading {
  font-family: 'Syncopate', sans-serif;
  font-size: clamp(22px, 3.2vw, 44px);
  font-weight: 700;
  color: #F5F5F0;
  line-height: 1.2;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.contact__body {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(245, 245, 240, 0.6);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 40px auto;
}

.contact__email {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #F5F5F0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
  display: inline-block;
  padding-bottom: 4px;
}

.contact__email:hover {
  border-bottom-color: #F5F5F0;
}

.contact__footer {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 300;
  color: rgba(245, 245, 240, 0.3);
  margin-top: 120px;
  letter-spacing: 0.05em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .davg__grid {
    grid-template-columns: 1fr;
  }
  .davg__image {
    height: 50vh;
    order: -1;
  }
  .davg__text {
    padding: 60px 40px;
  }
  .portfolio__card {
    width: 85vw;
    height: 50vh;
  }
  .hero__title2 {
    margin-top: -1vh;
    margin-left: 1vw;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
  }
  .nav__brand {
    font-size: 9px;
  }
  .nav__links {
    gap: 12px;
  }
  .nav__links a {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .section {
    padding: 10vh 20px;
  }
  .team,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .focus__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .focus__item:nth-child(n) {
    margin-top: 0;
  }
  .focus__item:nth-child(2) {
    margin-top: 40px;
  }
  .focus__item:nth-child(3n) {
    margin-top: 80px;
  }
  .stats {
    gap: 24px;
    justify-content: center;
  }
  .stat__value {
    font-size: clamp(28px, 8vw, 48px);
  }
  .hero__title1,
  .hero__title2 {
    font-size: 10vw;
  }
  .hero__title2 {
    margin-top: -0.8vh;
    margin-left: 0.8vw;
  }
  .hero__tagline {
    margin-top: 24px;
    padding: 0 20px;
  }
  .hero__tagline p {
    font-size: 2.5vw;
  }
  .davg__text {
    padding: 40px 20px;
  }
  .davg__heading {
    font-size: clamp(16px, 4vw, 28px);
  }
  .contact {
    padding: 10vh 20px;
  }
  .portfolio__card {
    width: 85vw;
    height: 45vh;
  }
  .portfolio__heading {
    font-size: clamp(16px, 4vw, 28px);
    left: 5vw;
  }
  .step__num {
    font-size: clamp(20px, 5vw, 32px);
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .nav__brand {
    font-size: 8px;
    margin-bottom: 0;
  }
  .nav__links {
    gap: 8px;
  }
  .nav__links a {
    font-size: 7px;
    letter-spacing: 0.08em;
  }
  .team,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .focus__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .focus__item:nth-child(n) {
    margin-top: 0;
  }
  .stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .stat {
    min-width: 45%;
  }
  .stat__value {
    font-size: 36px;
  }
  .hero__title1,
  .hero__title2 {
    font-size: 11vw;
  }
  .hero__title2 {
    margin-top: -0.6vh;
    margin-left: 0.6vw;
  }
  .hero__tagline p {
    font-size: 3vw;
  }
  .heading {
    font-size: clamp(12px, 4vw, 18px);
    letter-spacing: 0.04em;
  }
  .portfolio__card {
    width: 90vw;
    height: 35vh;
  }
  .portfolio__title {
    font-size: clamp(12px, 4vw, 18px);
  }
  .davg__text {
    padding: 30px 16px;
  }
  .portfolio__card {
    width: 90vw;
    height: 40vh;
  }
  .steps {
    flex-direction: column;
    align-items: center;
  }
  .steps__line {
    display: none;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
