:root{
  --navy: #1E2843;
  --navy-light: #253354;
  --navy-dark: #161e32;
  --white: #ffffff;
  --off-white: #f8f7f5;
  --cream-bg: #f4f1ed;
  --black: #111110;
  --gray: #6b6b68;
  --gray-light: #d8d4cc;
  --border: rgba(0,0,0,0.09);
}

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:#ffffff;
  color:var(--black);
  font-family:"DM Sans",sans-serif;
  overflow-x:hidden;
  cursor:none;
}

.cursor{
  position:fixed;
  width:10px;
  height:10px;
  background:#ffffff;
  border-radius:50%;
  pointer-events:none;
  z-index:99999;
  transform:translate(-50%,-50%);
  transition:width .3s,height .3s,background .3s;
  mix-blend-mode:difference;
}

.cursor-follower{
  position:fixed;
  width:36px;
  height:36px;
  border:1.5px solid rgba(255,255,255,0.75);
  border-radius:50%;
  pointer-events:none;
  z-index:99998;
  transform:translate(-50%,-50%);
  transition:width .18s ease,height .18s ease,border .18s ease,background .18s ease;
  mix-blend-mode:difference;
}

/* ─── NAVBAR ─── */
nav{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 60px;
  background:rgba(18,24,45,0.65);
  backdrop-filter:blur(18px) saturate(180%);
  -webkit-backdrop-filter:blur(18px) saturate(180%);
  border-bottom:1px solid rgba(255,255,255,0.08);
  transition:padding .3s, background .4s;
}
nav.scrolled{
  padding:13px 60px;
  background:rgba(18,24,45,0.82);
  backdrop-filter:blur(24px) saturate(200%);
  -webkit-backdrop-filter:blur(24px) saturate(200%);
  box-shadow:0 8px 32px rgba(0,0,0,0.25);
}

.nav-brand{display:flex;align-items:center;gap:12px;text-decoration:none;}
.nav-logo-img{width:38px;height:38px;object-fit:contain;border-radius:7px;}
.nav-logo-text{font-family:"Playfair Display",serif;font-size:20px;font-weight:900;letter-spacing:.14em;color:#ffffff;}

.nav-links{display:flex;align-items:center;gap:40px;list-style:none;}
.nav-links a{
  font-size:12px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;
  color:rgba(255,255,255,0.6);text-decoration:none;transition:color .25s;position:relative;
}
.nav-links a::after{content:"";position:absolute;bottom:-4px;left:0;width:0;height:1px;background:#fff;transition:width .3s;}
.nav-links a:hover{color:#fff;}
.nav-links a:hover::after{width:100%;}
.nav-links .cta-link{
  color:var(--navy);background:#fff;
  padding:9px 22px;border-radius:3px;font-weight:700;letter-spacing:.1em;
  border:1px solid #fff;transition:all .25s;
}
.nav-links .cta-link:hover{background:transparent;color:#fff;}
.nav-links .cta-link::after{display:none;}

/* ─── HERO ─── */
#home{
  min-height:100vh;
  display:grid;grid-template-columns:1fr 1.15fr;
  align-items:center;padding:110px 60px 60px;
  gap:60px;background:#f0edf8;position:relative;overflow:hidden;
}

/* Purple gradient base */
#home::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(ellipse 80% 70% at 100% 100%, rgba(160,100,240,0.55) 0%, transparent 65%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(130,70,230,0.38) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(200,170,255,0.18) 0%, transparent 60%),
    linear-gradient(145deg, #f3f0fb 0%, #e8e0f8 40%, #ddd0f5 70%, #cbb8ef 100%);
}

/* Mosaic tile grid — glass squares like reference images */
.hero-grid{
  position:absolute;inset:0;pointer-events:none;z-index:1;
  background-image:
    linear-gradient(rgba(255,255,255,0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.28) 1px, transparent 1px);
  background-size:72px 72px;
}

/* Frosted glass tile overlays (the rounded square mosaic) */
#home .mosaic-tiles{
  position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden;
}
#home .mosaic-tiles span{
  position:absolute;
  border-radius:14px;
  background:rgba(255,255,255,0.18);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,0.35);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.5);
  animation:tilePulse 8s ease-in-out infinite;
}
@keyframes tilePulse{
  0%,100%{opacity:.55;transform:scale(1);}
  50%{opacity:.85;transform:scale(1.03);}
}
/* Stagger & position individual tiles (bottom-right heavy like reference) */
#home .mosaic-tiles span:nth-child(1) {width:130px;height:130px;right:0;bottom:0;animation-delay:0s;background:rgba(160,90,240,0.28);}
#home .mosaic-tiles span:nth-child(2) {width:130px;height:130px;right:130px;bottom:0;animation-delay:.5s;background:rgba(180,120,250,0.18);}
#home .mosaic-tiles span:nth-child(3) {width:130px;height:130px;right:0;bottom:130px;animation-delay:1s;background:rgba(200,160,255,0.15);}
#home .mosaic-tiles span:nth-child(4) {width:130px;height:130px;right:260px;bottom:0;animation-delay:1.5s;background:rgba(170,110,240,0.12);}
#home .mosaic-tiles span:nth-child(5) {width:130px;height:130px;right:130px;bottom:130px;animation-delay:2s;background:rgba(145,85,230,0.22);}
#home .mosaic-tiles span:nth-child(6) {width:130px;height:130px;right:0;bottom:260px;animation-delay:2.5s;background:rgba(130,70,220,0.18);}
#home .mosaic-tiles span:nth-child(7) {width:130px;height:130px;right:390px;bottom:0;animation-delay:.8s;background:rgba(210,180,255,0.10);}
#home .mosaic-tiles span:nth-child(8) {width:130px;height:130px;right:260px;bottom:130px;animation-delay:1.3s;background:rgba(175,115,245,0.14);}
#home .mosaic-tiles span:nth-child(9) {width:130px;height:130px;right:130px;bottom:260px;animation-delay:3s;background:rgba(155,95,235,0.12);}
#home .mosaic-tiles span:nth-child(10){width:130px;height:130px;right:0;bottom:390px;animation-delay:3.5s;background:rgba(130,65,215,0.10);}
#home .mosaic-tiles span:nth-child(11){width:130px;height:130px;right:390px;bottom:130px;animation-delay:.3s;background:rgba(220,190,255,0.08);}
#home .mosaic-tiles span:nth-child(12){width:130px;height:130px;right:260px;bottom:260px;animation-delay:4s;background:rgba(165,105,240,0.16);}

