/* Location — cinematic hero, the address, the developer's map as a 3D model, destinations in photographs,
   everything within reach, live map and connectivity. */
:root { --c-faith: #b8862c; --c-daily: #4f8a62; --c-care: #4a7aa0; --c-move: #312726; }

/* ---------- Address ---------- */
.addr__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: end; }
.addr__main h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.04; max-width: 14ch; }
.addr__line { margin-top: 1rem; font: 500 clamp(1.15rem, 1.8vw, 1.45rem)/1.4 var(--font-display); letter-spacing: .02em; color: var(--ink); }
.addr__note { margin-top: .9rem; max-width: 34rem; color: var(--ink-soft); }
.addr__main .actions { margin-top: 1.75rem; }
.addr__facts { display: grid; gap: 1.6rem; }
.addr__facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; }
.addr__facts dt { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.addr__facts dd { margin: 0; white-space: nowrap; font-size: .9rem; color: var(--ink-soft); }
.addr__facts b { font: 500 clamp(2.8rem, 5vw, 4.2rem)/1 var(--font-display); color: var(--ink); margin-right: .25rem; }
.addr__src { margin-top: 2rem; font-size: .84rem; color: var(--muted); }
@media (min-width: 960px) { .addr__grid { grid-template-columns: 1.35fr 1fr; column-gap: clamp(3rem, 7vw, 7rem); } }

/* ---------- The map as a 3D model ---------- */
.map3d { position: relative; padding-top: clamp(4rem, 8vw, 7rem); background: linear-gradient(180deg, var(--cream-2) 0%, #efe3cd 55%, #e9dbc1 100%); overflow: hidden; }
.map3d__head { display: grid; gap: .9rem; margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.map3d__head h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.04; }
.map3d__head p { max-width: 32rem; color: var(--ink-soft); }
.map3d__stage { display: none; position: relative; height: min(88vh, 56rem); }
.map3d--gl .map3d__stage { display: block; }
.map3d--gl .map3d__flat { display: none; }
.map3d__flat { padding-bottom: clamp(4rem, 8vw, 6rem); }
.map3d__gl { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 1.2s var(--ease); }
.map3d.is-loaded .map3d__gl { opacity: 1; }
.map3d__gl:active { cursor: grabbing; }
.map3d__marks { position: absolute; inset: 0; pointer-events: none; }
.map3d__mark { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .75rem .32rem .32rem; white-space: nowrap; font: 600 .82rem/1.2 var(--font-body); color: var(--ink); background: rgba(255, 252, 245, .96); border: 1px solid rgba(49, 39, 38, .12); border-radius: 99px; box-shadow: 0 10px 24px -14px rgba(49, 39, 38, .6); cursor: pointer; pointer-events: auto; transition: opacity .5s, background-color .3s, color .3s; will-change: transform; }
.map3d__mark span { display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; font-size: .7rem; color: #fff; background: var(--gold); }
.map3d__mark--project span { background: var(--ink); }
.map3d__mark.is-on { z-index: 2; color: #fff; background: var(--ink); border-color: var(--ink); }
.map3d__mark.is-on span { background: var(--gold); }
.map3d__ui { position: absolute; left: var(--gutter); right: calc(var(--gutter) + 4.75rem); bottom: 1.4rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; pointer-events: none; }
.map3d__list { display: flex; flex-wrap: wrap; gap: .45rem; pointer-events: auto; }
.map3d__list button { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.6rem; padding: .35rem .95rem .35rem .4rem; font: 500 .86rem/1.2 var(--font-body); color: var(--ink); background: rgba(255, 252, 245, .9); border: 1px solid rgba(49, 39, 38, .12); border-radius: 99px; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .3s, color .3s; }
.map3d__list button span { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; font-size: .72rem; font-weight: 600; color: #fff; background: var(--gold); }
.map3d__list button[aria-pressed="true"] { color: #fff; background: var(--ink); }
.map3d__zoom { display: flex; gap: .35rem; pointer-events: auto; }
.map3d__zoom button { width: 2.75rem; height: 2.75rem; font: 400 1.25rem/1 var(--font-body); color: var(--ink); background: rgba(255, 252, 245, .92); border: 1px solid rgba(49, 39, 38, .14); border-radius: 50%; cursor: pointer; transition: background-color .3s, color .3s; }
.map3d__zoom button:hover { color: #fff; background: var(--ink); }
.map3d__panel { position: absolute; z-index: 3; top: 1.25rem; right: var(--gutter); width: min(23rem, 38vw); overflow: hidden; background: rgba(255, 252, 246, .97); border-radius: 1rem; box-shadow: 0 30px 70px -40px rgba(49, 39, 38, .7); }
.map3d__panel.is-in { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.map3d__pimg { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.map3d__panel.no-img .map3d__pimg { display: none; }
.map3d__pimg img { width: 100%; height: 100%; object-fit: cover; }
.map3d__pbody { padding: 1.1rem 1.3rem 1.3rem; }
.map3d__ptime { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a6a2a; }
.map3d__pname { margin: .35rem 0 .4rem; font-size: 1.65rem; line-height: 1.1; }
.map3d__ptext { font-size: .92rem; color: var(--ink-soft); }
.map3d__pmeta { margin-top: .5rem; font-size: .74rem; color: var(--muted); }
.map3d__pmeta:empty { display: none; }
.map3d__pdir { display: inline-block; margin-top: .75rem; font-size: .9rem; }
.map3d__label { position: absolute; left: var(--gutter); top: 1.25rem; max-width: 26rem; font-size: .8rem; color: var(--ink-soft); }
.map3d__label .tag { margin-right: .4rem; }
@media (max-width: 1100px) {
  .map3d__stage { height: auto; }
  .map3d__gl { position: relative; display: block; height: min(68svh, 36rem); }
  .map3d__marks { position: absolute; left: 0; right: 0; top: 0; bottom: auto; height: min(68svh, 36rem); }
  .map3d__label { position: static; padding: .75rem var(--gutter) 0; }
  .map3d__ui { position: static; flex-direction: column; align-items: stretch; padding: .9rem var(--gutter) 0; }
  .map3d__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .2rem; }
  .map3d__list::-webkit-scrollbar { display: none; }
  .map3d__list button { flex: none; }
  .map3d__zoom { position: absolute; right: var(--gutter); top: calc(min(68svh, 36rem) - 3.6rem); }
  .map3d__panel { position: relative; top: auto; right: auto; width: auto; max-width: 44rem; margin: 1rem var(--gutter) clamp(3rem, 8vw, 4rem); }
}
@media (min-width: 640px) and (max-width: 1100px) { .map3d__panel { display: grid; grid-template-columns: 2fr 3fr; } .map3d__pimg { aspect-ratio: auto; height: 100%; min-height: 12rem; } }
@media (max-width: 640px) {
  .map3d__gl, .map3d__marks { height: min(58svh, 27rem); }
  .map3d__zoom { top: calc(min(58svh, 27rem) - 3.6rem); }
  .map3d__mark { font-size: .72rem; padding: .25rem .55rem .25rem .25rem; }
  .map3d__mark span { width: 1.15rem; height: 1.15rem; font-size: .62rem; }
  .map3d__mark:not(.is-on) { font-size: 0; gap: 0; padding: .2rem; }
  .map3d__mark:not(.is-on) span { font-size: .62rem; }
}
@media (min-width: 1101px) { .map3d__stage { margin-bottom: clamp(3rem, 6vw, 5rem); } }

/* ---------- Destinations, in photographs ---------- */
.dest__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.dest__head h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.04; max-width: 16ch; }
.dest__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 3rem); }
.dest__item { margin: 0; }
.dest__img { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; background: var(--sand); cursor: zoom-in; border-radius: .25rem; }
.dest__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter .8s; }
.dest__img:hover img { transform: scale(1.045); }
.dest__item figcaption { display: block; margin-top: 1.1rem; max-width: 34rem; }
.dest__time { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8a6a2a; }
.dest__time b { font: 500 2rem/1 var(--font-display); letter-spacing: 0; margin-right: .2rem; color: var(--ink); }
.dest__item h3 { margin: .35rem 0 .4rem; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; }
.dest__item p { color: var(--ink-soft); }
.dest__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.25rem; margin-top: .7rem; }
.dest__foot .link { font-size: .92rem; }
.dest__foot .credit { font-size: .74rem; }
.dest__item--mandir .dest__img { aspect-ratio: 4 / 3; }
.dest__item--dwar .dest__img { aspect-ratio: 4 / 5; }
.dest__item--dwar img { object-position: 50% 25%; }
.dest__item--harsh .dest__img { aspect-ratio: 16 / 9; }
.dest__item--jeen .dest__img { aspect-ratio: 1; }
@media (min-width: 900px) {
  .dest__grid { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .dest__item--mandir { grid-column: 1 / 8; }
  .dest__item--dwar { grid-column: 9 / 13; margin-top: clamp(4rem, 9vw, 9rem); }
  .dest__item--harsh { grid-column: 1 / 9; }
  .dest__item--jeen { grid-column: 9 / 13; margin-top: clamp(2rem, 6vw, 6rem); }
}

/* ---------- Everything within reach ---------- */
.reach__head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.reach__head h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.04; }
.reach__head p { margin-top: .6rem; color: var(--ink-soft); }
.reach__cols { display: grid; gap: clamp(2.25rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem); }
@media (min-width: 860px) { .reach__cols { grid-template-columns: 1fr 1fr; } }
.reach__cat h3 { display: flex; align-items: center; gap: .65rem; margin-bottom: .6rem; font-size: .8rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.reach__cat h3 i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--c-faith); }
.reach__cat--daily h3 i { background: var(--c-daily); }
.reach__cat--care h3 i { background: var(--c-care); }
.reach__cat--move h3 i { background: var(--c-move); }
.reach__cat li { display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: baseline; gap: .9rem; padding: .7rem .5rem; border-radius: .4rem; transition: background-color .3s; }
.reach__cat li:hover { background: var(--cream); }
.reach__n { font-size: .74rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.reach__name { font: 500 1.3rem/1.25 var(--font-display); color: var(--ink); }
.reach__min { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.reach__min b { font: 500 1.4rem/1 var(--font-display); color: var(--ink); margin-right: .15rem; }

/* ---------- Live map and connectivity ---------- */
.live__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .live__grid { grid-template-columns: 7fr 5fr; } }
.live__map { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 1rem; background: var(--sand-soft); box-shadow: 0 30px 70px -45px rgba(49, 39, 38, .6); }
.live__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; color: var(--muted); }
.live__map.is-loaded .live__ph { display: none; }
.live__side h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.06; }
.conn { margin-top: 1.5rem; display: grid; gap: 1.15rem; }
.conn dt { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a6a2a; }
.conn dd { margin: .25rem 0 0; font: 500 1.25rem/1.35 var(--font-display); color: var(--ink); }
.live__side .actions { margin-top: 1.75rem; }
.live__note { margin-top: 1rem; font-size: .82rem; color: var(--muted); }
