:root {
  --ink:    #0E0E0E;
  --ink2:   #181818;
  --ink3:   #222222;
  --line:   #2A2A2A;
  --sand:   #C8B49A;
  --sand-l: #DDD0BC;
  --smoke:  #888888;
  --fog:    #F0EDE8;
  --cream:  #FAF8F5;
  --white:  #FFFFFF;
  --serif:  'Libre Baskerville', Georgia, serif;
  --sans:   'Syne', system-ui, sans-serif;
  --ease:   cubic-bezier(0.19, 1, 0.22, 1);
}

.elementor-widget-aaikya-hero-portfolio,
.elementor-widget-aaikya-ticker,
.elementor-widget-aaikya-portfolio-grid,
.elementor-widget-aaikya-cta-banner {
  font-family: var(--sans);
  color: var(--white);
  line-height: 1.6;
}

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.aaikya-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}
.aaikya-hero-bg-text {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--sans); font-size: clamp(120px,18vw,280px);
  font-weight: 800; letter-spacing: -0.05em;
  color: rgba(255,255,255,0.02);
  white-space: nowrap; pointer-events: none; user-select: none;
  line-height: 1;
}
.aaikya-hero-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  align-items: flex-end; gap: 60px;
  padding: 0 56px;
}
.aaikya-hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--sand);
  margin-bottom: 20px;
  opacity: 0; animation: riseUp 0.9s 0.1s var(--ease) forwards;
}
.aaikya-hero-eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--sand);
}
.aaikya-hero h1 {
  font-family: var(--serif); font-size: clamp(3.2rem,6vw,6rem);
  font-weight: 400; line-height: 1.05; color: var(--white);
  margin: 0;
  opacity: 0; animation: riseUp 0.9s 0.25s var(--ease) forwards;
}
.aaikya-hero h1 em {
  font-style: italic; color: var(--sand-l);
}
.aaikya-hero-sub {
  font-size: 0.95rem; font-weight: 400;
  color: rgba(255,255,255,0.35); max-width: 480px; line-height: 1.8;
  margin-top: 20px;
  opacity: 0; animation: riseUp 0.9s 0.4s var(--ease) forwards;
}
.aaikya-hero-meta {
  display: flex; flex-direction: column; gap: 0; align-items: flex-end;
  opacity: 0; animation: riseUp 0.9s 0.55s var(--ease) forwards;
}
.aaikya-meta-item {
  display: flex; flex-direction: column; align-items: flex-end;
  padding: 20px 0; border-bottom: 1px solid var(--line); width: 160px;
}
.aaikya-meta-item:last-child { border: none; }
.aaikya-meta-num {
  font-family: var(--serif); font-size: 2.8rem; color: var(--sand);
  font-weight: 400; line-height: 1;
}
.aaikya-meta-label {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-top: 4px;
}

@keyframes riseUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}

@media(max-width:1024px) {
  .aaikya-hero h1 { font-size: 3.5rem; }
}
@media(max-width:768px) {
  .aaikya-hero { padding: 120px 0 60px; }
  .aaikya-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .aaikya-hero-meta { flex-direction: row; align-items: flex-start; }
  .aaikya-meta-item { align-items: flex-start; border-bottom: none; border-right: 1px solid var(--line); padding: 0 24px 0 0; }
}

/* ─── TICKER ─────────────────────────────────────────────────────────────── */
.aaikya-ticker-wrap {
  overflow: hidden; padding: 16px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--sand); margin-bottom: 0;
}
.aaikya-ticker-inner {
  display: flex; gap: 0;
  animation: tickerScroll 30s linear infinite; width: max-content;
}
.aaikya-ticker-item {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap; padding: 0 32px;
  display: flex; align-items: center; gap: 12px;
}
.aaikya-ticker-dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--ink); opacity: 0.4;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── PORTFOLIO GRID ─────────────────────────────────────────────────────── */
.aaikya-portfolio-section {
  background: var(--ink);
}
.aaikya-filter-bar {
  padding: 0 56px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100; background: var(--ink);
}
.aaikya-filter-tabs {
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
}
.aaikya-filter-tabs::-webkit-scrollbar { display: none; }
.aaikya-ftab {
  background: none; border: none; cursor: pointer; padding: 20px 24px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); position: relative; white-space: nowrap;
  transition: color 0.25s;
}
.aaikya-ftab::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--sand);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.aaikya-ftab:hover { color: rgba(255,255,255,0.7); }
.aaikya-ftab.active { color: var(--sand); }
.aaikya-ftab.active::after { transform: scaleX(1); }

