/* ============================================================================
   Founder profile  (/about-us/nitin-jain/)  +  the founder card on /about-us/
   Built on the v3 tokens (cogent-v3.css): light bands re-define the colour
   tokens, so every component here follows the band it sits in.
   ========================================================================== */

.fd-page h2 { margin: 0 0 1.75rem; color: var(--ink); }
/* the site's gradient rule under section headings (cogent-v3 only adds it to an h2 directly in .container) */
.fd-about-grid > h2::after, .fd-head-row > h2::after { content: ""; display: block; width: 64px; height: 3px; margin-top: .9rem; border-radius: 3px; background: var(--grad-2); }
.fd-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* buttons */
.fd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.6rem; border-radius: var(--r-pill);
  font-family: var(--font-head) !important; font-weight: 600; font-size: 1rem; line-height: 1.2;
  color: #fff !important; background: var(--grad-2); box-shadow: var(--glow); text-decoration: none !important;
  transition: transform var(--t2) var(--ease), box-shadow var(--t2) var(--ease);
}
.fd-btn:hover { transform: translateY(-2px); box-shadow: var(--glow-lg); color: #fff !important; }
.fd-btn i { font-size: .9em; }
.fd-btn--ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--line-3); }
.fd-btn--ghost:hover { color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--pink); }
.fd-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* 1. hero */
.fd-hero { position: relative; isolation: isolate; padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(3rem, 6vw, 5rem) !important; }
.fd-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 70% at 80% 40%, rgba(227,69,118,.18), transparent 70%), radial-gradient(50% 80% at 10% 10%, rgba(91,79,176,.28), transparent 65%);
}
.fd-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 clamp(1.5rem, 4vw, 3rem); padding: 0; font-size: .88rem; }
.fd-crumbs li { color: var(--ink-3); }
.fd-crumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--ink-3); }
.fd-crumbs :is(li, a) { font-size: .88rem !important; line-height: 1.5; }
.fd-crumbs a { color: var(--ink-2) !important; text-decoration: none; }
.fd-crumbs a:hover { color: var(--ink) !important; text-decoration: underline; }
.fd-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.fd-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; min-width: 0; }
.fd-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: var(--r-pill); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }
.fd-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-2); }
.fd-hero h1 { margin: 0; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.3rem); font-weight: 700; line-height: 1.04; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.fd-sub { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); font-weight: 600; color: var(--ink) !important; }
.fd-sub .fd-nw { white-space: nowrap; }
.fd-sub .fd-dot { color: var(--pink); margin-left: .35rem; }
.fd-socials { list-style: none; display: flex; gap: .6rem; margin: .25rem 0 0; padding: 0; }
.fd-socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  color: var(--ink-2) !important; background: var(--surface-2); border: 1px solid var(--line-2); text-decoration: none;
  transition: background var(--t2) var(--ease), color var(--t2) var(--ease), transform var(--t2) var(--ease);
}
.fd-socials a:hover { color: #fff !important; background: var(--grad-2); border-color: transparent; transform: translateY(-2px); }
.fd-hero-photo { display: flex; justify-content: flex-start; order: -1; }
.fd-photo-ring {
  position: relative; width: min(56vw, 240px); aspect-ratio: 1; border-radius: var(--r-xl); padding: 5px;
  background: conic-gradient(from 210deg, #383070, #E34576, #F29C48, #7C6CF0, #383070); box-shadow: var(--glow-lg);
}
.fd-photo-ring::after { content: ""; position: absolute; inset: -14px; border-radius: calc(var(--r-xl) + 12px); border: 1px dashed rgba(255,255,255,.16); pointer-events: none; }
.fd-photo-ring img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r-xl) - 5px); background: var(--surface-2); }
@media (min-width: 992px) {
  .fd-hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 4rem; }
  .fd-hero-photo { justify-content: flex-end; order: 0; }
  .fd-photo-ring { width: 380px; }
}

/* 2. about */
.fd-about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.fd-prose { display: flex; flex-direction: column; gap: 1.1rem; max-width: 72ch; }
.fd-prose p { font-size: 1.07rem; line-height: 1.8; color: var(--ink-2); }
.fd-prose a { color: var(--accent) !important; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 992px) {
  .fd-about-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 3rem; }
  .fd-about-grid h2 { margin: 0; }
}

/* 3. numbers */
.fd-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fd-stat {
  display: flex; flex-direction: column; gap: .45rem; padding: 1.4rem 1.5rem; border-radius: var(--r-lg);
  border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-border) border-box;
}
.fd-stat-num { font-family: var(--font-head) !important; font-size: clamp(2.1rem, 1.6rem + 1.6vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fd-stat-label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.fd-stat:first-child { background: var(--grad-2); border: 0; box-shadow: var(--glow); }
.fd-stat:first-child .fd-stat-num { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.fd-stat:first-child .fd-stat-label { color: rgba(255,255,255,.92); }
.fd-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 768px) { .fd-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fd-stat:last-child:nth-child(odd) { grid-column: auto; } }
@media (min-width: 1200px) { .fd-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* 4. timeline (shown once the years are confirmed) */
.fd-timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--line-2); display: flex; flex-direction: column; gap: 1.4rem; max-width: 720px; }
.fd-timeline li { position: relative; }
.fd-timeline li::before { content: ""; position: absolute; left: calc(-1.5rem - 7px); top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--grad-2); }
.fd-tl-year { display: block; font-family: var(--font-head) !important; font-weight: 700; color: var(--ink); }