.hero-content{position:relative;z-index:2;}
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:11px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;
  color:var(--navy);margin-bottom:28px;
  background:rgba(255,255,255,0.72);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,0.7);
  padding:8px 16px;border-radius:20px;
  box-shadow:0 2px 16px rgba(120,60,200,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
}
.hero-eyebrow::before{content:"";width:18px;height:1px;background:var(--navy);}
.hero-title{
  font-family:"Playfair Display",serif;
  font-size:clamp(44px,5.2vw,78px);font-weight:900;
  line-height:1.06;letter-spacing:-.02em;margin-bottom:24px;color:var(--black);
}
.hero-title .italic-line{font-style:italic;font-weight:400;display:block;color:#7c3aed;}
.hero-sub{font-size:15px;font-weight:300;color:#5a4a6e;line-height:1.75;max-width:380px;margin-bottom:48px;}
.hero-actions{display:flex;align-items:center;gap:20px;}
.btn-primary{
  display:inline-flex;align-items:center;gap:10px;
  background:var(--navy);color:#fff;
  font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  padding:15px 32px;border:none;border-radius:3px;
  text-decoration:none;cursor:none;transition:all .3s;
  position:relative;overflow:hidden;
}
.btn-primary::before{content:"";position:absolute;inset:0;background:var(--navy-light);transform:translateX(-100%);transition:transform .3s;}
.btn-primary:hover::before{transform:translateX(0);}
.btn-primary span{position:relative;z-index:1;}

/* ─── HERO VIDEO CARD ─── */
.hero-visual{position:relative;z-index:2;display:flex;justify-content:center;align-items:center;}
.hero-video-card{
  width:min(360px,90vw);
  border-radius:40px;
  padding:10px;
  background:linear-gradient(145deg,#ffffff,#f3f3f3);
  box-shadow:0 30px 80px rgba(0,0,0,0.15),inset 0 1px 2px rgba(255,255,255,0.6);
  position:relative;
  animation:floatVideo 6s ease-in-out infinite;
}
@keyframes floatVideo{0%,100%{transform:translateY(0);}50%{transform:translateY(-12px);}}
.video-topbar{
  display:flex;align-items:center;gap:7px;
  padding:10px 14px;font-size:11px;color:#aaa;
}
.vid-dot{width:9px;height:9px;border-radius:50%;}
.vid-dot-r{background:#ff6058;}
.vid-dot-y{background:#ffbd2e;}
.vid-dot-g{background:#28c840;}
.video-topbar-label{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#aaa;margin-left:auto;}
.video-inner{width:100%;aspect-ratio:15/25;overflow:hidden;position:relative;background:#111;border-radius:20px;}
.video-inner video{width:100%;height:100%;object-fit:cover;display:block;}
.video-footer{
  padding:10px 14px;
  display:flex;justify-content:space-between;
  font-size:11px;
}
.video-footer-label{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#aaa;}
.video-footer-live{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#999;}
.live-dot{width:6px;height:6px;border-radius:50%;background:#4caf50;animation:blink 2s infinite;}
@keyframes blink{0%,100%{opacity:1;}50%{opacity:.3;}}
.hero-badge{
  position:absolute;
  background:rgba(255,255,255,0.55);
  backdrop-filter:blur(16px) saturate(180%);
  -webkit-backdrop-filter:blur(16px) saturate(180%);
  border:1px solid rgba(255,255,255,0.7);
  border-radius:14px;padding:12px 20px;
  box-shadow:0 8px 32px rgba(30,40,67,0.12), inset 0 1px 0 rgba(255,255,255,0.8);
}
.badge-1{top:30px;right:30px;animation:floatBadge 4.5s ease-in-out infinite;}
.badge-2{bottom:60px;left:20px;animation:floatBadge 4.5s ease-in-out infinite 2s;}
@keyframes floatBadge{0%,100%{transform:translateY(0);}50%{transform:translateY(-7px);}}
.badge-num{font-family:"Playfair Display",serif;font-size:24px;font-weight:700;color:var(--navy);line-height:1;}
.badge-label{font-size:10px;letter-spacing:.1em;color:#aaa;text-transform:uppercase;}


/* ─── TICKER — NAVY ─── */
#brands{
  background:var(--navy);
  padding:44px 0;overflow:hidden;position:relative;
}
.brands-label{
  text-align:center;font-size:11px;letter-spacing:.22em;
  text-transform:uppercase;color:rgba(255,255,255,0.35);margin-bottom:32px;
}
.ticker-wrapper{overflow:hidden;position:relative;}
.ticker-wrapper::before,.ticker-wrapper::after{
  content:"";position:absolute;top:0;bottom:0;width:140px;z-index:2;
}
.ticker-wrapper::before{left:0;background:linear-gradient(to right,var(--navy),transparent);}
.ticker-wrapper::after{right:0;background:linear-gradient(to left,var(--navy),transparent);}
.ticker-track{
  display:flex;align-items:center;gap:60px;width:max-content;
  animation: ticker 25s linear infinite;
  will-change: transform;
}
.ticker-track:hover{animation-play-state:paused;}
@keyframes ticker{0%{transform:translateX(0);}100%{transform:translateX(-50%);}}
.brand-logo-item{
  display:flex;align-items:center;gap:14px;white-space:nowrap;
  font-family:"Playfair Display",serif;font-size:16px;font-weight:700;
  letter-spacing:.08em;color:rgba(255,255,255,0.45);
  transition:color .35s;cursor:default;
}
.brand-logo-item:hover{color:rgba(255,255,255,0.9);}
.brand-logo-item:hover img,.brand-logo-item:hover svg{opacity:0.9;}
.brand-icon {
  width: 200px;   /* increased size */
  height: 100px;
  object-fit: contain;
  opacity: 1;  /* more visible */
  transition: all 0.35s ease;
  flex-shrink: 0;
}
.brand-logo-item:hover .brand-icon {
  transform: scale(1.15);
  opacity: 1.5;
}
.ticker-sep{width:1px;height:28px;background:rgba(255,255,255,0.1);flex-shrink:0;}

/* ─── SHARED SECTION STYLES ─── */
.section-eyebrow{
  font-size:11px;font-weight:500;letter-spacing:.25em;text-transform:uppercase;
  color:#aaa;margin-bottom:18px;display:flex;align-items:center;gap:12px;
}
.section-eyebrow::before{content:"";width:28px;height:1px;background:#ccc;}
.section-title{
  font-family:"Playfair Display",serif;
  font-size:clamp(34px,3.8vw,56px);font-weight:900;
  line-height:1.1;letter-spacing:-.02em;margin-bottom:24px;color:var(--black);
}
.section-title .italic{font-style:italic;font-weight:400;color:var(--navy);}

/* ─── ABOUT ─── */
#about{
  padding:120px 70px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:70px;
  align-items:center;
  background:#f8f8f6;
  min-height:100vh;
}
.about-text{font-size:15px;font-weight:300;color:#777;line-height:1.8;margin-bottom:18px;}
.about-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:44px;}
.stat-block{border-left:2px solid rgba(30,40,67,0.15);padding-left:18px;}
.stat-num{font-family:"Playfair Display",serif;font-size:40px;font-weight:900;color:var(--navy);line-height:1;}
.stat-label{font-size:11px;letter-spacing:.1em;color:#aaa;text-transform:uppercase;margin-top:5px;}
.about-visual{position:relative;}
.about-glass-frame{
  width:100%;aspect-ratio:4/5;
  background:linear-gradient(145deg, rgba(255,255,255,0.55) 0%, rgba(244,241,237,0.35) 100%);
  backdrop-filter:blur(20px) saturate(160%);
  -webkit-backdrop-filter:blur(20px) saturate(160%);
  border:1px solid rgba(255,255,255,0.6);
  border-radius:24px;overflow:hidden;
  box-shadow:0 24px 80px rgba(30,40,67,0.13), inset 0 1px 0 rgba(255,255,255,0.9);
  display:flex;flex-direction:column;justify-content:flex-end;padding:36px;
  position:relative;
}
.deco-ring{position:absolute;border-radius:50%;border:1px solid rgba(30,40,67,0.07);}
.ring-1{width:280px;height:280px;top:-40px;right:-40px;}
.ring-2{width:180px;height:180px;top:10px;right:10px;}
.ring-3{width:400px;height:400px;bottom:-100px;left:-100px;}
.about-card-text{position:relative;z-index:2;}
.about-card-eyebrow{font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#aaa;margin-bottom:12px;}
.about-card-quote{font-family:"Playfair Display",serif;font-size:24px;font-weight:700;line-height:1.35;color:var(--navy);margin-bottom:12px;}
.about-card-sub{font-size:13px;color:#888;line-height:1.6;}

/* ─── PROJECTS ─── */
#projects {
  padding: 130px 60px;
  background: #fff;
}
.projects-view-all{
  margin-top:20px;
  margin-bottom:42px;
  display:flex;
  align-items:center;
}

.view-all-projects-btn,
.view-all-projects-btn:link,
.view-all-projects-btn:visited{
  position:relative;
  display:inline-flex !important;
  align-items:center;
  gap:14px;

  text-decoration:none !important;
  font-size:11px !important;
  font-weight:700 !important;
  letter-spacing:.32em !important;
  text-transform:uppercase !important;

  color:#a7a7a7 !important;
  font-family:"DM Sans",sans-serif !important;

  transition:all .35s ease;
}

/* left line */
.view-all-projects-btn::before{
  content:"";
  width:34px;
  height:1px;
  background:#d2d2d2;
  display:block;
  flex-shrink:0;
  transition:all .35s ease;
}

/* arrow */
.view-all-projects-btn::after{
  content:"→";
  font-size:14px;
  color:var(--navy);
  transition:all .35s ease;
}

/* remove ugly underline */
.view-all-projects-btn:hover,
.view-all-projects-btn:active{
  text-decoration:none !important;
  color:var(--navy) !important;
}

/* hover animation */
.view-all-projects-btn:hover::before{
  width:52px;
  background:var(--navy);
}

.view-all-projects-btn:hover::after{
  transform:translateX(6px);
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}

.projects-filter {
  display: flex;
  gap: 8px;
}

.filter-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #888;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.14);
  padding: 9px 18px;
  border-radius: 3px;
  cursor: pointer;
  transition: all .3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}


/* 6 equal cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.proj {
  height: 430px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--cream-bg);
  border:1px solid rgba(255,255,255,0.6);
  box-shadow:0 4px 20px rgba(30,40,67,0.07);
  transition:transform .4s cubic-bezier(.25,.46,.45,.94),box-shadow .4s;
}

.proj:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(30,40,67,0.14);
}

.proj-thumb {
  height: 330px;
  position: relative;
  overflow: hidden;
}

.proj-bg {
  width: 100%;
  height: 100%;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  position:relative;overflow:hidden;
}

.proj:hover .proj-bg {
  transform: scale(1.06);
}

.proj-bg img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;}
.proj-label-big{
  font-family:"Playfair Display",serif;
  font-size:clamp(42px,5vw,76px);font-weight:900;
  opacity:0.10;color:var(--navy);
  letter-spacing:-.04em;line-height:1;
  user-select:none;text-align:center;
  position:relative;z-index:1;
}
.proj-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(30,40,67,.90) 0%,rgba(30,40,67,.55) 45%,rgba(30,40,67,.12) 100%);
  opacity:0;transition:opacity .4s ease;
  display:flex;flex-direction:column;justify-content:flex-end;padding:26px;
}

.proj:hover .proj-overlay {
  opacity: 1;
}

.proj-overlay-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(240,231,222,0.7);
  margin-bottom: 8px;
}

.proj-overlay-name {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.proj-overlay-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.proj-info {
  height: 100px;
  padding: 18px 22px;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.proj-info-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proj-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #aaa;
}

.proj-name-sm {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.proj-year-sm {
  font-size: 12px;
  color: #ccc;
}

/* card colors */
.pg-1 { background: linear-gradient(135deg,#e8e4de 0%,#c9c2bb 100%); }
.pg-2 { background: linear-gradient(135deg,#dce4ee 0%,#c8d4e4 100%); }
.pg-3 { background: linear-gradient(135deg,#e4dce8 0%,#d4c8dc 100%); }
.pg-4 { background: linear-gradient(135deg,#dce8dc 0%,#c8dcc8 100%); }
.pg-5 { background: linear-gradient(135deg,#e8e4d8 0%,#dcd4c4 100%); }
.pg-6 { background: linear-gradient(135deg,#dce4e8 0%,#c8d8e0 100%); }

/* responsive */
@media (max-width:991px){
  #about{
    grid-template-columns:1fr;
    gap:60px;
  }

  .about-heading{
    font-size:32px;
  }

  .about-visual{
    justify-content:center;
  }
}

@media (max-width:768px){
  .about-heading{
    font-size:32px;
  }

  .about-subtext{
    font-size:16px;
  }

  .about-cta-row{
    flex-direction:column;
  }

  .about-stats{
    grid-template-columns:1fr;
  }
}

/* ─── SERVICES ─── */
#services {
  padding: 90px 60px;
  background: var(--navy);
}

/* header */
.services-header {
  max-width: 620px;
  margin-bottom: 48px;
}

.services-header .section-eyebrow {
  color: rgba(255,255,255,0.4);
}

.services-header .section-eyebrow::before {
  background: rgba(255,255,255,0.2);
}

.services-header .section-title {
  color: #fff;
}

.services-header .section-title .italic {
  color: rgba(240,231,222,0.75);
}

/* grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

/* card */
.service-card {
  position: relative;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);

  transition: all .35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

/* gradient top */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 95px;
  background: linear-gradient(135deg, #a8c6ff55, #bfa0ff55);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* top row */
.service-top {
  position: absolute;
  top: 26px;
  left: 22px;
  right: 22px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* icon */
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  color: #fff;

  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

/* arrow */
.service-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);

  color: #fff;
  font-size: 14px;
}

/* title */
.service-title {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;

  margin: 120px 22px 4px;
}

/* subtitle */
.service-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.5);

  margin: 0 22px 14px;
}

/* tags */
.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 22px 18px;
}

.service-tags span {
  font-size: 10px;
  font-weight: 600;
  padding: 6px 12px;

  border-radius: 999px;

  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

/* stats */
.service-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  margin: 0 22px 18px;
  padding-top: 14px;

  border-top: 1px solid rgba(255,255,255,0.08);
}

.service-stats div {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.service-stats div:last-child {
  border-right: none;
}

.service-stats strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.service-stats small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,0.35);
}

/* button */
.service-cta {
  margin: 0 22px 22px;

  height: 44px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: 700;
  text-decoration: none;

  color: #fff;

  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);

  transition: all .3s;
}

.service-cta:hover {
  background: #fff;
  color: var(--navy);
}

/* responsive */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  #services {
    padding: 70px 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── TESTIMONIALS ─── */
#testimonials {
  padding: 70px 60px 40px;
  background: var(--off-white);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 65px;
}

.testimonials-header p {
  font-size: 15px;
  color: #888;
  font-weight: 300;
  margin-top: 14px;
}

/* video cards */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}
/* style.css */
.testimonial-video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  cursor:pointer;
}

.testimonial-play-btn{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  z-index:3;
  border:none;
  cursor:pointer;
}

.video-thumb.playing .testimonial-play-btn{
  opacity:0;
  pointer-events:none;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  align-items: stretch;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.testimonial-slide {
  min-width: calc(33.33% - 16px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(30,40,67,0.07);
  transition: box-shadow .3s, transform .3s;
}

.testimonial-slide:hover {
  box-shadow: 0 12px 40px rgba(30,40,67,0.13);
  transform: translateY(-3px);
}

.video-thumb {
  width: 100%;
  height: 275px;
  position: relative;
  overflow: hidden;
}

.video-bg-frame {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s;
}

.testimonial-slide:hover .video-bg-frame {
  transform: scale(1.04);
}

.video-letter {
  font-size: 72px;
  opacity: 0.15;
  font-family: "Playfair Display", serif;
  font-weight: 900;
  color: var(--navy);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background: rgba(30,40,67,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  transition: transform .3s, background .3s;
  z-index: 2;
}

.testimonial-slide:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--navy);
}

.video-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,40,67,0.15), transparent);
}

.video-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(30,40,67,0.6);
}

/* testimonial body */
.testimonial-body {
  padding: 24px;
  background: #fff;
}

.testimonial-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  color: #444;
  line-height: 1.65;
  margin-bottom: 18px;
  position: relative;
}

.testimonial-quote::before {
  content: "\201C";
  font-size: 52px;
  color: rgba(30,40,67,0.1);
  position: absolute;
  top: -16px;
  left: -8px;
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-info-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

.author-info-role {
  font-size: 11px;
  color: #aaa;
}

/* written reviews title */
.written-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 70px 0 38px;
}

.written-title span {
  width: 120px;
  height: 1px;
  background: rgba(30,40,67,0.16);
}

.written-title p {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #aaa;
}

/* written review cards */
.written-reviews {
  display: flex;
  gap: 24px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.written-card {
  min-width: calc(33.33% - 16px);
  background: #fff;
  border-radius: 16px;
  padding: 34px 30px;
  box-shadow: 0 4px 24px rgba(30,40,67,0.07);
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}

.written-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(30,40,67,0.12);
}

@media (max-width: 900px) {
  .written-card {
    min-width: 100%;
  }
}

.stars {
  color: #f5b83b;
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.written-card p {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.7;
  color: #555;
  margin-bottom: 26px;
}

.written-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar.gold {
  background: #c8b98f;
}

.author-avatar.green {
  background: #9fc8b3;
}

.author-avatar.purple {
  background: #b8a4c8;
}

/* slider controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(30,40,67,0.2);
  color: var(--navy);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  user-select:none;
}

.slider-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.slider-dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(30,40,67,0.2);
  cursor: pointer;
  transition: all .3s;
}

.dot.active {
  background: var(--navy);
  width: 22px;
  border-radius: 3px;
}

/* responsive */
@media (max-width: 1000px) {
  .testimonials-track {
    flex-direction: column;
  }

  .testimonial-slide {
    min-width: 100%;
  }

  .written-reviews {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  #testimonials {
    padding: 90px 22px;
  }

  .video-thumb {
    height: 230px;
  }

  .written-title span {
    width: 70px;
  }
}

/* ─── CONTACT ─── */
#contact {
  padding: 130px 60px;
  background:
    radial-gradient(circle at 88% 12%, rgba(91, 78, 255, 0.38), transparent 28%),
    radial-gradient(circle at 4% 92%, rgba(120, 77, 255, 0.32), transparent 28%),
    linear-gradient(135deg, #111831 0%, #171f3c 45%, #30256c 100%);
  position: relative;
  overflow: hidden;
}

.contact-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
  padding: 70px 60px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}

.contact-left .section-eyebrow,
.contact-left .section-title,
.contact-left .about-text {
  color: #fff;
}

.contact-left .section-title .italic {
  color: #cfc4ff;
}

.contact-left .about-text {
  color: rgba(255,255,255,0.68);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 26px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 3px;
}

.contact-detail-value,
.contact-detail-value a {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

#contactForm {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group {
  width: 100%;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(255,255,255,0.58);
  font-weight: 600;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  color: var(--black);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #fff;
  background: rgba(255,255,255,0.82);
}

.form-group textarea {
  height: 145px;
  resize: vertical;
}

.send-btn {
  width: 100%;
  padding: 17px 30px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: .18em;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all .3s;
}

.send-btn:hover {
  background: #fff;
  color: var(--navy);
}

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    padding: 50px 28px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* ─── FOOTER ─── */
footer {
  background: linear-gradient(135deg, #1c2442 0%, #243055 100%);
  padding: 70px 60px 36px;
  position: relative;
}

/* layout */
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 52px;
}

/* brand */
.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .14em;
  color: #fff;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* social */
.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  cursor: pointer;   /* FIXED */
  transition: all .3s ease;
}

.social-link:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.15);
}

/* columns */
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}

/* links */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  cursor: pointer;   /* FIXED */
  transition: all .25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(6px);
}

/* bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* FORCE VISIBLE CURSOR IN FOOTER */
footer {
  cursor: default;
}

/* Make pointer visible on clickable elements */
footer a,
footer button,
footer .social-link {
  cursor: pointer;
}

/* Optional: slightly brighter hover feel */
footer a:hover,
footer .social-link:hover {
  cursor: pointer;
}
}

/* ─── DIVIDER ─── */
.divider{height:1px;background:linear-gradient(to right,transparent,rgba(0,0,0,0.08),transparent);margin:0 60px;}

/* ─── TOAST ─── */
#toast{position:fixed;bottom:32px;right:32px;background:var(--navy);color:#fff;padding:14px 24px;border-radius:10px;font-size:14px;font-weight:600;z-index:10000;transform:translateY(80px);opacity:0;transition:all .4s;box-shadow:0 8px 28px rgba(30,40,67,0.25);border:1px solid rgba(255,255,255,0.1);}
#toast.show{transform:translateY(0);opacity:1;}

/* ─── ANIMATIONS ─── */
.fade-up{opacity:0;transform:translateY(34px);transition:opacity .8s,transform .8s;}
.fade-up.visible{opacity:1;transform:translateY(0);}
.delay-1{transition-delay:.1s;}
.delay-2{transition-delay:.2s;}
.delay-3{transition-delay:.3s;}
.delay-4{transition-delay:.4s;}

/* ─── RESPONSIVE ─── */
@media(max-width:1100px){
  nav{padding:16px 30px;}
  #home{grid-template-columns:1fr;padding:110px 30px 60px;}
  .hero-visual{display:none;}
  #about{grid-template-columns:1fr;padding:80px 30px;gap:50px;}
  #services{padding:80px 30px;}.services-grid{grid-template-columns:1fr 1fr;}
  #projects{padding:80px 30px;}
  .projects-masonry{grid-template-columns:1fr 1fr;}
  .proj-1{grid-column:1/3;}.proj-6,.proj-7{grid-column:span 1;}
  .proj-2,.proj-3,.proj-4,.proj-5{grid-column:span 1;}
  #testimonials{padding:80px 30px;}
  .testimonial-slide{min-width:calc(70% - 12px);}
  #contact{padding:80px 30px;}
  .contact-inner{grid-template-columns:1fr;gap:44px;}
  footer{padding:50px 30px 30px;}
  .footer-inner{grid-template-columns:1fr 1fr;gap:36px;}
  .nav-links{gap:24px;}
}
@media(max-width:768px){
  nav{padding:14px 20px;}.nav-links{display:none;}
  .hero-title{font-size:40px;}
  .services-grid{grid-template-columns:1fr;}
  .form-row{flex-direction:column;}
  .footer-inner{grid-template-columns:1fr;}
  .projects-masonry{grid-template-columns:1fr;}
  .proj-1,.proj-2,.proj-3,.proj-4,.proj-5,.proj-6,.proj-7{grid-column:1;grid-row:auto;}
}
/* REPLACE FULL .about-collage SECTION */

.about-collage{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-template-rows:180px 180px 180px;
  gap:14px;

  width:100%;
  max-width:780px;
  margin-left:auto; /* moves collage right */
}

.collage-item{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  background:#f4f1ed;
  box-shadow:0 14px 34px rgba(30,40,67,0.12);
}

.collage-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .6s ease;
}

.collage-item:hover img{
  transform:scale(1.08);
}

/* layout */
.item-1{grid-column:1 / 3;grid-row:1 / 2;}
.item-2{grid-column:3 / 4;grid-row:1 / 3;}
.item-3{grid-column:1 / 2;grid-row:2 / 3;}
.item-4{grid-column:2 / 3;grid-row:2 / 3;}
.item-5{grid-column:1 / 2;grid-row:3 / 4;}
.item-6{grid-column:2 / 3;grid-row:3 / 4;}
.item-7{grid-column:3 / 4;grid-row:3 / 4;}

@media (max-width:768px){
  .about-collage{
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto;
    margin-left:0;
    max-width:100%;
  }

  .item-1,.item-2,.item-3,.item-4,.item-5,.item-6,.item-7{
    grid-column:auto;
    grid-row:auto;
    min-height:180px;
  }
}
/* ADD THIS AT VERY END OF style.css */

#about{
  grid-template-columns:minmax(520px,1fr) minmax(620px,780px) !important;
  align-items:start !important;
}

.about-visual{
  display:flex !important;
  justify-content:flex-end !important;
  align-items:flex-start !important;
  width:100% !important;
}

.about-collage{
  margin-left:auto !important;
  margin-right:0 !important;
  margin-top:60px !important; /* increase for more down */
  max-width:780px !important;
  width:100% !important;
}
/* ADD at end of style.css */

.testimonial-video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  cursor:pointer;
  background:#eaeaea;
}

.testimonial-play-btn{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  z-index:5;
  border:none;
  cursor:pointer;
}

.video-thumb.playing .testimonial-play-btn{
  opacity:0;
  pointer-events:none;
}

#about{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap:40px !important;
}

