/* components.css - UI Components, Cards, and Collage Layers */

/* --- BRANDING & NAV --- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.logo-monogram {
  font-family: var(--font-brush);
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  transform: rotate(-2deg);
  line-height: 1;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.logo-monogram:hover {
  color: var(--blue);
  transform: rotate(0deg) scale(1.05);
}

/* "Let's Talk ↗" Torn Black Paper Badge */
.nav-cta-talk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--ink);
  color: #ffffff;
  padding: 8px 18px;
  font-family: var(--font-hand);
  font-size: 17px;
  font-weight: 700;
  position: relative;
  transform: rotate(-1.5deg);
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.16);
  clip-path: polygon(
    2% 8%, 98% 3%, 99% 94%, 93% 98%, 45% 96%, 3% 92%
  );
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta-talk:hover {
  background-color: #222222;
  transform: rotate(0deg) scale(1.03);
  box-shadow: 3px 6px 14px rgba(0, 0, 0, 0.22);
}

.talk-sparkle {
  position: absolute;
  right: -14px;
  top: -8px;
  color: var(--ink);
  font-size: 13px;
}

/* --- HERO SECTION COMPONENTS --- */
.hero-hello {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.hero-name-block {
  position: relative;
  margin-bottom: 0px;
}

.hero-name {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-name-first {
  font-family: "Archivo Black", var(--font-sans);
  font-size: clamp(54px, 5.4vw, 78px);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: block;
  text-transform: uppercase;
  margin: 0;
  line-height: 0.85;
  position: relative;
  z-index: 1;
}

/* Authentic Warrior Brush Font Wordmark for BISWAS */
.hero-name-last,
.hero__surname {
  font-family: "BiswasBrush", sans-serif;
  font-size: clamp(74px, 7.6vw, 108px);
  font-weight: 400;
  color: var(--blue);
  line-height: 0.82;
  letter-spacing: 0.025em;
  display: block;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  margin-top: -0.13em; /* Organic overlap into lower third of NEELADRI */
  margin-left: 2px;
  transform: rotate(-1deg);
  transform-origin: left center;
  user-select: text;
  -webkit-user-select: text;
}

.hero-descriptor {
  font-family: var(--font-sans);
  font-size: clamp(12.5px, 1.1vw, 14px);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 16px;
  margin-bottom: 10px;
}

.hero-intro {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 440px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--ink);
  color: #ffffff;
  padding: 11px 24px;
  border-radius: 9999px; /* Pill capsule shape matching reference */
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-secondary-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 2px;
}

.btn-secondary-link:hover {
  color: var(--blue);
}

.hand-underline {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 8px;
  pointer-events: none;
}

/* --- ELONGATED WORK PAGE CARDS --- */
.work-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 32px;
  margin-bottom: 80px;
}

.work-card-elongated {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 40px;
  background-color: var(--surface-card, #ffffff);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--border-radius-md, 16px);
  padding: 40px 44px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  overflow: hidden;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.work-card-elongated:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(17, 17, 17, 0.25);
}

.work-card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.work-card-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.work-card-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue, #0055ff);
  letter-spacing: 0.1em;
}

.work-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #666666);
}

.work-card-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink, #111111);
  margin: 0;
  line-height: 1.15;
}

.work-card-quote {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue, #0055ff);
  line-height: 1.45;
  margin: 0;
}

.work-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #444444;
  margin: 0;
}

.work-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.work-card-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  background-color: var(--surface-subtle, #f2f2f2);
  color: var(--ink, #111111);
  padding: 5px 12px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.work-card-action {
  margin-top: 8px;
}

.work-card-visual {
  position: relative;
  width: 100%;
  height: 300px;
  background-color: #f7f7f8;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card-elongated:hover .work-card-visual img {
  transform: scale(1.03);
}

/* Custom UI Scaffolding Visual for WorkSmart / Vishwas cards */
.work-card-scaffold {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-family: var(--font-mono);
  box-sizing: border-box;
}

.scaffold-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.scaffold-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
}

.scaffold-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.06);
  font-size: 11px;
}

.scaffold-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-green { background: #10b981; }
.dot-blue { background: #0055ff; }
.dot-orange { background: #f59e0b; }

@media (max-width: 992px) {
  .work-card-elongated {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 28px;
  }
  .work-card-visual {
    height: 240px;
  }
}


/* --- FEATURED WORK PROJECT CARDS (Wide Editorial Tiles) --- */
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--border-radius-xs);
  padding: 16px;
  height: 252px;
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.project-card-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
  z-index: 5;
  position: relative;
}

.project-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.project-card-info {
  z-index: 5;
  position: relative;
  max-width: 52%;
}

.project-card-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-card-desc {
  font-size: 12px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.project-card-tag {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.project-card-footer {
  display: flex;
  align-items: center;
  margin-top: auto;
  z-index: 5;
  position: relative;
}

.btn-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.project-card:hover .btn-card-arrow {
  transform: translateX(3px);
}

/* Card Visual Area (70-75% Image Dominant) */
.project-card-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 68%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: transform var(--transition-normal);
}

.project-card:hover .project-card-visual {
  transform: scale(1.03);
}

/* Specific Card Themes */
/* 01: QuickHire */
.card-quickhire {
  background-color: #ffffff;
  color: var(--ink);
}

.card-quickhire .project-card-info {
  max-width: 28%;
}

.card-quickhire .project-card-num {
  color: var(--muted);
}

.card-quickhire .project-card-desc {
  color: var(--ink-soft);
}

.card-quickhire .project-card-tag {
  color: var(--muted);
}

.card-quickhire .btn-card-arrow {
  background-color: var(--ink);
  color: #ffffff;
}

.card-quickhire .project-card-visual {
  width: 75%;
  height: 100%;
  right: 0px;
  bottom: 0px;
  top: 0px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 100%);
}

.card-quickhire .project-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 85% center;
  transform: scale(1.10);
  transform-origin: right center;
  filter: drop-shadow(-2px 4px 12px rgba(0, 0, 0, 0.08));
}

