/* ==========================================================================
   Nakshathra Residency — Long stays

   Page-specific styles only. Everything structural (the spine, the bands, the
   blocks, the steps, the speclist, the jaali and the star) comes from
   style.css; this file only adds the few arrangements this page needs.
   Colour is taken from the tokens, so both themes follow along.
   ========================================================================== */

/* --- page head ---------------------------------------------------------- */

.stayhead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

.stayhead h1 {
  font-size: var(--step-4);
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.stayhead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 54rem) {
  .stayhead__grid { grid-template-columns: 1fr; }
  .stayhead .niche { max-width: 22rem; }
}

/* --- who takes an apartment --------------------------------------------- */

.cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-soft);
}

.case {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.case h3 {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-family: "Karla", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.case h3 .star { width: 0.65rem; height: 0.65rem; align-self: center; }

.case p { font-size: 0.97rem; color: var(--text-2); max-width: 52ch; }

/* the last row of an even grid otherwise leaves one item with no rule under it */
.case:last-child { border-bottom: 1px solid var(--line-soft); }

@media (max-width: 54rem) {
  .cases { grid-template-columns: 1fr; }
}

/* --- the written terms note --------------------------------------------- */

.terms {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
}

.terms__mark { display: flex; }

.terms__mark .star { width: 1.5rem; height: 1.5rem; }

.terms .prose { max-width: 60ch; }

@media (max-width: 38rem) {
  .terms { grid-template-columns: 1fr; gap: 1rem; }
}

/* --- what to ask us ------------------------------------------------------ */

.asks { background: var(--surface); }

.asks__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* the questions read as one column, not as two half-sentences side by side */
.asks__list { grid-template-columns: 1fr; }

.asks__list li { align-items: flex-start; }

.asks__list .star { align-self: auto; margin-top: 0.45em; }

.asks__shot { margin: 0; }

.asks__shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

.asks__shot figcaption {
  margin-top: 0.9rem;
  font-size: var(--step--1);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-3);
}

@media (max-width: 54rem) {
  .asks__grid { grid-template-columns: 1fr; }
  .asks__shot { max-width: 34rem; }
}

/* --- closing enquiry ----------------------------------------------------- */

.enquire__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.closer { margin: 0; }

.closer img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

.closer figcaption {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.1rem;
  font-family: "Anek Latin", sans-serif;
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 34ch;
}

.closer figcaption .star { margin-top: 0.35em; }

@media (max-width: 54rem) {
  .closer { max-width: 34rem; }
}

/* The arch is reserved for the homepage niche, where a portrait composition
   carries it. These are landscape room photographs: cropping one to an arch
   or to 4/5 cuts the room away, so the figure stays a plain rectangle. */
.niche__frame {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

.niche__frame img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