/* left text section */
.about-content{
  max-width:680px;
}

/* right collage section */
.about-visual{
  width:48% !important;
  flex:0 0 48% !important;

  display:flex !important;
  justify-content:flex-end !important;
  align-items:flex-start !important;

  margin-top:80px !important; /* increase for more down */
  padding-top:0 !important;
}

/* collage sizing */
.about-collage{
  width:100% !important;
  max-width:780px !important;
  margin:0 !important;
}

/* mobile */
@media(max-width:1100px){
  #about{
    flex-direction:column !important;
  }

  .about-content,
  .about-visual{
    width:100% !important;
    flex:100% !important;
  }

  .about-visual{
    justify-content:flex-start !important;
  }
}
.about-mini-label{
  font-size:14px;
  font-weight:600;
  letter-spacing:.08em;
  color:#888;
  margin-bottom:28px;
}

.about-heading{
  font-family:"Playfair Display",serif;
  font-size:72px;
  line-height:.96;
  font-weight:800;
  color:#111;
  margin-bottom:26px;
  letter-spacing:-.03em;
}

.about-subtext{
  font-size:19px;
  line-height:1.8;
  color:#666;
  max-width:620px;
  margin-bottom:38px;
}

.about-cta-row{
  display:flex;
  gap:18px;
  margin-bottom:42px;
}

