:root {
  --bg: #ffffff;
  --bg-ambient: #f3f4f6;
  --surface: #ffffff;
  --surface-subtle: #f7f7f9;
  --surface-elevated: #f1f2f5;
  --surface-hover: #e7e8ee;
  --primary: #dd0000;
  --primary-hover: #b80000;
  --primary-soft: rgba(221, 0, 0, 0.09);
  --text: #121212;
  --text-secondary: #374151;
  --text-muted: #52525b;
  --border: rgba(18, 18, 18, 0.11);
  --border-strong: rgba(18, 18, 18, 0.2);
  --shadow-card: 0 2px 10px rgba(18, 18, 18, 0.06);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --shell-max: 430px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg-ambient);
  color: var(--text);
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--text);
  background: var(--bg-ambient);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.oswald {
  font-family: "Oswald", -apple-system, BlinkMacSystemFont, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Mobile-only frame: edge-to-edge on phones, centered 430px phone column on desktop */
.ambient-frame {
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at 50% 0%, rgba(221, 0, 0, 0.06), transparent 40%), var(--bg-ambient);
}

.mobile-shell {
  width: 100%;
  max-width: var(--shell-max);
  min-height: 100dvh;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: var(--safe-top);
  padding-bottom: calc(82px + var(--safe-bottom));
}

@media (min-width: 481px) {
  .ambient-frame {
    padding: 18px 12px;
  }

  .mobile-shell {
    min-height: calc(100dvh - 36px);
    border-radius: 26px;
    border: 1px solid var(--border);
    box-shadow: 0 18px 48px rgba(18, 18, 18, 0.1);
    overflow: hidden;
  }
}

/* Announcement Strip */
.announcement-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #fff2f2;
  border-bottom: 1px solid rgba(221, 0, 0, 0.18);
  font-size: 12px;
  line-height: 1.3;
}

.announcement-badge {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.announcement-text {
  flex: 1;
  color: var(--text);
  font-weight: 600;
}

.announcement-cta {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--primary-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 12px;
}

/* Main Content */
main#app {
  flex: 1;
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Profile Header */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding-top: 2px;
}

.profile-avatar-ring {
  padding: 2.5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ff5c5c 60%, rgba(18, 18, 18, 0.15));
  box-shadow: 0 6px 18px rgba(221, 0, 0, 0.16);
}

.profile-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  background: #121212;
  border: 2px solid #ffffff;
}

.profile-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.profile-name {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text);
}

.profile-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.profile-handle {
  font-size: 12px;
  color: var(--text-muted);
}

.profile-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 340px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.trust-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

/* Section Headers */
.section-block {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.section-title {
  font-size: 17px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--text);
}

.section-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

/* Workshop Cards (compact horizontal thumbnail cards & carousel support) */
.workshops-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workshops-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  margin-inline: -4px;
  padding-inline: 4px;
  scrollbar-width: none;
}

.workshops-carousel::-webkit-scrollbar {
  display: none;
}

.workshops-carousel .workshop-card {
  flex: 0 0 84%;
  scroll-snap-align: start;
}

.workshop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.workshop-top {
  display: flex;
  gap: 11px;
  padding: 11px 12px 9px;
  align-items: flex-start;
}

.workshops-carousel .workshop-top {
  flex-direction: column;
}

.workshop-media {
  width: 86px;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}

