/* Scoped owner-approved Home corrections. Existing photographs stay unchanged. */
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"]{--aj-ah-ink:#fff5e2;--aj-ah-gold:#dfbd78;--aj-ah-rule:#dfbd7855;background:#651b2d!important;color:#fff5e2!important;padding-bottom:0}
[data-aj-home-feature="r7"] :is(.aj-ah-feature-heading h2,.aj-ah-feature-heading .section-heading>a,.aj-ah-collection-caption h3,.aj-ah-collection-caption h3 a,.aj-home-gateway__heading h2){color:#fff5e2!important}
[data-aj-home-feature="r7"] :is(.aj-ah-feature-heading .section-kicker,.aj-ah-count,.aj-ah-choices a,.aj-home-gateway__heading .section-kicker){color:#e2c58e!important}
[data-aj-home-feature="r7"] :is(.section-note,.aj-ah-collection-caption>p:last-child,.aj-home-gateway__note){color:#f1dfc7!important}
[data-aj-home-feature="r7"] .aj-ah-choices a[aria-current="true"]{border-color:#e2c58e!important;color:#fff5e2!important}
[data-aj-home-feature="r7"] .aj-ah-controls>button{color:#fff5e2!important;border-color:#dfbd7877!important}
[data-aj-home-feature="r7"] .aj-ah-controls>button:hover{color:#651b2d!important;background:#fff5e2!important}
[data-aj-home-feature="r7"] .aj-home-gateway{background:transparent!important;margin-top:28px!important}
[data-aj-home-feature="r7"] :is(a,button):focus-visible{outline:2px solid #e2c58e!important;outline-offset:5px}

/* The complete founder panel follows the pointer as one three-dimensional card. */
.aj-ah-stories .aj-h10-founder[data-aj-founder-tilt="r7"]{position:relative;isolation:isolate;grid-template-columns:minmax(210px,300px) minmax(0,1fr)!important;max-width:1120px;padding:42px!important;gap:42px!important;margin-bottom:48px;background:#651b2d!important;border:1px solid #af894d!important;box-shadow:0 18px 36px #45152620;border-radius:5px;transform:perspective(1400px) rotateX(var(--aj-tilt-x,0deg)) rotateY(var(--aj-tilt-y,0deg));transform-style:preserve-3d;transition:transform 240ms ease-out,box-shadow 240ms ease-out;will-change:auto}
[data-aj-founder-tilt="r7"]::before{content:"";position:absolute;inset:10px;border:1px solid #dfbd7840;border-radius:2px;pointer-events:none;transform:translateZ(1px)}
.aj-ah-stories [data-aj-founder-tilt="r7"] .aj-h10-founder-image{max-width:none!important;background:#4d1525!important;box-shadow:8px 8px 0 -1px #651b2d,8px 8px 0 0 #d7b67588;transform:translateZ(28px)}
.aj-ah-stories [data-aj-founder-tilt="r7"] .aj-h10-founder-copy{transform:translateZ(20px)}
.aj-ah-stories [data-aj-founder-tilt="r7"] .aj-h10-founder-copy h2{color:#fff5e2!important;margin-top:9px!important}
.aj-ah-stories [data-aj-founder-tilt="r7"] .section-kicker{color:#e2c58e!important}
.aj-ah-stories [data-aj-founder-tilt="r7"] .aj-h10-founder-role{color:#f0d8ae!important;border-color:#dfbd7844!important;font-size:13px!important;margin-bottom:13px!important;padding-bottom:13px!important}
.aj-ah-stories [data-aj-founder-tilt="r7"] .aj-h10-founder-copy>p:not(.section-kicker):not(.aj-h10-founder-role){color:#f3dfce!important;font-size:14px!important;line-height:1.65!important;max-width:none!important}
.aj-ah-stories [data-aj-founder-tilt="r7"] .aj-h10-text-link{color:#fff5e2!important;margin-top:6px!important}
.aj-hc-founder-quote{margin:22px 0 0!important;padding:17px 0 0!important;border:0;border-top:1px solid #dfbd7855;color:#fff5e2}
.aj-hc-founder-quote p{margin:0!important;font:400 16px/1.65 Georgia,'Times New Roman',serif!important;color:#fff5e2!important}
.aj-hc-founder-quote p[lang="hi"]{font-family:Georgia,'Nirmala UI','Mangal',serif!important;font-size:14px!important;line-height:1.85!important;color:#ecd3b3!important;margin-top:14px!important}
[data-aj-founder-tilt="r7"] a:focus-visible{outline:2px solid #e2c58e;outline-offset:6px}

/* Canvas strokes are clipped to real text; the text remains the accessible source. */
.aj-hc-canvas-word{display:inline-block;position:relative;white-space:nowrap;vertical-align:baseline}
.aj-hc-canvas-word canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.aj-hc-canvas-word.is-painted{color:transparent!important}
.aj-hc-type-word{display:inline-block;position:relative;white-space:nowrap}
/* Inline letter spans preserve complete spoken words in accessible headings. */
.aj-hc-type-letter{display:inline}
.aj-hc-type-ready:not(.is-written) .aj-hc-type-letter{opacity:0}
.aj-hc-type-ready.is-writing .aj-hc-type-letter{animation:aj-hc-letter 1ms steps(1,end) both;animation-delay:var(--aj-letter-delay)}
.aj-hc-type-ready.is-writing .aj-hc-type-word:last-child::after{content:"";position:absolute;right:-.12em;bottom:.1em;width:2px;height:.85em;background:#dfbd78;animation:aj-hc-caret 600ms steps(1,end) 5;opacity:0}
@keyframes aj-hc-letter{from{opacity:0}to{opacity:1}}
@keyframes aj-hc-caret{0%,49%{opacity:1}50%,100%{opacity:0}}
body[data-aj-astra-route="home"] .aj-notes-devotion__heading{display:block!important;text-align:center!important}
body[data-aj-astra-route="home"] .aj-notes-devotion__heading>div{width:100%;max-width:none!important;margin-inline:auto}
body[data-aj-astra-route="home"] :is(.aj-notes-devotion__kicker,#aj-notes-devotion-title){text-align:center!important;margin-inline:auto!important}
body[data-aj-astra-route="home"] .aj-notes-devotion__intro{display:none!important}

@media(max-width:900px){
 .aj-ah-stories .aj-h10-founder[data-aj-founder-tilt="r7"]{padding:30px!important;gap:28px!important;grid-template-columns:minmax(180px,240px) minmax(0,1fr)!important}
 .aj-hc-founder-quote p{font-size:15px!important}
}
@media(max-width:700px){
 .aj-ah-stories .aj-h10-founder[data-aj-founder-tilt="r7"]{grid-template-columns:1fr!important;padding:28px 24px!important;gap:28px!important;margin-inline:-10px!important;transform:none}
 .aj-ah-stories [data-aj-founder-tilt="r7"] .aj-h10-founder-image{width:210px!important;max-width:100%!important;margin:auto!important}
 .aj-ah-stories [data-aj-founder-tilt="r7"] .aj-h10-founder-copy{text-align:center}
 .aj-hc-founder-quote p{font-size:16px!important}
 .aj-hc-founder-quote p[lang="hi"]{font-size:14px!important}
}
/* Keep the approved 310 × 390 desktop leaves. Fit a complete spread on phones. */
@media(max-width:760px){
 #aj-high-r5-story-strip.aj-ah-stories{width:100%!important}
 .aj-ah-stories .aj-ah-temple-book{--aj-page-w:min(310px,calc((100vw - 30px)/2));--aj-page-h:clamp(346px,86vw,390px);width:100vw!important;max-width:none!important;left:50%;transform:translateX(-50%);padding-inline:0!important}
 .aj-ah-temple-book .aj-ah-temple-stage{height:calc(var(--aj-page-h) + 16px);perspective:1800px;overflow:hidden}
 .aj-ah-temple-book .aj-ah-book-face{box-shadow:0 4px 16px #45261125}
 .aj-ah-stories .aj-ah-temple-book .aj-ah-temple-card picture{height:calc(100% - 112px)!important}
 .aj-ah-stories .aj-ah-temple-book .aj-h10-temple-copy{height:112px!important;padding:7px 8px!important;grid-template-columns:1fr;grid-template-rows:auto 1fr auto;gap:3px!important}
 .aj-ah-stories .aj-ah-temple-book .aj-h10-temple-copy>p{font-size:10px!important;line-height:1.35!important;text-align:center}
 .aj-ah-stories .aj-ah-temple-book .aj-ah-temple-card h3{grid-column:1;grid-row:2;font-size:14px!important;line-height:1.15!important;align-self:center}
 .aj-ah-stories .aj-ah-temple-book .aj-h10-card-action{grid-column:1;grid-row:3;font-size:10px!important;line-height:1.25!important}
 .aj-ah-book-cover-title>strong{font-size:23px!important}
 .aj-ah-book-cover-title>span{font-size:7px;letter-spacing:.1em}
 .aj-ah-temple-book .aj-ah-temple-controls>button{width:40px;height:40px}
 .aj-ah-temple-book .aj-ah-book-footer{gap:7px 12px;padding-inline:12px}
 .aj-ah-temple-book .aj-ah-temple-heading-links{height:auto!important;min-height:32px}
 .aj-ah-temple-book .aj-ah-book::before{inset:4px -3px -4px 0}
}
@media(prefers-reduced-motion:reduce){
 [data-aj-founder-tilt="r7"],[data-aj-founder-tilt="r7"] .aj-h10-founder-image,[data-aj-founder-tilt="r7"] .aj-h10-founder-copy{transform:none!important;transition:none!important}
 .aj-hc-type-letter{opacity:1!important;animation:none!important}
 .aj-hc-type-word::after{display:none!important}
}

/* Owner-approved carousel compaction, 7 October 2026.
   Do not change photo width/height, ring radius, perspective or rotation. */
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] {
  padding-top: 10px;
}
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-feature-heading {
  max-width: 1180px;
}
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-feature-heading .section-heading>div {
  max-width: none!important;
}
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-feature-heading h2 {
  font-size: clamp(30px,3.2vw,46px)!important;
  line-height: 1.1!important;
  max-width: none;
  margin: 6px auto 0!important;
}
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-feature-heading .section-kicker {
  margin: 0!important;
}
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-feature-heading .section-note {
  margin: 6px auto 0!important;
}
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-stage {
  height: calc(var(--aj-w)*2.44);
}
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-orbit-caption {
  max-width: 800px;
  min-height: 84px;
  margin: 0 auto;
}
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-collection-caption {
  display: grid;
  grid-template-columns: 54px minmax(0,1fr);
  align-items: center;
  gap: 6px 12px;
}
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-collection-caption[hidden] {
  display: none!important;
}
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-count {
  margin: 0!important;
  white-space: nowrap;
  letter-spacing: .12em;
}
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-collection-caption h3 {
  font-size: clamp(23px,2.2vw,32px)!important;
  margin: 0!important;
}
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-collection-caption>p:last-child {
  grid-column: 1 / -1;
  font-size: 12px;
  line-height: 1.6;
}
body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-controls {
  margin: 4px auto 8px;
}
@media(max-width:759px) {
  body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] {
    padding-top: 14px;
  }
  body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-feature-heading h2 {
    font-size: 28px!important;
  }
  body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-stage {
    height: calc(var(--aj-w)*2.25);
  }
  body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-orbit-caption {
    min-height: 100px;
  }
  body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-collection-caption {
    grid-template-columns: 48px minmax(0,1fr);
    gap: 6px 8px;
  }
  body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-collection-caption h3 {
    font-size: 23px!important;
  }
  body[data-aj-astra-route="home"] .aj-ah-feature[data-aj-home-feature="r7"] .aj-ah-collection-caption>p:last-child {
    font-size: 11px;
    line-height: 1.6;
  }
}