.about-btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 34px;
  background:#111;
  color:#fff;
  border-radius:999px;
  text-decoration:none;
  font-size:15px;
  font-weight:600;
  transition:.3s ease;
}

.about-btn-primary:hover{
  transform:translateY(-3px);
}

.about-btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 34px;
  border:1px solid rgba(20,20,20,0.2);
  color:#111;
  border-radius:999px;
  text-decoration:none;
  font-size:15px;
  font-weight:600;
}

.about-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-top:25px;
}

.stat-block{
  border:none;
  padding-left:0;
}

.stat-num{
  font-size:54px;
  font-weight:800;
  color:#111;
  line-height:1;
}

.stat-label{
  font-size:15px;
  color:#777;
  margin-top:10px;
  letter-spacing:0;
  text-transform:none;
}
/* PERFECT PROJECT LINK STYLING */

.projects-header,
.projects-view-all,
.view-all-projects-btn{
  all:unset;
}

.projects-heading-block{
  margin-bottom:58px;
}

.projects-inline-link{
  display:inline-flex;
  align-items:center;
  gap:14px;

  margin-top:8px;

  font-family:"DM Sans",sans-serif;
  font-size:11px;
  font-weight:600;
  letter-spacing:.28em;
  text-transform:uppercase;

  color:#a6a6a6 !important;
  text-decoration:none !important;

  transition:all .35s ease;
  cursor:pointer;
}