.workshops-carousel .workshop-media {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.workshop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.workshop-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.workshop-badge {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.workshop-badge--hot {
  background: var(--primary);
  color: #ffffff;
}

.workshop-badge--festive {
  background: linear-gradient(90deg, #dd0000, #b31237);
  color: #ffffff;
}

.workshop-badge--muted {
  background: var(--surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.workshop-price-pill {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.workshop-title {
  font-size: 15.5px;
  line-height: 1.18;
  font-weight: 700;
  color: var(--text);
}

.workshop-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  color: var(--text-secondary);
}

.workshop-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.workshop-meta-row svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--primary);
}

.workshop-actions {
  display: flex;
  gap: 8px;
  padding: 0 12px 11px;
}

/* Shared Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

.btn:active {
  transform: scale(0.985);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn--primary {
  flex: 1;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(221, 0, 0, 0.22);
}

.btn--primary:hover {
  background: var(--primary-hover);
}

.btn--waitlist {
  flex: 1;
  background: var(--surface-elevated);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--waitlist:hover {
  background: var(--surface-hover);
}

.btn--ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding-inline: 12px;
  flex-shrink: 0;
}

.btn--ghost:hover {
  background: var(--surface-subtle);
}

/* Primary CTA Block */
.cta-block {
  background: #fff8f8;
  border: 1px solid rgba(221, 0, 0, 0.2);
  border-radius: 16px;
  padding: 13px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-btn-rich {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 9px 12px;
  border-radius: 12px;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.cta-btn-rich:active {
  transform: scale(0.985);
}

.cta-btn-rich--primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 5px 14px rgba(221, 0, 0, 0.24);
}

.cta-btn-rich--primary:hover {
  background: var(--primary-hover);
}

.cta-btn-rich--secondary {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.cta-btn-rich--secondary:hover {
  background: var(--surface-subtle);
}

.cta-btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.cta-btn-rich--secondary .cta-btn-icon {
  background: var(--primary-soft);
  color: var(--primary);
}

.cta-btn-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.cta-btn-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cta-btn-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.cta-btn-sub {
  font-size: 11.5px;
  opacity: 0.85;
  margin-top: 2px;
}

.cta-btn-arrow,
.cta-btn-rich > svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.cta-btn-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Location Tabs (Thane / Powai / Mulund) */
.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 11px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tab-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
}

.tab-pill {
  min-height: 38px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tab-pill[aria-selected="true"] {
  background: var(--primary);
  color: #ffffff;
}

.studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 6px;
  border-bottom: 1px solid var(--border);
}

.studio-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.studio-area {
  font-size: 11.5px;
  color: var(--text-muted);
}

.studio-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}

.studio-map-btn svg {
  width: 13px;
  height: 13px;
  color: var(--primary);
}

.batch-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.batch-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 9px;
  align-items: center;
  padding: 7px 9px;
  border-radius: 9px;
  background: #f9fafb;
  border: 1px solid rgba(18, 18, 18, 0.06);
}

.batch-day-badge {
  font-family: "Oswald", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 4px 3px;
  border-radius: 7px;
  background: var(--primary-soft);
  color: var(--primary-hover);
  letter-spacing: 0.04em;
}

.batch-row-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.batch-session {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.batch-time {
  font-size: 11.5px;
  color: var(--text-muted);
}

.batch-note-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-size: 10px;
  font-weight: 700;
}

.studio-footer-actions {
  display: flex;
  gap: 8px;
}

/* Offerings Grid & List (compact single-line cards) */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-tile {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.link-tile:active {
  transform: scale(0.985);
}

.link-tile:hover {
  background: var(--surface-subtle);
  border-color: var(--border-strong);
}

.link-tile--full {
  grid-column: 1 / -1;
}

.link-tile-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}

.link-tile-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.link-tile-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.link-tile-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.link-tile-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.25;
}

.link-tile-arrow {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.link-tile-arrow svg {
  width: 15px;
  height: 15px;
  display: block;
}

/* Social Row */
.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.social-pill:hover {
  background: var(--surface-subtle);
  border-color: var(--border-strong);
}

.social-pill svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  padding: 16px 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
}

/* Sticky Bottom WhatsApp Bar */
.sticky-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell-max);
  padding: 9px 14px calc(9px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 50;
}

.sticky-bar[hidden] {
  display: none;
}

.sticky-bar-btn {
  width: 100%;
  min-height: 46px;
  padding: 9px 16px;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 6px 18px rgba(221, 0, 0, 0.28);
}

.sticky-bar-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Loading Skeleton & Fallback */
.loading-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
}

.skeleton-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--surface-elevated);
}

.skeleton-line {
  height: 14px;
  border-radius: 8px;
  background: var(--surface-elevated);
}

.skeleton-line--lg {
  width: 55%;
}

.skeleton-line--sm {
  width: 75%;
}

.skeleton-card {
  width: 100%;
  height: 120px;
  border-radius: 14px;
  background: var(--surface-elevated);
  margin-top: 4px;
}

.error-state,
.noscript-fallback {
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-secondary);
}

.noscript-fallback a {
  color: var(--primary);
  text-decoration: underline;
}
