:root {
  --paper: #f4f5f1;
  --surface: #fff;
  --ink: #111a22;
  --muted: #5c6873;
  --line: #d9dfdc;
  --teal: #16758a;
  --sage: #4f8555;
  --gold: #9b7007;
  --orange: #b65516;
  --red: #b4343c;
  --heading: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --rainbow: linear-gradient(100deg, var(--teal), var(--sage) 25%, var(--gold) 52%, var(--orange) 74%, var(--red));
  --shadow: 0 18px 60px rgba(17, 26, 34, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { min-width: 320px; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.page { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }

.site-header { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand-link { display: inline-flex; align-items: center; }
.logo-img { display: block; width: auto; height: 29px; }
.header-mission { min-width: 0; text-align: right; }
.header-mission strong, .header-mission span { display: block; white-space: nowrap; }
.header-mission strong { background: var(--rainbow); background-clip: text; color: transparent; font-family: var(--heading); font-size: .95rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.header-mission span { margin-top: 3px; color: var(--muted); font-size: .68rem; letter-spacing: .01em; line-height: 1.25; }

.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 28px; }
.section-heading h2 { max-width: 730px; font-family: var(--heading); font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 800; letter-spacing: -.04em; line-height: .98; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.feature-card { display: grid; min-width: 0; min-height: 154px; grid-template-columns: 180px minmax(0, 1fr) 58px; align-items: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255, .78); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.feature-card:hover { border-color: #bdc8c4; background: #fff; box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 16px 22px; }
.feature-copy strong { font-family: var(--heading); font-size: 1.24rem; font-weight: 800; line-height: 1.15; }
.feature-copy > span:last-child { margin-top: 7px; color: var(--muted); font-size: .77rem; line-height: 1.5; }

.primary-card-section { padding-top: 56px; }
.ai-wizards-card { position: relative; min-height: 218px; grid-template-columns: 270px minmax(0, 1fr) !important; isolation: isolate; overflow: hidden; border-color: rgba(140, 105, 255, .48); border-radius: 18px; background: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px), radial-gradient(circle at 78% 0%, rgba(124, 61, 255, .42), transparent 42%), radial-gradient(circle at 16% 100%, rgba(53, 184, 255, .15), transparent 38%), linear-gradient(135deg, #0d0e1f, #171331 62%, #080812); background-size: 40px 40px, 40px 40px, auto, auto, auto; box-shadow: 0 24px 70px rgba(16, 13, 45, .18); color: #fff; }
.ai-wizards-card::after { position: absolute; right: 7%; bottom: -82px; z-index: -1; width: 280px; height: 280px; border: 1px solid rgba(123, 196, 255, .16); border-radius: 50%; box-shadow: 0 0 0 34px rgba(124, 61, 255, .045), 0 0 0 70px rgba(53, 184, 255, .025); content: ''; pointer-events: none; }
.ai-wizards-card:hover { border-color: rgba(174, 146, 255, .72); background: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px), radial-gradient(circle at 78% 0%, rgba(124, 61, 255, .5), transparent 44%), radial-gradient(circle at 16% 100%, rgba(53, 184, 255, .2), transparent 40%), linear-gradient(135deg, #0d0e1f, #1b1538 62%, #080812); box-shadow: 0 30px 90px rgba(45, 31, 107, .28); }
.ai-wizards-brand { position: relative; display: flex; min-width: 0; align-items: center; justify-content: center; overflow: hidden; border-right: 1px solid rgba(255, 255, 255, .12); padding: 32px 30px; }
.ai-wizards-wordmark { display: block; width: min(100%, 240px); height: auto; filter: invert(1); }
.ai-wizards-copy { padding: 30px 32px; }
.ai-wizards-copy strong { color: #fff; font-size: clamp(1.65rem, 2.7vw, 2.3rem); letter-spacing: -.045em; line-height: 1.02; }
.ai-wizards-actions { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 0 !important; color: inherit !important; }
.ai-wizards-cta { display: inline-flex; width: fit-content; min-height: 48px; align-items: center; gap: 12px; margin-top: 0 !important; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: linear-gradient(180deg, #8d5bff, #7136f4); box-shadow: 0 16px 36px rgba(124, 61, 255, .28); color: #fff !important; font-size: .8rem !important; font-weight: 800; line-height: 1; padding: 0 20px; text-decoration: none; white-space: nowrap; }
.ai-wizards-cta.secondary { border-color: rgba(126, 217, 255, .34); background: rgba(50, 171, 224, .14); box-shadow: none; }
.ai-wizards-cta.secondary:hover { background: rgba(50, 171, 224, .24); }
.ai-wizards-cta span { font-size: 1.1rem; transition: transform .2s ease; }
.ai-wizards-card:hover .ai-wizards-cta span { transform: translateX(3px); }

.team { border-top: 1px solid var(--line); padding: 64px 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; align-items: start; }
.team-member { text-align: center; }
.team-avatar { width: 78px; height: 78px; margin: 0 auto 12px; overflow: hidden; border: 2px solid var(--line); border-radius: 50%; transition: border-color .3s ease; }
.team-member:nth-child(1) .team-avatar:hover { border-color: var(--teal); }
.team-member:nth-child(2) .team-avatar:hover { border-color: var(--gold); }
.team-member:nth-child(3) .team-avatar:hover { border-color: var(--red); }
.team-member:nth-child(4) .team-avatar:hover { border-color: var(--sage); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-member h3 { margin-bottom: 4px; font-family: var(--heading); font-size: 1rem; font-weight: 700; }
.team-member .role { margin-bottom: 8px; color: var(--muted); font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.team-member a { color: var(--teal); font-size: .78rem; text-decoration: none; }
.team-member a:hover { opacity: .7; }

footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 20px 0 22px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 20px; height: 20px; }
footer span { color: var(--muted); font-size: .68rem; letter-spacing: .04em; }
.footer-note { max-width: 360px; text-align: right; }
@media (max-width: 980px) {
  .section-heading { align-items: start; flex-direction: column; gap: 14px; }
  .feature-grid.project-card-grid .feature-card { grid-template-columns: 240px minmax(0, 1fr) 56px; }
  .ai-wizards-card { grid-template-columns: 240px minmax(0, 1fr) !important; }
  .ai-wizards-brand { padding: 28px 24px; }
  .ai-wizards-copy { padding: 30px; }
}
@media (max-width: 720px) {
  .page { width: min(100% - 28px, 1240px); }
  .site-header { min-height: 80px; gap: 14px; }
  .logo-img { height: 22px; }
  .header-mission strong { font-size: .78rem; }
  .header-mission span { font-size: .58rem; }
  .section { padding: 54px 0; }
  .section-heading { margin-bottom: 22px; }
  .section-heading h2 { font-size: clamp(2.2rem, 10.5vw, 3.2rem); }
  .project-card-grid { grid-template-columns: 1fr; }
  .feature-grid.project-card-grid .feature-card { position: relative; min-height: 0; grid-template-columns: 1fr; }
  .project-card-grid .feature-copy { min-height: 108px; padding: 20px 54px 20px 20px; }
  .ai-wizards-card { min-height: 0; grid-template-columns: 1fr !important; }
  .ai-wizards-brand { min-height: 104px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 28px; }
  .ai-wizards-wordmark { width: min(82%, 300px); }
  .ai-wizards-copy { padding: 28px; }
  .ai-wizards-copy strong { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .team { padding: 54px 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .team-avatar { width: 72px; height: 72px; margin-bottom: 10px; }
  .team-member h3 { font-size: .9rem; }
  .team-member a { font-size: .68rem; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
  .footer-note { text-align: center; }
}
@media (max-width: 430px) {
  .project-card-grid .feature-copy { min-height: 104px; padding: 18px 48px 18px 18px; }
  .ai-wizards-brand { min-height: 94px; padding: 24px 22px; }
  .ai-wizards-wordmark { width: 82%; }
  .ai-wizards-copy { padding: 24px 22px 28px; }
  .ai-wizards-copy strong { font-size: 1.8rem; }
  .ai-wizards-cta { min-height: 46px; padding: 0 17px; }
}
@media (max-width: 350px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 10px; padding: 18px 0; }
  .header-mission { align-self: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Unified feature and directory card system */
.top-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.top-feature-card { min-height: 330px; grid-template-columns: 1fr !important; grid-template-rows: minmax(218px, 1fr) auto; border-radius: 18px; }
.ai-wizards-card { min-height: 330px; }
.ai-wizards-brand { min-height: 0; justify-content: center; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 28px 34px; }
.ai-wizards-wordmark { width: min(82%, 310px); }
.top-feature-card .feature-copy { justify-content: flex-start; padding: 26px 30px 28px; }
.top-feature-card .feature-copy strong { font-size: clamp(1.55rem, 2.2vw, 2.15rem); }
.podcast-card { isolation: isolate; overflow: hidden; border-color: rgba(155, 187, 210, .34); background: radial-gradient(circle at 82% 0%, rgba(76, 139, 184, .24), transparent 42%), linear-gradient(145deg, #111319, #07080b 72%); box-shadow: 0 24px 70px rgba(7, 10, 15, .18); color: #fff; }
.podcast-card:hover { border-color: rgba(180, 215, 238, .62); background: radial-gradient(circle at 82% 0%, rgba(76, 139, 184, .32), transparent 44%), linear-gradient(145deg, #151820, #08090c 72%); box-shadow: 0 30px 90px rgba(5, 9, 16, .26); }
.podcast-brand { display: grid; min-width: 0; place-items: center; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .12); background: #050608; }
.podcast-brand img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.podcast-copy strong { color: #fff; letter-spacing: -.035em; line-height: 1.05; }
.podcast-copy .podcast-cta, .project-visit { display: inline-flex; width: fit-content; min-height: 46px; align-items: center; gap: 10px; margin-top: 20px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: linear-gradient(180deg, #263744, #16232d); box-shadow: 0 14px 30px rgba(2, 8, 13, .24); color: #fff !important; font-size: .8rem !important; font-weight: 800; line-height: 1; padding: 0 19px; }
.podcast-cta span, .project-visit span { font-size: 1rem; transition: transform .2s ease; }
.podcast-card:hover .podcast-cta span, .project-feature-card:hover .project-visit span { transform: translateX(3px); }

@media (max-width: 980px) {
  .top-feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .top-feature-card .feature-copy { padding: 24px; }
}
@media (max-width: 720px) {
  .top-feature-grid { grid-template-columns: 1fr; }
  .top-feature-card, .ai-wizards-card { min-height: 0; grid-template-rows: 104px auto; }
  .ai-wizards-brand { min-height: 0; padding: 24px 28px; }
  .ai-wizards-copy { padding: 24px 26px 26px; }
  .podcast-brand { min-height: 104px; }
  .podcast-copy { padding: 24px 26px 26px !important; }
}
@media (max-width: 540px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 10px; padding: 18px 0; }
  .header-mission { align-self: flex-end; }
  .top-feature-card .feature-copy strong { font-size: .9rem; }
  .top-feature-card .feature-copy .ai-wizards-cta,
  .top-feature-card .feature-copy .podcast-cta { gap: 6px; padding: 0 12px; font-size: .65rem !important; }
}

/* Final card alignment and branded project treatments */
.top-feature-card .feature-copy {
  display: grid;
  min-height: 90px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
}
.top-feature-card .feature-copy strong {
  font-size: clamp(1.22rem, 2.2vw, 2rem);
  white-space: nowrap;
}
.top-feature-card .feature-copy .ai-wizards-cta,
.top-feature-card .feature-copy .podcast-cta {
  height: 46px;
  min-height: 46px;
  align-self: center;
  margin-top: 0 !important;
}

.project-card-grid {
  width: min(100%, 960px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-inline: auto;
}
.feature-grid.project-card-grid .project-feature-card {
  min-height: 292px;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(194px, 1fr) auto;
  border-color: rgba(255, 255, 255, .16);
  border-radius: 17px;
  color: #fff;
}
.project-feature-card:hover { border-color: rgba(255, 255, 255, .36); }
.vajra-card {
  background: radial-gradient(circle at 92% 0%, rgba(49, 178, 210, .3), transparent 40%), linear-gradient(145deg, #10262d, #071216 72%);
  box-shadow: 0 20px 54px rgba(6, 25, 31, .16);
}
.vajra-card:hover {
  background: radial-gradient(circle at 92% 0%, rgba(49, 178, 210, .38), transparent 42%), linear-gradient(145deg, #143039, #08161a 72%);
}
.obsidianclaw-card {
  background: radial-gradient(circle at 88% 0%, rgba(142, 103, 255, .34), transparent 42%), linear-gradient(145deg, #241c35, #100d18 72%);
  box-shadow: 0 20px 54px rgba(28, 16, 52, .18);
}
.obsidianclaw-card:hover {
  background: radial-gradient(circle at 88% 0%, rgba(142, 103, 255, .44), transparent 44%), linear-gradient(145deg, #2b2140, #120f1c 72%);
}
.project-brand {
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .22);
}
.project-brand img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}
.project-copy {
  display: grid;
  min-width: 0;
  min-height: 88px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px 18px;
}
.project-text { display: flex; min-width: 0; flex-direction: column; }
.project-text strong {
  font-family: var(--heading);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
}
.project-text > span {
  margin-top: 7px;
  color: rgba(255, 255, 255, .72);
  font-size: .76rem;
  line-height: 1.48;
}
.project-feature-card .project-visit {
  min-height: 42px;
  align-self: center;
  margin-top: 0;
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .1);
  box-shadow: none;
  color: #fff;
}
.project-feature-card:hover .project-visit span { transform: translateX(3px); }

.team-avatar { width: 104px; height: 104px; }

@media (max-width: 720px) {
  .top-feature-card, .ai-wizards-card { min-height: 270px; grid-template-rows: minmax(180px, 1fr) auto; }
  .top-feature-card .feature-copy { min-height: 82px; padding: 17px 20px; }
  .top-feature-card .podcast-copy { padding: 17px 20px !important; }
  .project-card-grid {
    width: min(100%, 560px);
    grid-template-columns: 1fr;
  }
  .feature-grid.project-card-grid .project-feature-card {
    min-height: 280px;
    grid-template-rows: minmax(188px, 1fr) auto;
  }
  .team-avatar { width: 92px; height: 92px; }
}

@media (max-width: 430px) {
  .top-feature-card, .ai-wizards-card { min-height: 252px; grid-template-rows: minmax(166px, 1fr) auto; }
  .top-feature-card .feature-copy { min-height: 78px; gap: 8px; padding: 15px 16px; }
  .top-feature-card .podcast-copy { padding: 15px 16px !important; }
  .top-feature-card .feature-copy strong { font-size: .9rem; }
  .top-feature-card .feature-copy .ai-wizards-cta,
  .top-feature-card .feature-copy .podcast-cta { height: 44px; min-height: 44px; gap: 6px; padding: 0 12px; font-size: .65rem !important; }
  .feature-grid.project-card-grid .project-feature-card {
    min-height: 266px;
    grid-template-rows: minmax(166px, 1fr) auto;
  }
  .project-copy { min-height: 92px; gap: 10px; padding: 14px 15px 15px; }
  .project-text strong { font-size: 1.05rem; }
  .project-text > span { font-size: .68rem; line-height: 1.4; }
  .project-feature-card .project-visit { min-height: 42px; gap: 6px; padding: 0 12px; font-size: .68rem !important; }
}

@media (max-width: 360px) {
  .top-feature-card .feature-copy { gap: 6px; padding-inline: 14px; }
  .top-feature-card .podcast-copy { padding-inline: 14px !important; }
  .top-feature-card .feature-copy strong { font-size: .75rem; letter-spacing: -.04em; }
  .top-feature-card .feature-copy .ai-wizards-cta,
  .top-feature-card .feature-copy .podcast-cta { gap: 4px; padding-inline: 7px; font-size: .58rem !important; }
}

@media (min-width: 981px) and (max-width: 1100px) {
  .top-feature-card .ai-wizards-copy { gap: 10px; padding-inline: 18px; }
  .top-feature-card .ai-wizards-copy strong { font-size: 1.08rem; }
  .ai-wizards-actions { gap: 6px; }
  .top-feature-card .ai-wizards-actions .ai-wizards-cta { gap: 5px; padding-inline: 10px; font-size: .62rem !important; }
}

@media (max-width: 540px) {
  .top-feature-card .ai-wizards-copy { grid-template-columns: 1fr; align-items: start; }
  .ai-wizards-actions { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .ai-wizards-actions .ai-wizards-cta { width: 100%; justify-content: center; }
}