.projects-inline-link::before{
  content:"";
  width:34px;
  height:1px;
  background:#cfcfcf;
  transition:all .35s ease;
}

.projects-inline-link::after{
  content:"→";
  font-size:13px;
  color:var(--navy);
  transition:all .35s ease;
}

.projects-inline-link:hover{
  color:var(--navy) !important;
  letter-spacing:.32em;
}

.projects-inline-link:hover::before{
  width:52px;
  background:var(--navy);
}

.projects-inline-link:hover::after{
  transform:translateX(5px);
}

/* ─── MOBILE OVERFLOW FIX ─── */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

@media(max-width:768px){
  nav {
    overflow: hidden;
  }

  .nav-links {
    display: none !important;
  }
}
@media(max-width:480px){
  .about-heading{font-size:24px;}
  .stat-num{font-size:36px;}
  #about{padding:60px 20px;}
}

/* TEAM SECTION */
.section-divider{
  height:12px;

  background:
    linear-gradient(
      to bottom,
      rgba(245,245,243,0),
      rgba(22, 39, 79, 0.12)
    );
border: 1px solid rgba(22, 39, 79, 0.12);
  position:relative;
  z-index:2;
}

#team{
  position:relative;
  padding:60px 5vw 90px;
  margin-top: 0;
  background:#faf9f6;
  overflow:hidden;
}

