/*
 * bhuvaji.in — the v2 design (owner, 2026-10-15, evening), PREVIEW only.
 * Loaded after site.css by the preview build; the live site never links it.
 * Phone up to 640 px, tablet 641–1024 px, desktop 1025 px and up.
 */

/* --- hero (owner, 2026-10-15): on a phone the square hero-phone, full width,
   above the headline; from 641 px hero-wide behind the text — the rishi on the
   right, the headline over the empty sky on the left with a soft navy fade
   under it. A soft curve into the cream page. ------------------------------- */
.hero2 {
  position: relative;
  isolation: isolate; /* its layers stay inside it, under the card that follows */
  overflow: hidden;
  background: var(--navy);
  color: var(--beige);
  padding-bottom: 72px;
}
.hero2::after {
  content: '';
  position: absolute;
  z-index: 2;
  left: -15%;
  right: -15%;
  bottom: -1px;
  height: 56px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-pic {
  position: relative;
  display: block;
}
.hero-pic img,
.hero-pic .ph {
  display: block;
  width: 100%;
  height: auto;
}
.hero-pic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 61, 0) 62%, var(--navy) 100%);
  pointer-events: none;
}
.ph-hero-wide {
  display: none;
  aspect-ratio: 16 / 9;
}
.ph-hero-phone {
  aspect-ratio: 1 / 1;
}
.hero2 .wrap {
  position: relative;
  z-index: 1;
  margin-top: -28px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font: 600 16px/1.4 var(--serif);
  margin: 0 0 10px;
}
.kicker::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--gold);
}
.hero2 h1 {
  color: var(--gold-light);
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 14px;
}
.hero2 .sub {
  color: var(--white);
  font-size: 18px;
  max-width: 34ch;
  margin: 0 0 22px;
}
.hero-promises {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 10px;
}
/* the privacy link: its own line under the promises, on every width */
.promise-more {
  margin: 0 0 26px;
}
.promise-more .more {
  color: var(--gold);
  font-size: 15px;
}
.hero-promises li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--beige);
  font-size: 16px;
}
/* plain gold line icons, no box: these are statements, not buttons */
.hero-promises .icon {
  color: var(--gold);
  width: 24px;
  height: 24px;
}
.hero2 .soon {
  margin-bottom: 26px;
}

/* the header (v2): the page you are on is underlined in gold, not filled */
header.site nav.main a[aria-current='page'] {
  background: none;
  color: var(--gold-light);
  box-shadow: inset 0 -2px 0 var(--gold);
  border-radius: 0;
}

/* --- placeholders and pictures ----------------------------------------------------- */
.ph,
.pic {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.ph {
  position: relative;
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
}
.ph span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font:
    400 12px/1 system-ui,
    sans-serif;
  letter-spacing: 0.04em;
  color: rgba(243, 216, 145, 0.7);
}
.ph-card {
  aspect-ratio: 16 / 9;
}

/* --- cards: a card that is a link lifts on hover; one that is not, never ------------- */
.link-card,
.plain-card {
  position: relative;
}
.link-card h2 a,
.link-card h3 a {
  color: var(--navy);
  text-decoration: none;
}
.link-card h2 a::after,
.link-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.link-card {
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.link-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.link-card:hover h2 a,
.link-card:hover h3 a {
  text-decoration: underline;
}
.label {
  margin: 0 0 4px;
  color: var(--gold-dark);
  font: 600 14px/1.4 var(--serif);
  letter-spacing: 0.02em;
}
/* the featured article's label is a small pill (it is not a link) */
.featured .label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(212, 171, 83, 0.18);
}

/* the slot of the panchang strip: one card, lifted onto the curve */
.strip-slot {
  position: relative;
  z-index: 1;
  margin-top: -36px;
}
.strip-card {
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
}
.strip-card > .icon {
  width: 52px;
  height: 52px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(212, 171, 83, 0.13);
}
.strip-text {
  flex: 1;
}
.strip-card h2 {
  font-size: 20px;
  margin: 0 0 2px;
}
.strip-card .more {
  display: none;
  color: var(--gold-dark);
  white-space: nowrap;
}