.aaikya-filter-count {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.2); white-space: nowrap; padding: 0 0 0 24px;
}
.aaikya-vis-count { color: var(--sand); font-weight: 700; }

.aaikya-view-toggle {
  display: flex; gap: 4px; align-items: center; padding-left: 20px;
  border-left: 1px solid var(--line); margin-left: 20px;
}
.aaikya-vtbtn {
  background: none; border: none; cursor: pointer; padding: 8px;
  color: rgba(255,255,255,0.25); transition: color 0.25s; border-radius: 2px;
}
.aaikya-vtbtn.active, .aaikya-vtbtn:hover { color: var(--sand); }

.aaikya-portfolio-wrap {
  max-width: 1400px; margin: 0 auto; padding: 64px 56px 120px;
}
.aaikya-grid {
  columns: 3; column-gap: 3px; transition: opacity 0.3s;
}
.aaikya-grid.list-view { columns: 1; }

.aaikya-proj-card {
  break-inside: avoid; margin-bottom: 3px; position: relative; overflow: hidden;
  background: var(--ink2); display: block;
  opacity: 1; transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.4s;
}
.aaikya-proj-card.hidden { display: none; }
.aaikya-proj-card.dim { opacity: 0.25; filter: grayscale(1); }

/* Aspect ratios */
.aaikya-proj-card:nth-child(3n+1) .aaikya-card-vis { aspect-ratio: 3/4; }
.aaikya-proj-card:nth-child(3n+2) .aaikya-card-vis { aspect-ratio: 4/5; }
.aaikya-proj-card:nth-child(3n)   .aaikya-card-vis { aspect-ratio: 1/1; }
.aaikya-proj-card.wide             .aaikya-card-vis { aspect-ratio: 16/9; }
.aaikya-proj-card.tall             .aaikya-card-vis { aspect-ratio: 2/3; }

/* List view overrides */
.aaikya-grid.list-view .aaikya-card-vis { aspect-ratio: auto; height: 100px; }
.aaikya-grid.list-view .aaikya-proj-card {
  display: grid; grid-template-columns: 100px 1fr; align-items: center;
  break-inside: auto; margin-bottom: 1px;
}
.aaikya-grid.list-view .aaikya-card-info {
  position: static; padding: 20px 28px; display: flex; align-items: center; justify-content: space-between;
  background: var(--ink2);
}
.aaikya-grid.list-view .aaikya-card-num { display: none; }
.aaikya-grid.list-view .aaikya-card-arrow { display: flex; }
.aaikya-grid.list-view .aaikya-card-title { font-size: 1rem; margin-bottom: 0;}
.aaikya-grid.list-view .aaikya-card-loc { display: block; margin-top:4px;}
.aaikya-grid.list-view .aaikya-card-type-pill { display: none; }
.aaikya-grid.list-view .aaikya-card-meta-row { display: flex; align-items: center; gap: 16px; }

.aaikya-card-vis { position: relative; overflow: hidden; width: 100%; }
.aaikya-card-bg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  transition: transform 0.8s var(--ease);
}
.aaikya-proj-card:hover .aaikya-card-bg { transform: scale(1.04); }

.aaikya-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(14,14,14,0.5) 65%, rgba(14,14,14,0.92) 100%);
  transition: opacity 0.4s;
}
.aaikya-proj-card:hover .aaikya-card-overlay { opacity: 1.3; }

.aaikya-card-num {
  position: absolute; top: 20px; left: 20px; font-family: var(--serif); font-size: 0.8rem;
  color: rgba(255,255,255,0.25); font-style: italic; z-index: 2;
}

