/* Zen Rising on the A Note of Zen page (Karan, 2 Nov 2026): three screens in the HPAD Mallard paintings of the Zen Rising
   website, the painted master plan shown, every road leading to zen.hpad.co.in/zenrising. Navy and cream from the paintings. */
.zr3 { --zr3-navy: #1C2266; --zr3-cream: #FDF6E3; --zr3-ink: #1F0D14; position: relative; overflow: hidden; }
.zr3-lbl, .zr3-sub, .zr3-btn, .zr3-btn-line, .zr3-loc figcaption, .zr3-map-tag { font-family: "Switzer", system-ui, sans-serif; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
/* the FINAL Zen Rising logo (Karan, 5 Nov 2026): the original letters with FARMLANDS below, paths unchanged from
   outputs/Zen/Zen Rising Assets/logos/zen-rising-farmlands, in the old wordmark's 7115-unit frame so ZEN RISING keeps its
   size; 4.69 : 1 (was 6.88 : 1). Colourways from the kit: dawn-sky cream #FFF8E6, night blue #1C2266 (.zr3-logo-ink).
   Both render under 600 px, so they use the kit's SMALL-SIZE version (farmlands-small/, FARMLANDS stem 20 units). */
.zr3-logo { display: block; width: min(560px, 74vw); aspect-ratio: 4.6902; background: #FFF8E6;
  -webkit-mask: url(../assets/zr/zen-rising-farmlands-small.svg?v=3) center / contain no-repeat; mask: url(../assets/zr/zen-rising-farmlands-small.svg?v=3) center / contain no-repeat; }
.zr3-logo-ink { background: var(--zr3-navy); width: min(460px, 70vw); }
.zr3-h { font-weight: 300; font-size: clamp(2rem, 1rem + 3vw, 4rem); line-height: 1.04; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.zr3-p { font-weight: 400; font-size: clamp(1rem, .9rem + .3vw, 1.2rem); line-height: 1.55; margin: 0; max-width: 34ch; }

/* 1. morning at the gate: the painting rises over the question */
.zr3.zr3-arrive { z-index: 1; height: 100vh; height: 100svh; min-height: 560px; padding: 0; display: block; background: var(--zr3-navy); color: var(--zr3-cream); text-align: center; }
.zr3-bg, .zr3-bg img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.zr3-bg img { object-fit: cover; object-position: 50% 60%; transform: scale(1.08); transition: transform 2.6s cubic-bezier(.2, .7, .1, 1); }
.zr3-arrive.is-in .zr3-bg img { transform: scale(1); }
.zr3-arrive::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 34, 102, .55) 0%, rgba(28, 34, 102, 0) 34%, rgba(28, 34, 102, 0) 55%, rgba(31, 13, 20, .5) 100%); pointer-events: none; }
.zr3-arrive-in { position: absolute; z-index: 1; left: 0; right: 0; top: calc(var(--hd-h) + 7vh); display: grid; justify-items: center; gap: 18px; padding: 0 var(--gut); }
.zr3-sub { margin: 0; font-size: .74rem; line-height: 1.7; max-width: 46ch; text-shadow: 0 1px 12px rgba(28, 34, 102, .6); }
.zr3-arrive .zr3-logo { filter: drop-shadow(0 2px 18px rgba(28, 34, 102, .5)); }
.js .zr3-arrive .zr3-logo, .js .zr3-arrive .zr3-sub { opacity: 0; transform: translateY(16px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
.js .zr3-arrive .zr3-sub { transition-delay: .6s; }
.zr3-arrive.is-in .zr3-logo, .zr3-arrive.is-in .zr3-sub { opacity: 1; transform: none; }

/* 2. the painted master plan */
.zr3-plan { background: var(--zr3-cream); color: var(--zr3-navy); padding: calc(var(--hd-h) + 8vh) 0 10vh; }
.zr3-plan-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.zr3-words { display: grid; gap: 20px; }
.zr3-lbl { margin: 0; font-size: .72rem; color: #B8321C; }
.zr3-loc { margin: 14px 0 0; display: grid; gap: 10px; max-width: 360px; }
.zr3-loc img { width: 100%; height: auto; display: block; background: #CBD3A9; border-radius: 3px; }
.zr3-loc figcaption { font-size: .6875rem; opacity: .75; }
.zr3-map { position: relative; display: block; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(28, 34, 102, .45); }
.zr3-map img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.zr3-map:hover img { transform: scale(1.035); }
.zr3-map-tag { position: absolute; right: 16px; bottom: 16px; padding: 14px 18px; font-size: .6875rem; color: var(--zr3-cream); background: var(--zr3-navy); border-radius: 999px; transition: background-color .35s var(--ease); }
.zr3-map:hover .zr3-map-tag { background: #B8321C; }
.js .zr3-map { opacity: 0; transform: translateY(26px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .zr3-map.is-in { opacity: 1; transform: none; }

/* 3. into the sky: the sun rises, the logo, the way in */
.zr3.zr3-go { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; color: var(--zr3-navy); background: #F6C9A0; padding: calc(var(--hd-h) + 4vh) var(--gut) 22vh; }
.zr3-sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zr3-sun { position: absolute; left: 50%; top: 72%; width: clamp(110px, 13vw, 200px); aspect-ratio: 1; transform: translate(-50%, -50%); filter: drop-shadow(0 0 34px rgba(255, 170, 80, .6)); transition: top 2.4s cubic-bezier(.2, .7, .1, 1); }
.zr3-go.is-in .zr3-sun { top: 20%; animation: zr3Sun 6s ease-in-out 2.4s infinite; }
@keyframes zr3Sun { 0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); } 50% { transform: translate(-50%, -50%) scale(1.06) rotate(8deg); } }
.zr3-cnr { position: absolute; bottom: -2px; width: clamp(220px, 34vw, 560px); height: auto; pointer-events: none; }
.zr3-cnr-l { left: -2px; } .zr3-cnr-r { right: -2px; }
.zr3-go-in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; margin-top: 18vh; }
.zr3-go .zr3-p { max-width: 40ch; }
.zr3-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.zr3 .zr3-btn { margin: 0; min-height: 56px; padding: 0 30px; font-size: .74rem; background: var(--zr3-navy); color: var(--zr3-cream); border-radius: 999px; text-decoration: none; }
.zr3 .zr3-btn:hover { background: #B8321C; color: var(--zr3-cream); }
.zr3 .zr3-btn-line { margin: 0; min-height: 56px; padding: 0 26px; font-size: .74rem; background: rgba(253, 246, 227, .5); color: var(--zr3-navy); border: 1px solid var(--zr3-navy); border-radius: 999px; }
.zr3 .zr3-btn-line:hover { background: var(--zr3-navy); color: var(--zr3-cream); }
.js .zr3-go-in > * { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .zr3-go.is-in .zr3-go-in > * { opacity: 1; transform: none; }
.js .zr3-go.is-in .zr3-go-in > :nth-child(1) { transition-delay: 1.2s; }
.js .zr3-go.is-in .zr3-go-in > :nth-child(2) { transition-delay: 1.45s; }
.js .zr3-go.is-in .zr3-go-in > :nth-child(3) { transition-delay: 1.6s; }
.js .zr3-go.is-in .zr3-go-in > :nth-child(4) { transition-delay: 1.75s; }

@media (max-width: 899px) {
  .zr3-plan-grid { grid-template-columns: 1fr; }
  .zr3-map { order: 2; }
  .zr3-loc { max-width: 280px; }
  .zr3-arrive-in { top: calc(var(--hd-h) + 5vh); }
  .zr3-bg img { object-position: 42% 60%; }
  .zr3-cnr { width: 46vw; }
  .zr3-go-in { margin-top: 14vh; }
}
@media (prefers-reduced-motion: reduce) {
  .zr3-bg img, .zr3-map img { transform: none !important; transition: none; }
  .zr3-sun { top: 20%; transition: none; } .zr3-go.is-in .zr3-sun { animation: none; }
  .js .zr3-go-in > *, .js .zr3-map, .js .zr3-arrive .zr3-logo, .js .zr3-arrive .zr3-sub { opacity: 1; transform: none; }
}

/* the final Zen Rising plan on the A Note of Zen master plan (Karan, 5 Nov 2026): its plots drawn fine inside the arm */
.zplan-svg .zr-hatch.zr-plots { stroke-width: .7; stroke-opacity: .7; }