.quickhire-slashes {
  position: absolute;
  bottom: 48px;
  left: 16px;
  width: 24px;
  height: 16px;
  z-index: 5;
}

/* 02: SIFT */
.card-sift {
  background-color: #0b0c0e;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}

.card-sift .project-card-info {
  max-width: 36%;
}

.card-sift .project-card-num {
  color: rgba(255, 255, 255, 0.5);
}

.card-sift .project-card-desc {
  color: rgba(255, 255, 255, 0.88);
}

.card-sift .project-card-tag {
  color: rgba(255, 255, 255, 0.65);
}

.card-sift .btn-card-arrow {
  background-color: #ffffff;
  color: #0b0c0e;
}

.card-sift .project-card-visual {
  width: 78%;
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 100%);
}

.card-sift .project-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 03: nudgeQ (Physical Anti-Procrastination Hardware Device) */
.card-nudgeq {
  background-color: #fcfbf8;
  color: var(--ink);
}

.card-nudgeq .project-card-info {
  max-width: 36%;
}

.card-nudgeq .project-card-num {
  color: var(--muted);
}

.card-nudgeq .project-card-desc {
  color: var(--ink-soft);
}

.card-nudgeq .project-card-tag {
  color: var(--muted);
}

.card-nudgeq .btn-card-arrow {
  background-color: var(--ink);
  color: #ffffff;
}

.card-nudgeq-q {
  color: var(--orange);
}

.card-nudgeq .project-card-visual {
  width: 72%;
  height: 100%;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  mask-image: linear-gradient(to right, transparent 0%, black 16%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 16%, black 100%);
}

.card-nudgeq .project-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 04: XR / Spatial */
.card-xr {
  background-color: #080d1a;
  color: #ffffff;
  border-color: rgba(21, 87, 255, 0.25);
}

.card-xr .project-card-info {
  max-width: 38%;
}

.card-xr .project-card-num {
  color: rgba(255, 255, 255, 0.5);
}

.card-xr .project-card-desc {
  color: rgba(255, 255, 255, 0.88);
}

.card-xr .project-card-tag {
  color: rgba(255, 255, 255, 0.65);
}

.card-xr .btn-card-arrow {
  background-color: #ffffff;
  color: #080d1a;
}

.card-xr .project-card-visual {
  width: 75%;
  mask-image: linear-gradient(to right, transparent 0%, black 18%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%, black 100%);
}

.card-xr .project-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* --- SECONDARY DISCOVERY MODULES (Editorial, Light, Borderless) --- */
.secondary-card {
  background-color: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(17, 17, 17, 0.015);
  border-radius: var(--border-radius-xs);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: visible;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.015);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
  text-decoration: none;
  height: 132px;
  min-height: 132px;
}

.secondary-card:hover {
  background-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.secondary-content {
  flex: 1;
  max-width: 58%;
  display: flex;
  flex-direction: column;
}

.secondary-header-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.secondary-icon {
  font-size: 16px;
  line-height: 1;
}

.secondary-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform var(--transition-fast);
}

.secondary-card:hover .secondary-title {
  transform: translateX(3px);
}

.secondary-subheading {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}

.secondary-desc {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.secondary-visual {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Module 1: Experiments Visual */
.experiments-visual-wrap {
  position: relative;
  width: 124px;
  height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.experiments-pcb-wrap {
  position: relative;
  width: 98px;
  height: 98px;
  background: #111111;
  clip-path: polygon(5% 7%, 95% 3%, 98% 95%, 4% 97%);
  box-shadow: 2px 6px 14px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-3deg);
}

.experiments-pcb-img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.sticky-experiments {
  position: absolute;
  top: 2px;
  right: -15px;
  background-color: var(--yellow);
  padding: 5px 6px;
  font-family: var(--font-hand);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  box-shadow: var(--shadow-sticky);
  transform: rotate(8deg);
  z-index: 5;
}

/* Module 2: Thoughts Visual */
.thoughts-visual-wrap {
  position: relative;
  width: 125px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thoughts-pad-img {
  width: 116px;
  height: auto;
  transform: rotate(3deg);
  filter: drop-shadow(2px 5px 10px rgba(0, 0, 0, 0.12));
}

/* Module 3: Playground Visual */
.playground-visual-wrap {
  position: relative;
  width: 128px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playground-toy-img {
  height: 115px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(2px 6px 14px rgba(0, 0, 0, 0.14));
  transform: rotate(-2deg);
}

.sticker-playground {
  position: absolute;
  bottom: -4px;
  right: -8px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--yellow);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-6deg);
  box-shadow: var(--shadow-sticky);
}

/* --- FOOTER COMPONENTS (Understated Editorial) --- */
.footer-col-left {
  max-width: 400px;
}

.footer-brand {
  font-family: var(--font-brush);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.footer-bio {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.footer-col-links {
  display: flex;
  gap: var(--space-10);
}

.footer-nav-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link {
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--blue);
}

.footer-bottom {
  width: 100%;
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* Understated Archival Link */
.footer-switch-v1 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  padding: 0;
  transition: color var(--transition-fast);
}

.footer-switch-v1:hover {
  color: var(--ink);
  background: none;
}