/* the featured article: picture left, text right */
.featured-band {
  padding-top: 28px;
  padding-bottom: 8px;
}
.featured {
  display: grid;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.featured-text {
  padding: 22px;
}
.featured h2 {
  font-size: 24px;
  margin: 0 0 8px;
}
.featured p {
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.featured .more {
  color: var(--gold-dark);
}

/* "ભુવાજીમાં શું છે": five white cards on the cream page, round icons; a card
   that links ends with "વાંચો →" */
.feature2 {
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.feature2 .icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 50%;
  background: rgba(212, 171, 83, 0.15);
}
.feature2 h3 {
  font-size: 19px;
  margin: 12px 0 6px;
}
.feature2 .more {
  margin-top: auto;
  padding-top: 12px;
  color: var(--gold-dark);
}
/* on a phone: the icon beside the heading and line, so five cards stay short */
@media (max-width: 640px) {
  .feature2 {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 16px;
  }
  .feature2 .icon {
    grid-row: span 3;
  }
  .feature2 .more {
    padding-top: 6px;
  }
  .feature2 h3 {
    margin: 2px 0 2px;
  }
}

/* article cards with a picture: white, on the white band too */
.band.alt .image-card {
  background: var(--white);
}
.features-band {
  padding-top: 40px;
}
.image-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.image-card-text {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.image-card h3 {
  margin: 0;
  font-size: 18px;
}
.image-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.image-card .date {
  margin-top: auto;
  font-size: 14px;
  color: var(--ink-soft);
}

/* the app band */
.app-band .wrap {
  display: grid;
  gap: 32px;
  justify-items: center;
  text-align: center;
}
/* a picture of a phone, not a button: a thin gold outline, no raised shadow */
.app-band .phone {
  width: min(220px, 60vw);
  box-shadow: 0 0 0 2px rgba(212, 171, 83, 0.55);
}
.app-band {
  padding: 40px 0;
}
.app-band-text .mark {
  margin: 0 auto 12px;
  border-radius: 16px;
}
.app-band .tagline {
  color: var(--gold);
  font: 600 20px/1.5 var(--serif);
  margin: 0 0 4px;
}
.app-band p {
  color: var(--beige);
}

/* --- articles: the cover band and one reading column ------------------------------ */
.cover-band {
  background: radial-gradient(
    circle at 85% 20%,
    var(--navy-2) 0%,
    var(--navy) 55%,
    var(--panel) 100%
  );
  color: var(--beige);
}
.cover-band .wrap {
  display: grid;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 32px;
  align-items: center;
}
.cover-band h1 {
  color: var(--gold-light);
  margin-bottom: 10px;
}
.cover-band .meta {
  color: var(--beige);
  font-size: 15px;
  margin: 0;
}
.cover-band .meta a {
  color: var(--gold);
}
.cover-art .ph,
.cover-art .pic {
  border-radius: var(--radius);
}
.cover-art .ph {
  background: linear-gradient(135deg, #22335f, var(--navy-2));
  border: 1.5px dashed rgba(212, 171, 83, 0.45);
}
/* one reading column of about 720 px, body text 18 px in dark navy, the
   contents list after the first paragraph at every width (owner, 2026-10-15) */
.article-v2 {
  max-width: calc(720px + 2 * var(--gutter));
  padding-top: 32px;
  font-size: 18px;
  color: var(--navy);
}
.article-v2 .prose,
.article-v2 .toc-inline,
.article-v2 .summary-en {
  max-width: none;
}
.article-v2 .toc-inline {
  display: block;
}
.article-v2 .toc-inline ol {
  font-size: 18px;
}
.article-v2 .summary-en p {
  font-size: 18px;
  color: var(--navy);
}
.article-v2 .prose figure img {
  box-shadow: none;
  border: 1px solid var(--line);
}
/* "coming soon": plain text between two thin gold rules, never a filled bar */
.article-v2 .closing {
  background: none;
  color: var(--navy);
  border-radius: 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 14px 0;
  margin: 32px 0;
}
.article-v2 .closing b {
  color: var(--navy);
  font-weight: 600;
}

/* --- tablet ---------------------------------------------------------------------- */
@media (min-width: 641px) {
  .hero2 {
    display: flex;
    align-items: center;
    min-height: clamp(520px, 50vw, 700px);
    padding-bottom: 96px;
  }
  .hero-pic {
    position: absolute;
    inset: 0;
  }
  .hero-pic img,
  .hero-pic .ph-hero-wide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 40%;
  }
  .ph-hero-wide {
    display: block;
  }
  .ph-hero-phone {
    display: none;
  }
  /* the navy fade under the text, clear over the rishi */
  .hero-pic::after {
    background: linear-gradient(
      90deg,
      rgba(11, 19, 48, 0.92) 0%,
      rgba(11, 19, 48, 0.8) 34%,
      rgba(11, 19, 48, 0.3) 56%,
      rgba(11, 19, 48, 0) 70%
    );
  }
  .hero2 .wrap {
    width: 100%;
    margin-top: 0;
    padding-top: 48px;
  }
  .hero2-text {
    max-width: min(520px, 56%);
  }
  .hero2 h1 {
    font-size: 44px;
  }
  .strip-card .more {
    display: inline;
  }
  .featured {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .featured-text {
    padding: 28px 32px;
  }
  .grid.five {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid.three .image-card {
    min-width: 0;
  }
}

/* --- desktop --------------------------------------------------------------------- */
@media (min-width: 1025px) {
  .band {
    padding: 56px 0;
  }
  .hero2::after {
    height: 96px;
  }
  .hero2 .wrap {
    padding-top: 64px;
  }
  .hero2-text {
    max-width: 560px;
  }
  .hero2 h1 {
    font-size: 58px;
  }
  .hero2 .sub {
    font-size: 21px;
  }
  /* the three promises in one row with thin dividers, under the label */
  /* one row, each promise whole on its line (owner, 2026-10-16) */
  .hero-promises {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
  }
  .hero-promises li {
    font-size: 15px;
    gap: 8px;
    padding: 0 12px;
    white-space: nowrap;
    border-left: 1px solid rgba(212, 171, 83, 0.35);
  }
  /* the English promises are longer than the text column: a tidy list of
     three lines, as on a phone, never a row that runs into the picture */
  html[lang='en'] .hero-promises {
    display: grid;
    gap: 10px;
  }
  html[lang='en'] .hero-promises li {
    padding: 0;
    border-left: 0;
  }
  .hero-promises .icon {
    width: 20px;
    height: 20px;
  }
  .hero-promises li:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .strip-slot {
    margin-top: -52px;
  }
  .featured-band {
    padding-top: 32px;
  }
  .strip-card {
    padding: 22px 28px;
  }
  .featured {
    grid-template-columns: 440px 1fr;
  }
  .featured-text {
    padding: 36px 44px;
  }
  .featured h2 {
    font-size: 30px;
  }
  .grid.five {
    grid-template-columns: repeat(5, 1fr);
  }
  /* text on the left, the phone on the right, one compact band */
  .app-band {
    padding: 40px 0;
  }
  .app-band .wrap {
    grid-template-columns: minmax(0, 520px) auto;
    justify-content: center;
    text-align: left;
    gap: 96px;
  }
  .app-band-text .mark {
    margin: 0 0 14px;
  }
  .cover-band .wrap {
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 56px;
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .cover-band h1 {
    font-size: 42px;
  }
  .article-v2 {
    padding-top: 40px;
  }
}