.aaikya-card-type-pill {
  position: absolute; top: 18px; right: 18px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; z-index: 2; backdrop-filter: blur(8px);
}
.pill-residential { background: rgba(200,180,154,0.15); color: var(--sand-l); border: 1px solid rgba(200,180,154,0.2); }
.pill-villa       { background: rgba(255,220,100,0.1); color: #FFDF6B; border: 1px solid rgba(255,220,100,0.15); }
.pill-hospitality { background: rgba(100,180,255,0.1); color: #7EC8FF; border: 1px solid rgba(100,180,255,0.15); }
.pill-turnkey     { background: rgba(150,255,180,0.08); color: #90FFB4; border: 1px solid rgba(150,255,180,0.12); }
.pill-default     { background: rgba(255,255,255,0.1); color: #FFF; border: 1px solid rgba(255,255,255,0.2); }

.aaikya-card-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 22px; z-index: 3;
}
.aaikya-card-title {
  font-family: var(--serif); font-size: 1.2rem; color: var(--white); font-weight: 400;
  margin: 0 0 6px 0; line-height: 1.2;
}
.aaikya-card-loc {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4); text-transform: uppercase; display: none;
}
.aaikya-proj-card:hover .aaikya-card-loc { display: block; }

.aaikya-card-status {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 6px;
}
.aaikya-status-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--sand);
  animation: pulse 2s ease-in-out infinite;
}
.aaikya-status-dot.complete { background: #90FFB4; animation: none; }

@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

.aaikya-card-hover-bar {
  position: absolute; bottom: 0; left: 0; right: 0; background: var(--sand);
  padding: 14px 22px; display: flex; align-items: center; justify-content: space-between;
  transform: translateY(100%); transition: transform 0.4s var(--ease); z-index: 4;
}
.aaikya-proj-card:hover .aaikya-card-hover-bar { transform: none; }
.aaikya-hover-text {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.aaikya-hover-arrow {
  font-size: 1.2rem; color: var(--ink); transition: transform 0.3s;
}
.aaikya-proj-card:hover .aaikya-hover-arrow { transform: translateX(4px); }

.aaikya-card-arrow {
  display: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--sand); align-items: center; gap: 6px; white-space: nowrap;
}
.aaikya-card-arrow svg {
  fill: currentColor;
}

.aaikya-empty-state {
  display: none; text-align: center; padding: 80px 0; color: rgba(255,255,255,0.25);
}
.aaikya-empty-state.show { display: block; }
.aaikya-empty-state h3 {
  font-family: var(--serif); font-size: 2rem; color: rgba(255,255,255,0.1); margin-bottom: 8px; margin-top:0;
}
.aaikya-empty-state p { font-size: 0.88rem; margin:0;}

@media(max-width:1024px) {
  .aaikya-grid { columns: 2; }
}
@media(max-width:768px) {
  .aaikya-filter-bar { padding: 0 24px; }
  .aaikya-portfolio-wrap { padding: 40px 24px 80px; }
  .aaikya-grid { columns: 1; }
}

/* ─── CTA BANNER ─────────────────────────────────────────────────────────── */
.aaikya-cta-banner {
  background: var(--cream); padding: 100px 56px; text-align: center;
}
.aaikya-cta-banner .aaikya-inner { max-width: 640px; margin: 0 auto; }
.aaikya-cta-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sand); margin-bottom: 16px;
}
.aaikya-cta-h {
  font-family: var(--serif); font-size: clamp(2rem,4vw,3.2rem);
  color: var(--ink); font-weight: 400; line-height: 1.15; margin: 0 0 16px;
}
.aaikya-cta-h em { font-style: italic; color: var(--sand); }
.aaikya-cta-p {
  font-size: 0.95rem; color: var(--smoke); line-height: 1.8; margin: 0 0 40px; font-weight: 400;
}
.aaikya-cta-btns { display: flex; gap: 16px; justify-content: center; }
.aaikya-btn-dark {
  background: var(--ink); color: var(--white); padding: 15px 40px; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  font-family: var(--sans); transition: background 0.3s; display: inline-block; text-decoration: none; border-radius: 0; outline: none; border: none;
}
.aaikya-btn-dark:hover { background: var(--ink3); color: var(--white); }
.aaikya-btn-sand {
  background: transparent; color: var(--ink); border: 1px solid rgba(0,0,0,0.25);
  padding: 15px 36px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; font-family: var(--sans); transition: border-color 0.3s, color 0.3s; display: inline-block; text-decoration: none; border-radius: 0;
}
.aaikya-btn-sand:hover { border-color: var(--sand); color: var(--sand); }

@media(max-width:768px) {
  .aaikya-cta-banner { padding: 72px 24px; }
  .aaikya-cta-btns { flex-direction: column; align-items: center; gap: 16px;}
  .aaikya-btn-dark, .aaikya-btn-sand { width: 100%; max-width: 300px; padding: 15px 0;}
}