.team-bg-text{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  font-family:'Playfair Display',serif;
  font-size:clamp(120px,20vw,260px);
  font-weight:900;
  color:transparent;
  -webkit-text-stroke:1px rgba(0,0,0,0.04);
  pointer-events:none;
  user-select:none;
  white-space:nowrap;
  z-index:0;
}

/* Header */
.team-header{
  position:relative;
  z-index:3;
  max-width:1200px;
  margin:0 auto 55px;
  text-align:center;
}

#team .section-eyebrow,
#team .about-mini-label{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  color:#253354;
  font-family:'DM Sans',sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.28em;
  text-transform:uppercase;
  margin-bottom:24px;
}

#team .section-eyebrow::before,
#team .about-mini-label::before{
  content:"";
  width:60px;
  height:2px;
  background:#253354;
}

#team h2,
#team .team-title,
#team .about-heading{
  font-family:'Playfair Display',serif;
  font-size:clamp(48px,6.5vw,120px);
  font-weight:900;
  line-height:.95;
  letter-spacing:-.035em;
  color:#111;
  margin:0;
}

#team h2 span,
#team .italic-line,
#team .italic{
  display:block;
  font-family:'Playfair Display',serif;
  font-size:.78em;
  font-weight:900;
  color:#253354;
  margin-top:6px;
  line-height:.95;
}

