/* ===========================================================================
   GODREJ MAJESTY — page extras (builds on jkg / anandita / ajnara / palm CSS)
   Neoclassical arch hero · 30:70 offer ring · design story · zones
   =========================================================================== */

/* ---------- Hero: slideshow framed in a classical arch (desktop) ---------- */
.gm-hero { background:
    radial-gradient(70% 90% at 78% 40%, rgba(160, 120, 70, .22), transparent 70%),
    linear-gradient(180deg, #0B0A08 0%, #050605 100%); }
.gm-arch-line { display: none; }
@media (min-width: 1001px) {
    .gm-hero .jk-slides {
        inset: auto; top: 11%; bottom: 15%; right: max(5vw, calc((100vw - 1240px) / 2));
        width: min(34vw, 500px); z-index: 0; overflow: hidden;
        border-radius: 260px 260px 22px 22px;
        box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(212, 175, 55, .45);
    }
    .gm-hero .jk-hero-inner, .gm-hero .jk-hero-foot { width: 100%; }
    .gm-hero .jk-hero-copy { max-width: min(600px, calc(100% - min(34vw, 500px) - 40px)); }
    .gm-hero .jk-slide img { transform: scale(1.06); }
    .gm-hero .jk-scan { display: none; }
    .gm-hero .jk-hero-shade { background: linear-gradient(0deg, rgba(5, 7, 5, .9) 0%, rgba(5, 7, 5, 0) 30%); }
    .gm-hero .jk-hero-grid { mask-image: linear-gradient(90deg, #000 0%, transparent 60%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%); }
    .gm-arch-line {
        display: block; position: absolute; z-index: 0; pointer-events: none;
        top: calc(11% - 18px); bottom: calc(15% - 18px); right: calc(max(5vw, calc((100vw - 1240px) / 2)) - 18px);
        width: calc(min(34vw, 500px) + 36px); border-radius: 280px 280px 30px 30px;
        border: 1px solid rgba(212, 175, 55, .28);
        animation: gmBreathe 7s ease-in-out infinite;
    }
    .gm-arch-line::before {
        content: '\2766'; position: absolute; left: 50%; top: -15px; transform: translateX(-50%);
        font-size: 22px; line-height: 1; color: var(--gold-bright); background: #0B0A08; padding: 0 10px;
    }
}
@keyframes gmBreathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.gm-price-card .jk-onwards { font-size: .42em; }

/* ---------- 30:70 offer ---------- */
.gm-offer { position: relative; overflow: hidden; }
.gm-offer::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
    background: radial-gradient(60% 70% at 85% 30%, rgba(212, 175, 55, .1), transparent 70%);
}
.gm-offer-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: stretch; }
.gm-units { display: grid; gap: 14px; align-content: start; }
.gm-unit {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; width: 100%;
    padding: 22px 24px; border-radius: 22px; text-align: left; font: inherit; color: inherit; cursor: pointer;
    background: rgba(255, 255, 255, .025); border: 1px solid rgba(212, 175, 55, .22);
    transition: border-color .4s, background .4s, transform .5s var(--ease-lux), box-shadow .5s;
}
.gm-unit:hover { transform: translateY(-3px); border-color: rgba(212, 175, 55, .5); }
.gm-unit.is-on { background: linear-gradient(120deg, rgba(212, 175, 55, .16), rgba(212, 175, 55, .04)); border-color: var(--gold-bright); box-shadow: 0 18px 50px rgba(212, 175, 55, .14); }
.gm-unit:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.gm-unit-no {
    width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
    font: 400 18px 'Fraunces', Georgia, serif; color: var(--gold-bright); border: 1px solid rgba(212, 175, 55, .45);
}
.gm-unit.is-on .gm-unit-no { background: var(--grad-gold); color: #0A0D0B; border-color: transparent; }
.gm-unit-body b { display: block; font: 400 clamp(20px, 1.8vw, 24px)/1.2 'Fraunces', Georgia, serif; color: #fff; }
.gm-unit-body small { display: block; margin-top: 4px; font-size: 13px; color: var(--text-dim); }
.gm-unit-price { text-align: right; font: 400 clamp(22px, 2.2vw, 30px)/1.1 'Fraunces', Georgia, serif; color: #fff; white-space: nowrap; }
.gm-unit-price small { display: block; font: 500 10px 'IBM Plex Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.gm-unit-price sup { color: var(--gold-bright); font-size: .5em; }
.gm-why { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 6px; }
.gm-why li { padding: 16px; border-radius: 16px; border: 1px dashed rgba(212, 175, 55, .28); }
.gm-why b { display: block; font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.gm-why span { font-size: 12.5px; line-height: 1.5; color: var(--text-dim); }

.gm-split {
    position: relative; padding: 28px; border-radius: 26px; display: grid; gap: 18px; align-content: start;
    background: linear-gradient(160deg, rgba(20, 24, 20, .92), rgba(10, 13, 11, .96)); border: 1px solid rgba(212, 175, 55, .3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.gm-split-head span { display: block; font: 500 10.5px 'IBM Plex Mono', monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); }
.gm-split-head strong { display: block; margin-top: 4px; font: 400 22px/1.25 'Fraunces', Georgia, serif; color: #fff; }
.gm-ring { position: relative; width: min(230px, 70%); margin: 0 auto; aspect-ratio: 1; }
.gm-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gm-ring circle { fill: none; stroke-width: 14; }
.gm-ring-bg { stroke: rgba(255, 255, 255, .06); }
.gm-ring-70 { stroke: rgba(212, 175, 55, .28); stroke-dasharray: 69 100; stroke-dashoffset: -30.5; stroke-linecap: round; }
.gm-ring-30 { stroke: var(--gold-bright); stroke-dasharray: 29 100; stroke-dashoffset: 0; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(241, 198, 74, .55)); }
.gm-split.is-in .gm-ring-30 { animation: gmDraw30 1.4s var(--ease-lux) both; }
.gm-split.is-in .gm-ring-70 { animation: gmDraw70 1.6s .3s var(--ease-lux) both; }
@keyframes gmDraw30 { from { stroke-dasharray: 0 100; } }
@keyframes gmDraw70 { from { stroke-dasharray: 0 100; } }
.gm-ring-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gm-ring-mid b { font: 400 44px/1 'Fraunces', Georgia, serif; color: #fff; }
.gm-ring-mid b i { font-style: normal; color: var(--gold-bright); padding: 0 2px; }
.gm-ring-mid small { margin-top: 6px; font: 500 10px 'IBM Plex Mono', monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); }
.gm-split-rows { display: grid; gap: 2px; }
.gm-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.gm-row span { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: #DDE2DC; }
.gm-row span small { font: 500 11px 'IBM Plex Mono', monospace; color: var(--text-dim); }
.gm-row i { width: 10px; height: 10px; border-radius: 50%; background: rgba(212, 175, 55, .35); }
.gm-row.is-now i { background: var(--gold-bright); box-shadow: 0 0 10px rgba(241, 198, 74, .7); }
.gm-row b { font: 400 22px 'Fraunces', Georgia, serif; color: #fff; font-variant-numeric: tabular-nums; }
.gm-row.is-now b { color: var(--gold-bright); }
.gm-row.is-total { border-bottom: 0; }
.gm-row.is-total span { color: var(--text-dim); font-size: 13px; }
.gm-row.is-total b { font-size: 17px; color: #DDE2DC; }
.gm-split-note { font-size: 12px; line-height: 1.6; color: #8A938B; }
.gm-split-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.gm-split-ctas .btn { flex: 1 1 200px; justify-content: center; }

/* Plans on the warm brochure paper */
.gm-plan-img { background: #EDE0CC !important; }

/* ---------- Design story mosaic ---------- */
.gm-story-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
.gm-story-card { position: relative; margin: 0; overflow: hidden; border-radius: 22px; border: 1px solid rgba(212, 175, 55, .18); background: #0C100D; }
.gm-story-tall { grid-row: span 2; }
.gm-story-wide { grid-column: span 2; }
.gm-story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-lux); }
.gm-story-card:hover img { transform: scale(1.06); }
.gm-story-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 7, 5, .9)); pointer-events: none; }
.gm-story-card figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: grid; gap: 4px; }
.gm-story-card figcaption span { font: 500 11px 'IBM Plex Mono', monospace; letter-spacing: .2em; color: var(--gold-bright); }
.gm-story-card figcaption b { font: 400 clamp(20px, 1.9vw, 26px)/1.2 'Fraunces', Georgia, serif; color: #fff; }
.gm-story-card figcaption small { font-size: 13px; line-height: 1.5; color: #C9CFC8; max-width: 46ch; }

/* ---------- Amenity zones ---------- */
.gm-zone ul { gap: 6px; }

/* ---------- Master plan + location: two cards ---------- */
.gm-site-grid { grid-template-columns: 1.5fr 1fr; }
.gm-site-grid .jk-site-img { height: 400px; }
.gm-site-grid .jk-site-card:first-child img { object-position: center; }

/* Brochure band */
.gm-cta { background:
    linear-gradient(100deg, rgba(8, 11, 9, .95) 0%, rgba(8, 11, 9, .8) 55%, rgba(8, 11, 9, .35) 100%),
    url('godrej/parterre-garden.jpg') right center / cover !important; }

@media (max-width: 1100px) {
    .gm-offer-grid { grid-template-columns: 1fr; }
    .gm-story-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 280px 280px; }
    .gm-story-tall { grid-row: span 2; }
    .gm-story-wide { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
    .gm-hero .jk-hero-shade { background:
        linear-gradient(0deg, rgba(5, 7, 5, .96) 0%, rgba(5, 7, 5, .6) 55%, rgba(5, 7, 5, .35) 100%); }
}
@media (max-width: 760px) {
    .gm-site-grid { grid-template-columns: 1fr; }
    .gm-site-grid .jk-site-img { height: 300px; }
}
@media (max-width: 640px) {
    .gm-unit { grid-template-columns: auto 1fr; padding: 18px; gap: 14px; }
    .gm-unit-no { width: 42px; height: 42px; font-size: 15px; }
    .gm-unit-price { grid-column: 2; text-align: left; }
    .gm-unit-price small { display: inline; margin-right: 6px; }
    .gm-why { grid-template-columns: 1fr; }
    .gm-split { padding: 22px 18px; }
    .gm-row b { font-size: 19px; }
    .gm-story-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 260px; }
    .gm-story-tall { grid-row: span 1; }
    .gm-story-wide { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .gm-arch-line { animation: none; }
    .gm-split.is-in .gm-ring-30, .gm-split.is-in .gm-ring-70 { animation: none; }
    .gm-unit, .gm-story-card img { transition: none; }
}
