/* ============================================================
   Karneeti home — knowledge-first layout
   ============================================================ */
.nav-links a.nav-ext { color: var(--text-mid); font-weight: 600; }
.nav-links a.nav-ext:hover { color: var(--saffron); }

/* ---------- hero ---------- */
.khero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(232,101,43,.10) 0%, transparent 50%),
    radial-gradient(ellipse at 88% 85%, rgba(212,168,67,.16) 0%, transparent 50%),
    var(--cream);
  padding: clamp(2.6rem, 6vw, 5rem) 1.5rem clamp(2.4rem, 5vw, 4rem);
}
.khero-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .9fr);
  gap: clamp(1.6rem, 4vw, 4rem); align-items: center;
}
.khero-eyebrow {
  display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--saffron-deep); margin-bottom: 1rem;
}
.khero h1 {
  font-family: 'Playfair Display', serif; font-weight: 900; color: var(--text-dark);
  font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -1.2px; margin: 0 0 1.1rem;
}
.khero h1 .tw {
  display: block; text-align: left; min-height: 1.1em;
  background: linear-gradient(135deg, var(--saffron) 10%, var(--gold) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.khero h1 .khero-tail { display: block; }
.khero-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-mid); line-height: 1.65; max-width: 560px; margin: 0 0 1.4rem; }
.khero-sub b { color: var(--text-dark); font-weight: 700; }
.khero-sub a { color: var(--saffron-deep); font-weight: 700; text-decoration: none; }
.khero-sub a:hover { text-decoration: underline; }

.khero-search {
  display: flex; align-items: center; gap: .5rem; max-width: 600px;
  background: #fff; border: 1px solid var(--border-mid); border-radius: 999px;
  padding: .35rem .35rem .35rem 1rem; box-shadow: var(--shadow-sm);
}
.khero-search:focus-within { border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(232,101,43,.12); }
.khero-search svg { width: 20px; height: 20px; color: var(--text-light); flex: none; }
.khero-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: .98rem; color: var(--text-dark); padding: .55rem 0;
}
.khero-search input::placeholder { color: var(--text-light); }
.khero-search button {
  border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: .9rem;
  padding: .7rem 1.25rem; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
}
.khero-search button:hover { filter: brightness(1.05); }
.khero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2rem; }

/* this week's article */
.khero-week {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 1.4rem 1.5rem 1.2rem; position: relative;
}
.khero-week::before {
  content: ''; position: absolute; inset: 0 auto auto 0; height: 4px; width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
}
.wk-k { display: block; font-size: .64rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--saffron-deep); margin-bottom: .9rem; }
.wk-main { display: block; text-decoration: none; color: inherit; }
.wk-part { display: block; font-size: .78rem; font-weight: 600; color: var(--text-mid); margin-bottom: .45rem; }
.wk-part b { color: var(--saffron-deep); font-weight: 800; }
.wk-title {
  display: block; font-family: 'Playfair Display', serif; font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.25; color: var(--text-dark);
  transition: color .2s;
}
.wk-main:hover .wk-title { color: var(--saffron-deep); }
.wk-meta { display: block; margin-top: .7rem; font-size: .84rem; font-weight: 700; color: var(--saffron-deep); }
.wk-prev { margin-top: 1.1rem; padding-top: .9rem; border-top: 1px dashed var(--border-mid); display: grid; gap: .55rem; }
.wk-prev a { display: grid; grid-template-columns: 62px 1fr; gap: .6rem; align-items: baseline; text-decoration: none; color: inherit; }
.wk-pp { font-size: .7rem; font-weight: 800; letter-spacing: .04em; color: var(--text-light); text-transform: uppercase; }
.wk-pt { font-size: .9rem; font-weight: 600; color: var(--text-dark); line-height: 1.35; }
.wk-prev a:hover .wk-pt { color: var(--saffron-deep); }

/* ---------- sections ---------- */
.home-more { text-align: center; margin-top: 2rem; }
.home-video { max-width: 860px; margin: 0 auto; }
.home-video-frame { aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); background: #000; }
.home-video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.home-video-ctas { display: flex; gap: 12px; justify-content: center; margin-top: 1.6rem; flex-wrap: wrap; }

.home-sub { background: var(--deep); color: #fff; padding: clamp(2.6rem, 5vw, 4rem) 1.5rem; }
.home-sub-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.home-sub-text .section-label { color: var(--gold-bright); }
.home-sub-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .4rem 0 .6rem; color: #fff; }
.home-sub-text h2 .accent { color: var(--gold-bright); }
.home-sub-text p { color: rgba(255,255,255,.72); margin: 0; line-height: 1.6; }
.home-sub-form { margin-top: 0; }
.home-sub-form input { flex: 1; min-width: 220px; }
.home-sub-form .ar-status { flex-basis: 100%; color: rgba(255,255,255,.75); }
.home-sub-form .ar-status.ok { color: #7EDC9E; }
.home-sub-form .ar-status.bad { color: #FF9C7A; }

.pnl-strap { background: var(--warm-white); border-top: 1px solid var(--border-soft); padding: 1rem 1.5rem; text-align: center; }
.pnl-strap p { margin: 0; font-size: .92rem; color: var(--text-mid); }
.pnl-strap a { color: var(--text-dark); font-weight: 700; text-decoration: none; }
.pnl-strap a:hover { color: var(--saffron-deep); }

/* ---------- responsive ---------- */
@media (max-width: 899px) {
  .khero-inner { grid-template-columns: 1fr; }
  .khero-week { max-width: 620px; }
  .home-sub-inner { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 640px) {
  .khero { padding: 2rem 1.1rem 2.2rem; }
  .khero h1 { font-size: clamp(2rem, 10vw, 2.6rem); letter-spacing: -.6px; }
  .khero-search { padding: .3rem .3rem .3rem .85rem; }
  .khero-search input { font-size: .9rem; }
  .khero-search button { padding: .6rem .9rem; font-size: .84rem; }
  .khero-ctas .btn { width: 100%; text-align: center; }
  .wk-prev a { grid-template-columns: 1fr; gap: .1rem; }
}
.home-sub-form button { background: linear-gradient(135deg, var(--saffron), var(--gold)); }
.home-sub-form button:hover { background: linear-gradient(135deg, var(--saffron-deep), var(--saffron)); }
