/* ============================================================
   IGNYSS — Founder Page Styles
   Premium profile experience for Vansh Joshi
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────── */
.f-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.f-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.f-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244,115,42,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,115,42,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%, black 10%, transparent 70%);
}

.f-hero__orbs {
  position: absolute;
  inset: 0;
}

.f-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--gutter);
}

.f-hero__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.f-hero__portrait {
  display: flex;
  justify-content: center;
  position: relative;
}

.f-hero__portrait-frame {
  width: 280px;
  height: 280px;
  border-radius: var(--r-2xl);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.f-hero__portrait-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-deep), var(--bg-elevated));
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.f-hero__portrait-text {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  font-weight: var(--fw-black);
  background: var(--grad-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}

.f-hero__portrait-ring {
  position: absolute;
  inset: -4px;
  border-radius: var(--r-2xl);
  border: 1px solid rgba(244,115,42,0.12);
  animation: rotate-slow 25s linear infinite;
  z-index: 1;
}

.f-hero__portrait-ring--2 {
  inset: -18px;
  border-color: rgba(91,140,255,0.06);
  border-style: dashed;
  animation-duration: 35s;
  animation-direction: reverse;
}

.f-hero__portrait-ring--3 {
  inset: -32px;
  border-color: rgba(232,168,56,0.04);
  animation-duration: 50s;
}

.f-hero__text {
  opacity: 0;
  animation: heroTitleIn 1s var(--ease-out-expo) 0.3s forwards;
}

.f-hero__overline {
  display: inline-block;
  font-size: var(--fs-overline);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--orange);
  margin-bottom: 1rem;
}

.f-hero__name {
  font-size: clamp(2.8rem, 1.5rem + 5.5vw, 6rem);
  font-weight: var(--fw-black);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
}

.f-hero__subtitle {
  font-size: var(--fs-body-lg);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 1.2rem;
}

.f-hero__dot {
  display: inline-block;
  margin: 0 0.5rem;
  color: var(--orange);
}

.f-hero__divider {
  width: 60px;
  height: 2px;
  background: var(--grad-orange);
  margin-bottom: 1.5rem;
}

.f-hero__quote {
  font-size: var(--fs-body-xl);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
  font-style: italic;
  max-width: 560px;
  margin-bottom: 2rem;
}

.f-hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-ghost);
}

.f-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.f-hero__stat-num {
  font-size: var(--fs-h3);
  font-weight: var(--fw-black);
  line-height: 1;
}

.f-hero__stat-label {
  font-size: var(--fs-caption);
  color: var(--c-dim);
  font-weight: var(--fw-medium);
}

/* ── About ─────────────────────────────────────────────── */
.f-about__layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: var(--r-xl);
}

.f-about__card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  position: sticky;
  top: 120px;
}

.f-about__years-num {
  font-size: clamp(3rem, 2rem + 3vw, 5.5rem);
  font-weight: var(--fw-black);
  line-height: 1;
  display: block;
}

.f-about__years-label {
  display: block;
  font-size: var(--fs-small);
  color: var(--c-muted);
  margin-top: 0.5rem;
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
}

.f-about__text {
  font-size: var(--fs-body);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 1.2rem;
  max-width: 700px;
}

.f-about__text--accent {
  color: var(--c-body);
  border-left: 2px solid var(--orange);
  padding-left: 1.5rem;
  margin-top: 1.5rem;
}

.f-about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.f-about__tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: var(--r-full);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  color: var(--c-muted);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-out-expo);
}

.f-about__tag:hover {
  border-color: var(--border-accent);
  color: var(--orange);
}

/* ── Expertise Node Visualization ──────────────────────── */
.f-expertise__canvas-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, rgba(8,8,15,0.6), rgba(14,14,26,0.4));
  border: 1px solid var(--border-ghost);
}

#expertise-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.f-expertise__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  pointer-events: none;
}

.f-expertise__center-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(244,115,42,0.2);
  animation: pulse-glow 4s ease-in-out infinite;
}

.f-expertise__center-name {
  display: block;
  font-size: var(--fs-h5);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  line-height: var(--lh-snug);
  position: relative;
  z-index: 2;
}

.f-expertise__detail {
  max-width: 700px;
  margin: 2rem auto 0;
  text-align: center;
  min-height: 120px;
  transition: opacity 0.4s var(--ease-out-expo);
}

.f-expertise__detail-inner {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease-out-expo);
}

.f-expertise__detail.active .f-expertise__detail-inner {
  opacity: 1;
  transform: translateY(0);
}

.f-expertise__detail-num {
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  display: block;
  margin-bottom: 0.5rem;
}

.f-expertise__detail-title {
  font-size: var(--fs-h5);
  font-weight: var(--fw-semibold);
  margin-bottom: 0.5rem;
}

.f-expertise__detail-desc {
  font-size: var(--fs-small);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
  max-width: 550px;
  margin: 0 auto;
}

/* ── Project Showcase ──────────────────────────────────── */
.f-project {
  margin-bottom: 4rem;
}

.f-project:last-child {
  margin-bottom: 0;
}

.f-project__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  transition: all 0.5s var(--ease-out-expo);
}

.f-project__layout:hover {
  border-color: var(--border-accent);
  box-shadow: 0 16px 64px rgba(0,0,0,0.3);
}