/* 5. expertise */
.fd-skills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.fd-skill {
  display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.35rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--sh-sm);
}
.fd-skill-ico { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad-2); color: #fff; font-size: 1.25rem; box-shadow: var(--glow); }
.fd-skill h3 { margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
@media (min-width: 640px) { .fd-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) {
  .fd-skills { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .fd-skill { flex-direction: column; align-items: flex-start; padding: 1.5rem 1.35rem 1.6rem; }
}

/* 6. brands + case studies */
.fd-logos { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.fd-logos li { border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: var(--sh-sm); }
.fd-logos img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
@media (min-width: 576px) { .fd-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1200px) { .fd-logos { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

.fd-cases { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.fd-case {
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; text-decoration: none !important;
  border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-border) border-box;
  transition: transform var(--t2) var(--ease), box-shadow var(--t2) var(--ease);
}
.fd-case:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.fd-case-media { display: block; aspect-ratio: 8 / 5; overflow: hidden; background: var(--surface-2); }
.fd-case-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t3) var(--ease); }
.fd-case:hover .fd-case-media img { transform: scale(1.04); }
.fd-case-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.fd-case-client { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.fd-case-title { font-family: var(--font-head) !important; font-size: 1.1rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.fd-case-go { margin-top: auto; padding-top: .4rem; font-size: .92rem; font-weight: 700; color: var(--ink-2); }
.fd-case-go i { margin-left: .3rem; font-size: .85em; transition: transform var(--t2) var(--ease); }
.fd-case:hover .fd-case-go i { transform: translateX(3px); }
@media (min-width: 640px) { .fd-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .fd-cases { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 7. media */
.fd-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.fd-media-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); text-decoration: none !important; }
.fd-media-card img { height: 36px; width: auto; align-self: flex-start; }
.fd-media-source { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.fd-media-title { font-weight: 600; color: var(--ink); }

/* 8. videos */
.fd-video-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 768px) { .fd-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fd-video, .fd-video-grid iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--r-lg); overflow: hidden; background: #000; cursor: pointer; }
.fd-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.fd-video-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--grad-2); color: #fff; font-size: 1.3rem; box-shadow: var(--glow); }

/* 9. latest articles */
.fd-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.fd-head-row h2 { margin: 0; }
.fd-posts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 640px) { .fd-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fd-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fd-post { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--sh-sm); transition: transform var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
.fd-post:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.fd-post-media { display: block; aspect-ratio: 3 / 2; background: var(--surface-2); overflow: hidden; }
.fd-post-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fd-post-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.25rem 1.35rem; }
.fd-post-body time { font-size: .82rem; font-weight: 600; color: var(--ink-3); }
.fd-post-body h3 { margin: 0; font-size: 1.08rem; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.fd-post-body h3 a { color: var(--ink) !important; text-decoration: none; }
.fd-post-body h3 a::after { content: ""; position: absolute; inset: 0; }
.fd-post { position: relative; }
.fd-post-body h3 a:hover { color: var(--accent) !important; }

/* 10. CTA */
.fd-cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--r-xl); border: 1px solid transparent;
  background: linear-gradient(150deg, rgba(56,48,112,.5), rgba(17,17,27,.98) 60%) padding-box, var(--grad-border) border-box;
  box-shadow: var(--sh-lg);
}
.fd-cta h2 { margin: 0; max-width: 22ch; }
@media (min-width: 992px) { .fd-cta { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------------------------------------------------------------------------
   Founder card on /about-us/ (sits inside the dark lead band)
   ------------------------------------------------------------------------- */
a.fd-card {
  display: flex; align-items: center; gap: 1.25rem; padding: 1.1rem 1.4rem; border-radius: var(--r-lg); text-decoration: none !important;
  border: 1px solid transparent; background: linear-gradient(150deg, rgba(56,48,112,.45), rgba(17,17,27,.98) 60%) padding-box, var(--grad-border) border-box;
  transition: transform var(--t2) var(--ease), box-shadow var(--t2) var(--ease);
}
a.fd-card:hover { transform: translateY(-3px); box-shadow: var(--glow); }
/* the About Us hero is a 2-column grid: the card spans both columns, under the text and the team photo */
.co-about .about-our-agency > .container > .fd-card-row { grid-column: 1 / -1; }
a.fd-card img:not(#_) { flex: 0 0 auto; width: 84px; height: 84px; aspect-ratio: 1; border-radius: 50% !important; object-fit: cover; padding: 3px; background: conic-gradient(from 210deg, #383070, #E34576, #F29C48, #7C6CF0, #383070); }
.fd-card-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.fd-card-role { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.fd-card-name { font-family: var(--font-head) !important; font-size: 1.35rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.fd-card-line { font-size: .95rem; color: var(--ink-2); }
.fd-card-go { margin-left: auto; flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; color: var(--ink); white-space: nowrap; }
@media (max-width: 575.98px) { a.fd-card { flex-wrap: wrap; } .fd-card-go { margin-left: 0; } }
