/* About page editorial composition. Scoped to /about; documentary and footer
   sections that follow the story are intentionally outside these selectors. */
.site-shell main .about-hero,
.site-shell main .aj-about-r2 {
  --aj-about-wine: #5d2024;
  --aj-about-dark: #421b20;
  --aj-about-ink: #332b29;
  --aj-about-muted: #625955;
  --aj-about-gold: #ab8551;
  --aj-about-paper: #fbf8f2;
  --aj-about-gutter: max(5vw, calc((100vw - 1180px) / 2));
}

/* Founder: the approved portrait remains the centrepiece. */
.site-shell main .about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: stretch;
  min-height: 660px;
  overflow: hidden;
  background: linear-gradient(90deg, #fbf8f2 0 59%, #5d2024 59% 100%);
  border-bottom: 1px solid #d8c5a6;
}
.site-shell main .about-hero-copy {
  width: auto;
  max-width: none;
  align-self: center;
  padding: clamp(58px, 6.5vw, 106px) clamp(42px, 5vw, 94px)
    clamp(58px, 6.5vw, 106px) var(--aj-about-gutter);
}
.site-shell main .about-hero .eyebrow {
  max-width: 42ch;
  margin: 0 0 26px;
  color: var(--aj-about-wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.7;
  text-transform: uppercase;
}
.site-shell main .about-hero h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--aj-about-wine);
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(47px, 4.35vw, 69px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.07;
  text-wrap: balance;
}
.site-shell main .about-hero-intro {
  max-width: 62ch;
  margin: 26px 0 0;
  color: #514743;
  font-size: clamp(15px, 1.16vw, 17px);
  line-height: 1.73;
}
.site-shell main .about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px 28px;
  margin-top: 34px;
}
.site-shell main .about-hero-actions .button-primary {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 22px;
  border: 1px solid var(--aj-about-wine);
  border-radius: 0;
  background: var(--aj-about-wine);
  color: #fff9ef;
  font-size: 12px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.site-shell main .about-hero-actions .button-primary:hover {
  background: var(--aj-about-dark);
  transform: translateY(-2px);
}
.site-shell main .about-hero-actions .text-link {
  color: var(--aj-about-dark);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 1px solid var(--aj-about-gold);
  padding: 6px 0;
}
.site-shell main .about-hero-visual--founder {
  position: relative;
  isolation: isolate;
  width: auto;
  height: auto;
  min-height: 570px;
  margin: 28px max(3vw, 36px) 28px 0;
  overflow: hidden;
  border: 1px solid #d8c5a6;
  background: #8c786c;
}
.site-shell main .about-hero-visual--founder picture,
.site-shell main .about-hero-visual--founder img {
  display: block;
  width: 100%;
  height: 100%;
}
.site-shell main .about-hero-visual--founder img {
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.site-shell main .about-hero-visual--founder > p {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 25px;
  left: auto;
  width: auto;
  max-width: calc(100% - 50px);
  margin: 0;
  padding: 10px 14px;
  background: rgba(251, 248, 242, .96);
  color: var(--aj-about-wine);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* The long form story alternates editorial spreads, a directory and service cards. */
.site-shell main .aj-about-r2 {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  gap: 0 24px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 var(--aj-about-gutter);
  background: #faf7f0;
  color: var(--aj-about-ink);
}
.site-shell main .aj-about-r2-section {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  align-content: start;
  column-gap: clamp(42px, 6vw, 108px);
  padding: clamp(32px, 3vw, 48px) 0;
  border: 0;
  border-top: 1px solid #ded1bd;
}
.site-shell main .aj-about-r2-section > h2 {
  grid-column: 1;
  grid-row: 1;
  max-width: none;
  margin: 0;
  color: var(--aj-about-wine);
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(32px, 2.8vw, 42px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.17;
  text-wrap: balance;
}
.site-shell main .aj-about-r2-section > h2::before {
  display: block;
  margin: 0 0 13px;
  color: #896b45;
  font-family: Arial, sans-serif !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.4;
  text-transform: uppercase;
}
.site-shell main #aj-about-founder::before { content: '01  /  The founder'; }
.site-shell main #aj-about-growth::before { content: '02  /  Beyond Kolkata'; }
.site-shell main #aj-about-creations::before { content: '03  /  The creations'; }
.site-shell main #aj-about-textiles::before { content: '04  /  The materials'; }
.site-shell main #aj-about-influences::before { content: '05  /  The design language'; }
.site-shell main #aj-about-quality::before { content: '06  /  The standard'; }
.site-shell main #aj-about-temples::before { content: '07  /  Temple relationships'; }
.site-shell main #aj-about-sizing::before { content: '08  /  Getting the fit right'; }
.site-shell main #aj-about-consultation::before { content: '09  /  Personal guidance'; }
.site-shell main #aj-about-invitation::before { content: '10  /  An invitation'; }
.site-shell main .aj-about-r2-section > :not(h2) { grid-column: 2; }
.site-shell main .aj-about-r2-section p,
.site-shell main .aj-about-r2-section li {
  max-width: 72ch;
  margin: 0;
  color: var(--aj-about-ink);
  font-size: clamp(15px, 1.17vw, 16px);
  line-height: 1.6;
}
.site-shell main .aj-about-r2-section p + p { margin-top: 12px; }
.site-shell main .aj-about-r2-section a {
  color: var(--aj-about-wine);
  text-decoration-color: #ad8a57;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.site-shell main .aj-about-r2-section a:hover { color: #862f38; }
.site-shell main .aj-about-r2-section a:focus-visible,
.site-shell main .about-hero a:focus-visible {
  outline: 3px solid #b48b4a;
  outline-offset: 4px;
}
.site-shell main .aj-about-r2-section:has(#aj-about-founder) {
  border-top: 0;
  padding-top: clamp(46px, 4vw, 65px);
}
.site-shell main .aj-about-r2-section:has(#aj-about-founder) > p:first-of-type {
  max-width: 58ch;
  padding-left: 23px;
  border-left: 2px solid #b89361;
  color: var(--aj-about-wine);
  font-size: clamp(18px, 1.48vw, 20px);
  line-height: 1.5;
}

/* A single dark chapter gives the narrative a clear hinge. */
.site-shell main .aj-about-r2-section:has(#aj-about-growth) {
  margin-inline: calc(-1 * var(--aj-about-gutter));
  padding-inline: var(--aj-about-gutter);
  border: 0;
  background: radial-gradient(circle at 92% 20%, rgba(202, 155, 102, .12), transparent 36%),
    linear-gradient(130deg, #4a1c22, #67292c);
}
.site-shell main .aj-about-r2-section:has(#aj-about-growth) h2,
.site-shell main .aj-about-r2-section:has(#aj-about-growth) p {
  color: #fff8ec;
}
.site-shell main #aj-about-growth::before { color: #ddc59d; }
.site-shell main .aj-about-r2-section:has(#aj-about-growth) p {
  max-width: 66ch;
  font-size: clamp(16px, 1.32vw, 18px);
  line-height: 1.58;
}

/* Use existing approved catalogue art as a visual pause, without new copy. */
.site-shell main .aj-about-r2-section:has(#aj-about-creations) {
  grid-template-columns: minmax(260px, .88fr) minmax(0, 1.12fr);
  gap: 0 clamp(52px, 7vw, 112px);
}
.site-shell main .aj-about-r2-section:has(#aj-about-creations)::before {
  content: '';
  display: block;
  grid-column: 1;
  grid-row: 1 / span 5;
  align-self: stretch;
  min-height: 450px;
  margin-right: 12px;
  background: #dac8ac url("https://abhajindal.com/wp-content/uploads/abha-jindal/site/optimized/catalogue/aj-1014-emerald-radha-krishna-bansuri-complete-shringar-01-768.avif") center / cover no-repeat;
  border: 1px solid #cbb18a;
  box-shadow: 12px 12px 0 #e5d9c8;
}
.site-shell main .aj-about-r2-section:has(#aj-about-creations) > h2,
.site-shell main .aj-about-r2-section:has(#aj-about-creations) > :not(h2) {
  grid-column: 2;
}
.site-shell main .aj-about-r2-section:has(#aj-about-creations) > h2 { grid-row: 1; }
.site-shell main .aj-about-r2-explore {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  max-width: 600px;
  margin: 16px 0 0;
}
.site-shell main .aj-about-r2-explore a {
  position: relative;
  display: block;
  min-height: 42px;
  padding: 9px 18px 8px 0;
  border-bottom: 1px solid #bfae99;
  color: var(--aj-about-wine);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.45;
  text-decoration: none;
}
.site-shell main .aj-about-r2-explore a::after {
  content: '↗';
  position: absolute;
  right: 1px;
  color: #96754e;
  font-size: 17px;
  font-weight: 400;
}

.site-shell main .aj-about-r2-section:has(#aj-about-textiles) {
  margin-inline: calc(-1 * var(--aj-about-gutter));
  padding-inline: var(--aj-about-gutter);
  background: #f1e9dc;
  border: 0;
}

/* Seven influences read as an annotated material index. */
.site-shell main .aj-about-r2-section:has(#aj-about-influences) > .aj-about-r2-influences {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(35px, 6vw, 90px);
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: aj-influence;
}
.site-shell main .aj-about-r2-influences li {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 10px 0 11px 40px;
  border-top: 1px solid #d6c7af;
  font-size: 15px;
  line-height: 1.52;
  counter-increment: aj-influence;
}
.site-shell main .aj-about-r2-influences li::before {
  content: '0' counter(aj-influence);
  position: absolute;
  top: 12px;
  left: 0;
  color: #9c7950;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.site-shell main .aj-about-r2-section:has(#aj-about-influences) > p:last-of-type {
  grid-column: 1 / -1;
  max-width: 85ch;
  margin: 19px 0 0;
  padding: 0 0 0 24px;
  border-left: 2px solid #b89361;
}

.site-shell main .aj-about-r2-section:has(#aj-about-quality) {
  margin-inline: calc(-1 * var(--aj-about-gutter));
  padding-inline: var(--aj-about-gutter);
  border: 0;
  background: #e9decc;
}
.site-shell main .aj-about-r2-section:has(#aj-about-quality) > p {
  max-width: 28ch;
  color: var(--aj-about-wine);
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(27px, 2.5vw, 39px);
  letter-spacing: -.025em;
  line-height: 1.35;
}

/* Align the temple introduction with the heading, below its chapter kicker. */
@media (min-width: 761px) {
  .site-shell main .aj-about-r2-section:has(#aj-about-temples) > p:first-of-type {
    margin-top: 27px;
  }
}

/* Temple relationships remain readable; the existing documentary cards follow. */
.site-shell main .aj-about-r2-section:has(#aj-about-temples) > .aj-about-r2-stories {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(35px, 6vw, 90px);
  max-width: none;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: aj-temple;
}
.site-shell main .aj-about-r2-stories li {
  position: relative;
  display: flex;
  align-items: center;
  max-width: none;
  min-height: 44px;
  margin: 0;
  padding: 8px 24px 8px 43px;
  border-top: 1px solid #d8c8b0;
  font-size: 15px;
  line-height: 1.45;
  counter-increment: aj-temple;
}
.site-shell main .aj-about-r2-stories li::before {
  content: counter(aj-temple, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: #a27e50;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
}
.site-shell main .aj-about-r2-stories a { text-decoration: none; }
.site-shell main .aj-about-r2-stories a:hover { text-decoration: underline; }
.site-shell main .aj-about-r2-section:has(#aj-about-temples) > p:last-of-type {
  grid-column: 1 / -1;
  max-width: 85ch;
  margin: 19px 0 0;
  padding-left: 24px;
  border-left: 2px solid #b89361;
}

/* Practical guidance is an intentional pair of service cards. */
.site-shell main .aj-about-r2-section:has(#aj-about-sizing),
.site-shell main .aj-about-r2-section:has(#aj-about-consultation) {
  display: block;
  grid-column: auto;
  margin: 0 0 25px;
  padding: clamp(25px, 2.1vw, 34px);
  border: 1px solid #dac9ad;
  background: #f2e9dc;
}
.site-shell main .aj-about-r2-section:has(#aj-about-sizing) > h2,
.site-shell main .aj-about-r2-section:has(#aj-about-consultation) > h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 2.35vw, 34px);
}
.site-shell main .aj-about-r2-section:has(#aj-about-sizing) p,
.site-shell main .aj-about-r2-section:has(#aj-about-consultation) p {
  font-size: 15px;
  line-height: 1.55;
}
.site-shell main .aj-about-r2-section:has(#aj-about-consultation) {
  align-self: start;
}
.site-shell main .aj-about-r2-guide-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  margin: 18px 0 0;
}
.site-shell main .aj-about-r2-guide-links a {
  display: block;
  padding: 10px 16px;
  border: 1px solid #b99d79;
  border-radius: 0;
  background: #fbf8f2;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.site-shell main .aj-about-r2-guide-links a:hover { background: #fff; }

.site-shell main .aj-about-r2-section:has(#aj-about-invitation) {
  margin-inline: calc(-1 * var(--aj-about-gutter));
  padding-inline: var(--aj-about-gutter);
  border: 0;
  background: #eee1cf;
}
.site-shell main .aj-about-r2-contact {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 50px;
  margin-top: 4px;
  padding: 13px 20px;
  border: 1px solid var(--aj-about-wine);
  border-radius: 0;
  background: var(--aj-about-wine);
  color: #fff9ef !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
  transition: background-color .2s ease, transform .2s ease;
}
.site-shell main .aj-about-r2-contact:hover {
  background: var(--aj-about-dark);
  transform: translateY(-2px);
}

@media (max-width: 1000px) {
  .site-shell main .about-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    min-height: 620px;
  }
  .site-shell main .about-hero-copy { padding-right: 32px; }
  .site-shell main .about-hero h1 { font-size: clamp(42px, 4.6vw, 54px); }
  .site-shell main .about-hero-visual--founder { margin-right: 26px; min-height: 560px; }
  .site-shell main .aj-about-r2-section { column-gap: 38px; }
  .site-shell main .aj-about-r2-section:has(#aj-about-creations) { gap: 0 42px; }
}

@media (max-width: 760px) {
  .site-shell main .about-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fbf8f2;
  }
  .site-shell main .about-hero-copy {
    width: 100%;
    padding: 56px 6vw 35px;
  }
  .site-shell main .about-hero .eyebrow { margin-bottom: 19px; font-size: 10px; }
  .site-shell main .about-hero h1 {
    max-width: 15ch;
    font-size: clamp(40px, 9vw, 58px);
    line-height: 1.06;
  }
  .site-shell main .about-hero-intro { margin-top: 20px; font-size: 15px; }
  .site-shell main .about-hero-actions { margin-top: 25px; }
  .site-shell main .about-hero-visual--founder {
    width: auto;
    height: min(105vw, 590px);
    min-height: 0;
    margin: 0 6vw 36px;
  }
  .site-shell main .aj-about-r2 {
    display: block;
    --aj-about-gutter: 6vw;
    padding-inline: var(--aj-about-gutter);
  }
  .site-shell main .aj-about-r2-section,
  .site-shell main .aj-about-r2-section:has(#aj-about-creations) {
    display: block;
    padding-block: 44px;
  }
  .site-shell main .aj-about-r2-section > h2 { margin-bottom: 19px; font-size: clamp(31px, 6.5vw, 40px); }
  .site-shell main .aj-about-r2-section > h2::before { margin-bottom: 11px; }
  .site-shell main .aj-about-r2-section:has(#aj-about-creations)::before {
    width: min(100%, 540px);
    height: min(100vw, 570px);
    min-height: 0;
    margin: 0 12px 25px 0;
  }
  .site-shell main .aj-about-r2-section:has(#aj-about-influences) > .aj-about-r2-influences,
  .site-shell main .aj-about-r2-section:has(#aj-about-temples) > .aj-about-r2-stories {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .site-shell main .aj-about-r2-section:has(#aj-about-sizing),
  .site-shell main .aj-about-r2-section:has(#aj-about-consultation) {
    margin-bottom: 14px;
    padding: 25px 22px;
  }
  .site-shell main .aj-about-r2-section:has(#aj-about-invitation) { margin-top: 28px; }
}

@media (max-width: 440px) {
  .site-shell main .about-hero-actions { align-items: flex-start; flex-direction: column; }
  .site-shell main .aj-about-r2-explore { grid-template-columns: minmax(0, 1fr); }
  .site-shell main .aj-about-r2-section > h2 { font-size: 32px; }
  .site-shell main .aj-about-r2-section:has(#aj-about-founder) > p:first-of-type { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-shell main .about-hero-actions .button-primary,
  .site-shell main .aj-about-r2-contact { transition: none; }
  .site-shell main .about-hero-actions .button-primary:hover,
  .site-shell main .aj-about-r2-contact:hover { transform: none; }
}
