/* City pages (/kerala/ and /kerala/<city>/): written by
   scripts/build_city_pages.py. Same voice as the home page: lilac hero,
   paper sections, the people swatches, the brush wordmark for the
   moments that are about six o'clock. */

.script { font-family: "Rustic Roadway", "Archivo", system-ui, sans-serif; font-weight: 400; letter-spacing: -0.02em; line-height: 1; margin: 0; }
.malayalam { margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 600; color: var(--lilac-deep); }

/* ---------------------------------------------------------------- Hero */
.city-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--lilac); color: var(--ink);
  min-height: clamp(540px, calc(88svh - 72px), 820px); display: grid; align-items: center;
}
.city-rings { position: absolute; z-index: -1; right: -16%; top: 50%; width: min(1100px, 120vw); translate: 0 -50%; animation: city-turn 100s linear infinite; }
.city-rings circle[fill="#fff"] { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9)); }
@keyframes city-turn { to { rotate: 360deg; } }
.city-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.city-hero-inner { display: grid; justify-items: start; gap: 22px; padding: 64px 0 88px; }
.city-hero .display { font-size: clamp(46px, 6.4vw, 92px); letter-spacing: -0.045em; line-height: 0.92; font-stretch: 115%; }
.city-hero .lede { color: var(--on-lilac); max-width: 34ch; }
.city-hero .eyebrow { color: var(--on-lilac); }
.kerala-hero .malayalam { color: var(--on-lilac); opacity: 0.8; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.hero-cta .btn-light, .get-cta .btn-light { height: 60px; box-shadow: none; }
.crumbs { display: flex; gap: 8px; font-size: 15px; font-weight: 650; color: var(--on-lilac); }
.crumbs a { opacity: 0.7; text-decoration: none; }
.crumbs a:hover { opacity: 1; }
.crumbs span[aria-hidden] { opacity: 0.4; }

/* An example plan, the way the app shows one. */
.plan-card {
  margin: 0; width: min(340px, 80vw); padding: 26px 26px 22px; border-radius: 30px;
  background: var(--card); box-shadow: var(--shadow); rotate: 3deg; display: grid; gap: 14px;
}
.plan-card p { margin: 0; }
.plan-time { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 650; color: var(--ink-3); }
.plan-time strong { font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.plan-title { font-size: clamp(40px, 12vw, 58px); color: var(--ink); white-space: nowrap; }
.plan-place { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink-2); }
.plan-place svg { width: 18px; height: 18px; flex: none; }
.plan-who { display: flex; align-items: center; gap: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.plan-who .face { width: 34px; height: 34px; border-radius: 50%; background: var(--tint); box-shadow: 0 0 0 3px var(--card); }
.plan-who .face + .face { margin-left: -8px; }
.plan-who small { margin-left: 12px; font-size: 14px; font-weight: 650; color: var(--ink-2); }

/* ---------------------------------------------------------------- Six o'clock */
.city-six { background: var(--paper); padding: clamp(72px, 9vw, 120px) 0 0; }
.six-grid { display: grid; gap: 20px; max-width: 860px; }
.stamp { justify-self: start; margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--lilac-soft); color: var(--on-lilac); font-size: 15px; font-weight: 750; }
.six-line { margin: 0; font-weight: 800; font-stretch: 104%; letter-spacing: -0.025em; line-height: 1.18; font-size: clamp(26px, 3.2vw, 40px); }

/* ---------------------------------------------------------------- Ideas */
.city-ideas { background: var(--paper); padding: clamp(80px, 10vw, 130px) 0; }
.city-ideas .h2 { margin: 12px 0 18px; }
.ideas { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.idea { padding: 26px 24px 28px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; align-content: start; gap: 10px; }
.idea-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tint); font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.idea p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------------------------------------------------------------- Areas */
.city-areas { background: var(--card); padding: clamp(64px, 8vw, 100px) 0; }
.city-areas .muted { margin: 10px 0 22px; max-width: 60ch; }
.areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { padding: 9px 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 650; font-size: 15px; }
.safety-note { margin: 28px 0 0; max-width: 64ch; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--lilac-soft); color: var(--on-lilac); }

/* ---------------------------------------------------------------- Steps */
.city-steps { background: var(--charcoal); color: #fff; padding: clamp(80px, 10vw, 130px) 0; }
.mini-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mini-steps li { padding: 26px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); display: grid; gap: 10px; align-content: start; }
.mini-steps span { font-weight: 800; color: var(--lilac); }
.mini-steps p { margin: 0; color: rgba(255, 255, 255, 0.7); }

/* ---------------------------------------------------------------- FAQ */
.city-faq { background: var(--paper); padding: clamp(80px, 10vw, 130px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius-sm); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; font-weight: 750; font-size: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); font-weight: 700; transition: rotate 0.2s ease; }
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item p { margin: 0; padding: 0 22px 22px; color: var(--ink-2); }

/* ---------------------------------------------------------------- Other cities */
.city-others { background: var(--card); padding: clamp(56px, 7vw, 88px) 0; }
.others { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.other-city { display: grid; gap: 2px; padding: 16px 22px; border-radius: var(--radius-sm); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; min-width: 180px; }
.other-city span { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.other-city small { color: var(--ink-3); font-weight: 600; }
.other-city:hover { box-shadow: inset 0 0 0 1.5px var(--lilac-deep); }

/* ---------------------------------------------------------------- Kerala hub */
.kerala-cities { background: var(--paper); padding: clamp(80px, 10vw, 130px) 0; }
.kerala-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.kerala-city {
  display: flex; flex-direction: column; gap: 8px; padding: 30px 28px; border-radius: var(--radius-lg);
  background: var(--tint); text-decoration: none; color: var(--ink); min-height: 280px; transition: transform 0.2s ease;
}
.kerala-city:hover { transform: translateY(-4px); }
.kc-name { font-weight: 900; font-stretch: 112%; letter-spacing: -0.035em; font-size: clamp(34px, 3.4vw, 46px); line-height: 1; }
.kc-also { font-weight: 650; opacity: 0.6; }
.kc-line { margin-top: 18px; color: var(--ink-2); font-weight: 550; }
.kc-go { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 8px; font-weight: 750; }
.kc-go svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- Get */
.city-get { background: var(--lilac); color: var(--on-lilac); padding: clamp(80px, 10vw, 120px) 0; text-align: center; }
.get-script { font-size: clamp(64px, 10vw, 130px); }
.get-line { margin: 18px 0 0; font-size: 19px; font-weight: 600; }
.get-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

@media (prefers-reduced-motion: reduce) { .city-rings { animation: none; } }

/* ---------------------------------------------------------------- Narrow */
@media (max-width: 960px) {
  .city-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-card { justify-self: start; margin-bottom: 72px; rotate: 0deg; }
  .city-hero-inner { padding-bottom: 32px; }
  .ideas, .kerala-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ideas, .kerala-grid, .mini-steps { grid-template-columns: minmax(0, 1fr); }
  .city-rings { right: -70%; opacity: 0.7; }
  .other-city { flex: 1 1 100%; }
}