/* IMPORTANT: removed #team p from here */
#team .team-intro,
#team .team-subtext,
#team .about-subtext{
  max-width:780px;
  margin:24px auto 0;
  font-family:'DM Sans',sans-serif;
  font-size:clamp(15px,1.1vw,20px);
  font-weight:400;
  line-height:1.65;
  color:#727272;
}

/* Grid */
.team-grid{
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:repeat(3, minmax(280px, 1fr));
  gap:28px;
  max-width:1260px;
  margin:55px auto 0;
  align-items:start;
}

/* Card */
.team-card{
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(37, 51, 84, 0.12);

  border-radius: 24px;
  overflow: hidden;

  min-height: 560px;
  display: flex;
  flex-direction: column;

  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.06),
    0 1px 2px rgba(15, 23, 42, 0.05);

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.team-card:hover{
  transform: translateY(-10px);

  border-color: rgba(37, 51, 84, 0.22);

  box-shadow:
    0 25px 60px rgba(15, 23, 42, 0.12),
    0 8px 20px rgba(15, 23, 42, 0.08);
}

/* Photo */
.team-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;  /* slightly above center — keeps face prominent */
  display: block;
  transition: transform 0.5s ease;
}
.team-photo-placeholder{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:linear-gradient(145deg,#f3f3f1,#dededb);
}

.team-initials{
  font-family:'Playfair Display',serif;
  font-size:2.5rem;
  font-weight:700;
  color:rgba(0,0,0,.17);
  letter-spacing:2px;
}

.photo-upload-hint{
  font-family:'DM Sans',sans-serif;
  font-size:.62rem;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:rgba(0,0,0,.32);
}

.team-role-badge{
  position:absolute;
  top:14px;
  right:14px;
  background:#253354;
  color:#fff;
  font-family:'DM Sans',sans-serif;
  font-size:.58rem;
  font-weight:700;
  letter-spacing:1.4px;
  text-transform:uppercase;
  padding:6px 13px;
  border-radius:20px;
}

/* Info */
.team-info{
  padding:20px 22px 22px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.team-role-label{
  font-family:'DM Sans',sans-serif;
  font-size:.62rem;
  font-weight:700;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color:#253354;
  margin-bottom:7px;
  opacity:.75;
}

.team-name{
  font-family:'Playfair Display',serif;
  font-size:1.35rem;
  font-weight:700;
  color:#253354;
  margin:0 0 12px;
  line-height:1.1;
}

/* Bio fixed */
#team .team-card .team-bio{
  font-family:'DM Sans',sans-serif !important;
  font-style:normal !important;
  font-size:18px !important;
  font-weight:400 !important;
  line-height:1.65 !important;
  color:#666 !important;
  letter-spacing:-.01em !important;
  margin:0 0 18px !important;
  max-width:95%;

  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Social icons */
.team-socials{
  display:flex;
  gap:10px;
  margin-top:auto;
}

.team-social-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border:1px solid rgba(37,51,84,.15);
  border-radius:50%;
  color:#253354;
  background:#fff;
  box-shadow:0 4px 12px rgba(20,28,45,.06);
  transition:all .25s ease;
}

.team-social-link:hover{
  background:#253354;
  color:#fff;
  transform:translateY(-2px);
}

/* CTA */
.team-cta{
  text-align:center;
  margin-top:55px;
  position:relative;
  z-index:1;
}

/* Tablet */
@media(max-width:1024px){
  .team-grid{
    grid-template-columns:repeat(2, minmax(280px, 1fr));
  }
}

/* Mobile */
@media(max-width:768px){
  #team{
    padding:90px 22px 70px;
  }

  .team-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .team-photo-wrap{
    height:280px;
  }

  .team-card{
    min-height:auto;
  }

  #team h2,
  #team .team-title,
  #team .about-heading{
    font-size:clamp(42px,11vw,64px);
  }

  #team .team-intro,
  #team .team-subtext,
  #team .about-subtext{
    font-size:15px;
    max-width:95%;
  }
}