.f-project--reverse .f-project__layout {
  direction: rtl;
}

.f-project--reverse .f-project__layout > * {
  direction: ltr;
}

.f-project__visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.f-project__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-deep), var(--bg-elevated));
}

.f-project__image-placeholder--blue {
  background: linear-gradient(135deg, rgba(91,140,255,0.03), var(--bg-elevated));
}

.f-project__image-placeholder--gold {
  background: linear-gradient(135deg, rgba(232,168,56,0.03), var(--bg-elevated));
}

.f-project__image-placeholder--violet {
  background: linear-gradient(135deg, rgba(139,92,246,0.03), var(--bg-elevated));
}

.f-project__badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
  font-size: var(--fs-overline);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  background: var(--glow-orange);
  color: var(--orange);
  backdrop-filter: blur(12px);
  z-index: 2;
}

.f-project__badge--blue { background: var(--glow-blue); color: var(--blue); }
.f-project__badge--gold { background: var(--glow-gold); color: var(--gold); }
.f-project__badge--violet { background: var(--glow-violet); color: var(--violet); }

.f-project__overline {
  display: inline-block;
  font-size: var(--fs-overline);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--orange);
  margin-bottom: 0.8rem;
}

.f-project__title {
  font-size: var(--fs-h3);
  margin-bottom: 0.8rem;
  line-height: var(--lh-snug);
}

.f-project__desc {
  font-size: var(--fs-body);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 1.5rem;
}

.f-project__meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.f-project__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.f-project__meta-label {
  font-size: var(--fs-overline);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--c-dim);
}

.f-project__meta-value {
  font-size: var(--fs-small);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
}

.f-project__meta-value--accent {
  color: var(--orange);
  font-weight: var(--fw-semibold);
}

/* ── Philosophy — Cinematic Storytelling ───────────────── */
.f-philosophy {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.f-philosophy__bg {
  position: absolute;
  inset: 0;
  background: var(--bg-deep);
  z-index: -1;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}

.f-philosophy__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.f-philosophy__overline {
  display: inline-block;
  font-size: var(--fs-overline);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--orange);
  margin-bottom: 2.5rem;
}

.f-philosophy__lines {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.f-philosophy__line {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--c-ghost);
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-ghost);
  line-height: var(--lh-snug);
  transition: color 0.5s var(--ease-out-expo),
              transform 0.5s var(--ease-out-expo);
}

.f-philosophy__line--1 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
}

.f-philosophy__line--2 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  border-bottom-color: var(--border-subtle);
}

.f-philosophy__line--dim {
  color: var(--c-dim);
  font-size: var(--fs-h5);
  font-weight: var(--fw-medium);
}

.f-philosophy__line--final {
  border-bottom: none;
  margin-top: 2rem;
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  background: var(--grad-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 1.5rem 0;
  line-height: var(--lh-snug);
}

/* ── Vision ────────────────────────────────────────────── */
.f-vision__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.f-vision__desc {
  font-size: var(--fs-body-lg);
  color: var(--c-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: 1rem;
  max-width: 520px;
}

.f-vision__visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.f-vision__svg {
  position: absolute;
  inset: 0;
}

/* ── CTA Tags ──────────────────────────────────────────── */
.f-cta__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.f-cta__tag {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-full);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  color: var(--c-muted);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease-out-expo);
}

.f-cta__tag:hover {
  border-color: var(--border-accent);
  color: var(--orange);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1080px) {
  .f-hero__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .f-hero__portrait { order: -1; }
  .f-hero__quote { margin: 0 auto 2rem; }
  .f-hero__divider { margin: 0 auto 1.5rem; }
  .f-hero__stats { justify-content: center; }
  .f-about__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .f-about__card {
    position: static;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
  }
  .f-project__layout,
  .f-project--reverse .f-project__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
  .f-vision__layout { grid-template-columns: 1fr; gap: 3rem; }
  .f-vision__visual { max-width: 420px; margin: 0 auto; }
  .f-expertise__canvas-wrap { height: 500px; }
}

@media (max-width: 768px) {
  .f-hero__portrait-frame { width: 220px; height: 220px; }
  .f-hero__subtitle { font-size: var(--fs-small); }
  .f-hero__subtitle .f-hero__dot { display: block; margin: 0.2rem 0; }
  .f-hero__stats { flex-direction: column; gap: 1.2rem; align-items: center; }
  .f-project__layout { padding: 1.5rem; }
  .f-philosophy__line { font-size: var(--fs-h5); }
  .f-philosophy__line--1,
  .f-philosophy__line--2 { font-size: var(--fs-h4); }
  .f-philosophy__line--dim { font-size: var(--fs-body-lg); }
  .f-expertise__canvas-wrap { height: 420px; }
  .f-expertise__center-name { font-size: var(--fs-body); }
}

@media (max-width: 480px) {
  .f-hero__portrait-frame { width: 180px; height: 180px; }
  .f-hero__portrait-ring { inset: -3px; }
  .f-hero__portrait-ring--2 { inset: -12px; }
  .f-hero__portrait-ring--3 { inset: -22px; }
  .f-expertise__canvas-wrap { height: 360px; }
  .f-project__layout { padding: 1.2rem; }
}