/* PERFECT MOBILE RESPONSIVE FIX */

/* Tablet */
@media (max-width: 1024px){

  nav{
    padding:16px 28px !important;
  }

  #home{
    grid-template-columns:1fr !important;
    padding:130px 28px 70px !important;
    text-align:center;
    gap:50px;
  }

  .hero-content{
    max-width:100%;
  }

  .hero-sub{
    max-width:100%;
    margin:auto auto 40px;
  }

  .hero-actions{
    justify-content:center;
    flex-wrap:wrap;
  }

  .hero-visual{
    display:flex !important;
  }

  .hero-video-card{
    width:min(420px,100%);
  }

  #about{
    flex-direction:column !important;
    padding:90px 28px !important;
  }

  .about-content,
  .about-visual{
    width:100% !important;
    max-width:100% !important;
  }

  .about-heading{
    font-size:52px !important;
  }

  .projects-grid{
    grid-template-columns:1fr 1fr !important;
  }

  .services-grid{
    grid-template-columns:1fr 1fr !important;
  }

  .team-grid{
    grid-template-columns:1fr 1fr !important;
  }

  .contact-inner{
    grid-template-columns:1fr !important;
  }

  .footer-inner{
    grid-template-columns:1fr 1fr !important;
  }
}

/* Mobile */
@media (max-width: 768px){

  body{
    overflow-x:hidden !important;
  }

  section{
    overflow:hidden;
  }

  nav{
    padding:14px 18px !important;
  }

  .nav-links{
    display:none !important;
  }

  .nav-logo-text{
    font-size:17px;
  }

  #home{
    padding:120px 20px 60px !important;
    gap:40px;
    min-height:auto;
  }

  .hero-title{
    font-size:38px !important;
    line-height:1.08;
  }

  .hero-sub{
    font-size:15px;
    line-height:1.7;
  }

  .hero-actions{
    flex-direction:column;
    width:100%;
  }

  .btn-primary{
    width:100%;
    justify-content:center;
  }

  .hero-video-card{
    width:100%;
    border-radius:28px;
  }

  .video-inner{
    aspect-ratio:9/16;
  }

  .hero-badge{
    display:none;
  }

  #about{
    padding:70px 20px !important;
    gap:40px !important;
  }

  .about-heading{
    font-size:38px !important;
    line-height:1.1;
  }

  .about-subtext{
    font-size:15px !important;
    line-height:1.8;
  }

  .about-cta-row{
    flex-direction:column;
  }

  .about-btn-primary,
  .about-btn-secondary{
    width:100%;
    justify-content:center;
  }

  .about-stats{
    grid-template-columns:1fr !important;
    gap:22px;
  }

  .stat-num{
    font-size:38px !important;
  }

  .about-collage{
    grid-template-columns:1fr 1fr !important;
    gap:12px;
  }

  .collage-item{
    min-height:150px;
  }

  #services{
    padding:70px 20px !important;
  }

  .services-grid{
    grid-template-columns:1fr !important;
  }

  .service-card{
    min-height:auto;
  }

  #projects{
    padding:70px 20px !important;
  }

  .projects-header{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
  }

  .projects-grid{
    grid-template-columns:1fr !important;
  }

  .proj{
    height:auto;
  }

  .proj-thumb{
    height:260px;
  }

  #testimonials{
    padding:70px 20px 40px !important;
  }

  .testimonials-track{
    gap:18px;
  }

  .testimonial-slide{
    min-width:100% !important;
  }

  .video-thumb{
    height:240px;
  }

  .testimonial-body{
    padding:20px;
  }

  .testimonial-quote{
    font-size:15px;
  }

  .slider-controls{
    margin-top:30px;
  }

  .slider-btn{
    width:42px;
    height:42px;
  }

  #team{
    padding:70px 20px !important;
  }

  .team-grid{
    grid-template-columns:1fr !important;
    gap:20px;
  }

  .team-card{
    min-height:auto;
  }

  .team-photo-wrap{
    height:260px;
  }

  #team .team-card .team-bio{
    font-size:15px !important;
    line-height:1.7 !important;
  }

  #contact{
    padding:70px 20px !important;
  }

  .contact-inner{
    padding:30px 20px !important;
    border-radius:20px;
  }

  .form-row{
    flex-direction:column;
  }

  footer{
    padding:60px 20px 30px !important;
  }

  .footer-inner{
    grid-template-columns:1fr !important;
    gap:34px;
  }

  .footer-bottom{
    flex-direction:column;
    gap:12px;
    text-align:center;
  }

  .divider{
    margin:0 20px !important;
  }

}

/* Small phones */
@media (max-width: 480px){

  .hero-title{
    font-size:32px !important;
  }

  .section-title{
    font-size:30px !important;
  }

  .about-heading{
    font-size:30px !important;
  }

  #team h2{
    font-size:34px !important;
  }

  .team-name{
    font-size:22px !important;
  }

  .testimonial-quote{
    font-size:14px;
  }

  .video-thumb{
    height:220px;
  }

}
