:root {
  --home-bg: #f6f9ff;
  --home-surface: #ffffff;
  --home-surface-soft: #f2f6fd;
  --home-border: #d6e2f1;
  --home-text: #122b56;
  --home-muted: #5c6f8d;
  --home-navy: #0f2f63;
  --home-blue: #2367f2;
  --home-blue-dark: #1b4fd3;
  --home-shadow: 0 14px 38px rgba(15, 47, 99, 0.12);
}

.home-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #f9fbff 0, #f4f8ff 38rem, #f7faff 100%);
}

.home-shell {
  width: min(var(--site-header-max-width), calc(100% - var(--site-header-gutter)));
  margin: 0 auto;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.72rem 1.3rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.home-btn--primary {
  background: linear-gradient(135deg, var(--home-blue), var(--home-blue-dark));
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(35, 103, 242, 0.3);
}

.home-btn--secondary {
  background: #fff;
  color: var(--home-blue);
  border-color: #c6d9f5;
}

.home-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.home-btn:active {
  transform: translateY(0);
}

.home-hero {
  padding: 3.4rem 0 2.8rem;
}

.home-hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  border: 1px solid #dbe8fa;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(118deg, rgba(243, 249, 255, 0.15) 0%, rgba(225, 238, 255, 0.22) 48%, rgba(225, 238, 255, 0.09) 100%),
    url("../images/home/hero-city-map.png") center right / cover no-repeat;
  box-shadow: var(--home-shadow);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(1.8rem, 4vw, 3rem);
}

.home-hero__layout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(248, 251, 255, 0.9) 0%,
    rgba(245, 250, 255, 0.8) 36%,
    rgba(245, 250, 255, 0.5) 56%,
    rgba(245, 250, 255, 0.16) 74%,
    rgba(245, 250, 255, 0.02) 86%,
    rgba(245, 250, 255, 0) 100%
  );
}

.home-eyebrow {
  margin: 0;
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--home-blue);
  font-weight: 800;
}

.home-hero h1 {
  margin: 0.7rem 0 0;
  max-width: 560px;
  color: var(--home-navy);
  font-size: clamp(2rem, 4.7vw, 3.65rem);
  line-height: 1.06;
  text-wrap: balance;
}

.home-hero h1 span {
  color: var(--home-blue);
}

.home-subtitle {
  max-width: 580px;
  color: var(--home-muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  margin: 1rem 0 0;
  line-height: 1.5;
}


.home-hero__actions {
  margin-top: 1.45rem;
}

.home-hero__cta {
  gap: 0.6rem;
  min-height: 54px;
  padding-inline: 1.35rem 1.55rem;
}

.home-hero__cta-pin,
.hero-step__pin-mark,
.hero-map-pin {
  position: relative;
  display: inline-block;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.home-hero__cta-pin {
  width: 18px;
  height: 18px;
  background: #fff;
}

.home-hero__cta-pin::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  inset: 5.5px;
  border-radius: 999px;
  background: var(--home-blue);
}

.hero-steps {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 680px;
  padding: 0.9rem;
  border: 1px solid rgba(206, 221, 244, 0.88);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 32px rgba(15, 47, 99, 0.1);
  backdrop-filter: blur(6px);
}

.hero-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.45rem 0.35rem 0.35rem;
  text-align: center;
  isolation: isolate;
}

.hero-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: -0.35rem;
  width: 1px;
  height: 60%;
  background: #d8e4f5;
}

.hero-step__number {
  position: absolute;
  top: 0;
  left: 0.2rem;
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: var(--home-blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  z-index: 3;
  box-shadow: 0 8px 16px rgba(35, 103, 242, 0.24);
}

.hero-step__icon {
  width: min(100%, 132px);
  height: 70px;
  border: 1px solid #e2ebf8;
  border-radius: 12px;
  background: #f8fbff;
}

.hero-step__icon--map {
  background:
    radial-gradient(circle at 56% 46%, #2367f2 0 9px, transparent 10px),
    linear-gradient(35deg, transparent 46%, rgba(35, 103, 242, 0.18) 47% 51%, transparent 52%),
    linear-gradient(105deg, transparent 44%, rgba(35, 103, 242, 0.13) 45% 49%, transparent 50%),
    #f6faff;
}

.hero-step__icon--pin {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background:
    radial-gradient(circle at 70% 24%, rgba(35, 103, 242, 0.12) 0 5px, transparent 6px),
    linear-gradient(35deg, transparent 45%, rgba(35, 103, 242, 0.16) 46% 50%, transparent 51%),
    linear-gradient(105deg, transparent 44%, rgba(35, 103, 242, 0.12) 45% 49%, transparent 50%),
    #f7fbff;
  box-shadow: inset 0 0 0 1px rgba(226, 235, 248, 0.45);
}

.hero-step__pin-mark {
  position: absolute;
  left: 40%;
  top: 31%;
  z-index: 1;
  width: 30px;
  height: 30px;
  background: var(--home-blue);
  box-shadow: 0 13px 22px rgba(35, 103, 242, 0.24);
}

.hero-step__pin-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 999px;
  background: #fff;
}

.hero-step__tap-cursor {
  position: absolute;
  right: 19%;
  bottom: 12%;
  z-index: 2;
  width: 28px;
  height: 28px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.5 4.5C10.12 4.5 9 5.62 9 7v9.2l-1.35-1.35a2.33 2.33 0 0 0-3.3 3.3l6.4 6.4A8.7 8.7 0 0 0 16.9 27H20a7 7 0 0 0 7-7v-5.5a2.5 2.5 0 0 0-4.5-1.5 2.5 2.5 0 0 0-4-1 2.5 2.5 0 0 0-4.5-1.5V7c0-1.38-1.12-2.5-2.5-2.5Z' fill='white' stroke='%23173a72' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M14 15v-4.5M18.5 16v-3.5M22.5 16.5V14' stroke='%23173a72' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transform: rotate(-18deg);
  transform-origin: 50% 60%;
  filter: drop-shadow(0 7px 10px rgba(15, 47, 99, 0.16));
}

.hero-step__icon--details {
  background:
    linear-gradient(90deg, #8bbdff 0 38%, transparent 38%),
    linear-gradient(#dfe8f6 0 0) 56% 24% / 34% 7px no-repeat,
    linear-gradient(#dfe8f6 0 0) 56% 44% / 30% 7px no-repeat,
    linear-gradient(90deg, #8b6ff3 0 70%, transparent 70%) 56% 68% / 38% 10px no-repeat,
    #fff;
}

.hero-step__label {
  color: var(--home-text);
  font-size: 0.88rem;
  font-weight: 700;
}

.home-hero__visual {
  position: relative;
  z-index: 2;
  min-height: 500px;
}

.hero-map-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  background: var(--pin-color, var(--home-blue));
  box-shadow: 0 10px 18px rgba(15, 47, 99, 0.18);
}

.hero-map-pin::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 999px;
  background: #fff;
}

.hero-map-pin--featured { display: none; }

.hero-map-connector {
  position: absolute;
  top: 52%;
  right: 34%;
  z-index: 2;
  width: 16%;
  height: 2px;
  background: linear-gradient(90deg, rgba(35, 103, 242, 0), rgba(35, 103, 242, 0.48));
  transform: rotate(-8deg);
  transform-origin: right center;
}

.hero-event-preview {
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  top: 50%;
  transform: translateY(-50%);
  width: min(235px, calc(100% - 2rem));
  overflow: hidden;
  border: 2px solid rgba(214, 226, 241, 0.98);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 47, 99, 0.2), 0 3px 10px rgba(15, 47, 99, 0.08);
}

.hero-event-preview__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  background: #e9f1ff;
}

.hero-event-preview__image--placeholder {
  background: linear-gradient(135deg, #dce9ff, #f8fbff);
}

.hero-event-preview__content {
  padding: 0.78rem;
}

.hero-event-preview__category {
  margin: 0 0 0.45rem;
  display: inline-flex;
  border: 1px solid var(--category-color-border, #dbeafe);
  border-radius: 999px;
  background: var(--category-color-bg, #eff6ff);
  color: var(--category-color-text, #1d4ed8);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.14rem 0.55rem;
  text-transform: uppercase;
}

.hero-event-preview h2 {
  margin: 0 0 0.65rem;
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.25;
}

.hero-event-preview__meta {
  margin: 0.36rem 0 0;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: #53657e;
  font-size: 0.78rem;
  min-width: 0;
}

.hero-event-preview__meta span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-event-preview__meta-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 1.8px solid #6f82a0;
}

.hero-event-preview__meta-icon--date {
  border-radius: 3px;
  border-top-width: 4px;
}

.hero-event-preview__meta-icon--location {
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.hero-event-preview__button {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  width: 100%;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--home-blue), var(--home-blue-dark));
  color: #fff;
  padding: 0.66rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}
.home-section {
  padding: clamp(2rem, 5vw, 3.3rem) 0;
}

.home-section--contrast {
  background: rgba(255, 255, 255, 0.62);
  border-top: 1px solid #e4ecf8;
  border-bottom: 1px solid #e4ecf8;
}

.home-section h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  color: var(--home-navy);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-heading a {
  color: var(--home-blue);
  text-decoration: none;
  font-weight: 700;
}

.category-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.55rem;
}

.category-strip__arrow {
  display: none;
}

.category-chip {
  text-decoration: none;
  color: var(--category-color-text, var(--home-text));
  background: var(--category-color-bg, #fff);
  border: 1px solid var(--category-color-border, #d8e6f9);
  border-radius: 14px;
  padding: 0.6rem 0.4rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 650;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.42rem;
  min-height: 6.9rem;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 3px 10px rgba(17, 60, 132, 0.07);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.category-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(17, 60, 132, 0.11);
}

.category-chip__icon {
  width: 2.3rem;
  height: 2.3rem;
  display: block;
  object-fit: contain;
}

.category-chip__label {
  display: block;
}

.map-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
  border: 1px solid #d6e4f6;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 12px 28px rgba(12, 35, 80, 0.08);
  padding: clamp(0.85rem, 2vw, 1.1rem);
}

.map-feature__content {
  border-radius: 18px;
  padding: clamp(0.9rem, 2vw, 1.3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-feature__content p {
  color: var(--home-muted);
  margin: 0.85rem 0 1.2rem;
  max-width: 34ch;
}

.map-feature__preview {
  border-radius: 18px;
  overflow: hidden;
  min-height: 260px;
  background: #dce8fb;
}

.map-feature__preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.featured-carousel__track {
  --featured-per-view: 4;
  display: flex;
  gap: 1.2rem;
  transition: transform 0.35s ease;
  will-change: transform;
}

.featured-carousel__viewport {
  overflow: hidden;
  padding-bottom: 1rem;
}

.featured-carousel__item {
  flex: 0 0 calc((100% - ((var(--featured-per-view) - 1) * 1.2rem)) / var(--featured-per-view));
  min-width: 0;
}

.weekend-carousel__viewport {
  overflow: visible;
}

.weekend-carousel__track {
  transition: none;
}

.featured-carousel__controls {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.6rem;
  min-height: 2.4rem;
}

.featured-carousel__arrow {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  width: 2.3rem;
  height: 2.3rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #bcd3f2;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(13, 45, 99, 0.12);
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.featured-carousel__arrow:hover:not(:disabled) {
  background: #f0f6ff;
  border-color: #99bceb;
  transform: translateY(-1px);
}

.featured-carousel__arrow[data-featured-prev] {
  left: 0;
}

.featured-carousel__arrow[data-featured-next] {
  right: 0;
}

.weekend-carousel [data-weekend-prev] {
  left: 0;
}

.weekend-carousel [data-weekend-next] {
  right: 0;
}

.featured-carousel__arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.featured-carousel__arrow-icon {
  width: 1.35rem;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.featured-carousel__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.featured-carousel__dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  border: 0;
  background: #cadcf6;
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.featured-carousel__dot:hover {
  transform: scale(1.12);
}

.featured-carousel__dot.is-active {
  background: #2f6ed6;
}

.event-card {
  border: 1px solid #d6e3f4;
  border-radius: 20px;
  text-decoration: none;
  color: var(--home-text);
  background: var(--home-surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px rgba(12, 35, 80, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(12, 35, 80, 0.12);
}

.event-card__media {
  position: relative;
}

.event-card__image {
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, #2f4c7a, #3f6bab);
  width: 100%;
  object-fit: cover;
  display: block;
}

.event-card__image--alt {
  background: linear-gradient(140deg, #335f8f, #3c84b8);
}

.event-card__date-badge {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--home-navy);
  border-radius: 12px;
  border: 1px solid #cfdff5;
  min-width: 56px;
  text-align: center;
  padding: 0.38rem 0.4rem;
  box-shadow: 0 8px 16px rgba(17, 48, 100, 0.16);
}

.featured-carousel .event-card__date-badge {
  bottom: -0.8rem;
}

.featured-carousel .event-card__body {
  padding-top: 1.5rem;
}

.event-card__date-badge span {
  display: block;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.event-card__date-badge strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1;
}

.event-card__body {
  padding: 1rem 1rem 1.1rem;
}

.event-card__body h3 {
  margin: 0;
  font-size: 1.12rem;
}

.event-card__meta,
.event-card__location {
  margin: 0.45rem 0 0;
  color: var(--home-muted);
  font-size: 0.94rem;
}

.event-card__location {
  margin-top: 0.25rem;
}

.event-card__category {
  display: inline-flex;
  margin-top: 0.8rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid var(--category-color-border, #d2e3fb);
  background: var(--category-color-bg, #eef5ff);
  color: var(--category-color-text, #1756bf);
  font-size: 0.78rem;
  font-weight: 700;
}

.event-grid__empty {
  margin: 0;
  color: var(--home-muted);
}

.account-panel {
  border: 1px solid #d6e4f6;
  background: linear-gradient(120deg, #ffffff 0, #f1f7ff 100%);
  border-radius: 24px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 16px 32px rgba(13, 45, 99, 0.08);
}

.account-panel h2 {
  margin-top: 0.45rem;
}

.account-panel p {
  margin: 0.2rem 0 0;
  color: var(--home-muted);
  max-width: 650px;
}

.account-panel__actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.home-footer {
  border-top: 1px solid #dbe7f7;
  margin-top: 2.3rem;
  background: #fff;
  padding: 1.5rem 0 2rem;
}

.home-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-footer__brand {
  margin: 0;
  color: var(--home-text);
  font-weight: 700;
}

.home-footer__copy {
  margin: 0.3rem 0 0;
  color: var(--home-muted);
  font-size: 0.93rem;
}

.home-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.home-footer nav a {
  color: var(--home-text);
  text-decoration: none;
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1060px) {
  .category-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .featured-carousel__track {
    --featured-per-view: 3;
  }
}

@media (max-width: 960px) {
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero__layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-hero__visual {
    min-height: 420px;
  }

  .hero-event-preview {
    left: 50%;
    right: auto;
    width: min(280px, calc(100% - 2rem));
    transform: translate(-50%, -50%);
  }


  .hero-map-connector {
    top: 29%;
    right: 43%;
    width: 18%;
  }

  .map-feature {
    grid-template-columns: 1fr;
  }

  .map-feature__preview {
    min-height: 220px;
  }

  .featured-carousel__track {
    --featured-per-view: 2;
  }
}

@media (max-width: 720px) {
  .home-shell {
    width: calc(100% - 1.2rem);
  }

  .home-main {
    padding-bottom: 0.8rem;
  }

  .home-hero {
    padding: 0.9rem 0 1.7rem;
  }

  .home-hero__layout {
    border-radius: 24px;
    border-color: #d4e3f8;
    background-position: center;
    background-size: cover;
    min-height: 0;
  }

  .home-hero__content {
    padding: 1.15rem 1rem 1.05rem;
  }

  .home-eyebrow {
    font-size: 0.73rem;
  }

  .home-hero h1 {
    margin-top: 0.6rem;
    font-size: clamp(1.68rem, 9vw, 2.2rem);
    line-height: 1.12;
  }

  .home-subtitle {
    margin-top: 0.78rem;
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .home-hero__actions {
    margin-top: 1rem;
  }

  .home-hero__cta {
    width: 100%;
    border-radius: 14px;
  }

  .hero-steps {
    margin-top: 1.1rem;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 0.7rem;
    border-radius: 18px;
  }

  .hero-step {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
    padding: 0.35rem 0.45rem 0.35rem 2.15rem;
  }

  .hero-step:not(:last-child)::after {
    display: none;
  }

  .hero-step__number {
    left: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero-step__icon {
    width: 56px;
    height: 42px;
  }

  .hero-step__icon--pin {
    width: 56px;
    height: 42px;
    margin-left: 0;
  }

  .hero-step__pin-mark {
    left: 37%;
    top: 27%;
    width: 22px;
    height: 22px;
  }

  .hero-step__pin-mark::after {
    inset: 7px;
  }

  .hero-step__tap-cursor {
    right: 18%;
    bottom: 6%;
    transform: scale(0.78) rotate(-18deg);
    transform-origin: center;
  }

  .home-hero__layout::before {
    background: linear-gradient(
      180deg,
      rgba(248, 251, 255, 0.94) 0%,
      rgba(245, 250, 255, 0.84) 46%,
      rgba(245, 250, 255, 0.56) 71%,
      rgba(245, 250, 255, 0.2) 100%
    );
  }

  .home-hero__visual {
    min-height: 360px;
  }

  .hero-event-preview {
    width: min(300px, calc(100% - 1.4rem));
  }

  .category-row {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.1rem 2.2rem 0.35rem 0.15rem;
    margin: 0 -0.15rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .category-strip {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
  }

  .category-strip::after {
    content: "";
    position: absolute;
    top: 0;
    right: -0.15rem;
    height: calc(100% - 2.1rem);
    width: 2rem;
    pointer-events: none;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.96) 18%, rgba(255, 255, 255, 0) 100%);
  }

  .category-strip__controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    min-height: 1.8rem;
    width: 100%;
    padding: 0 0.15rem;
  }

  .category-strip__arrow {
    display: inline-flex;
    position: static;
    width: 1.6rem;
    height: 1.6rem;
    transform: none;
    border: 1px solid #d2def1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(18, 53, 110, 0.14);
    z-index: 2;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .category-strip__arrow:disabled {
    opacity: 0;
    pointer-events: none;
  }

  .category-strip__arrow:hover:not(:disabled) {
    transform: translateY(-1px);
    background: #f3f8ff;
  }

  .category-strip__arrow-icon {
    width: 0.78rem;
    height: auto;
    display: block;
  }

  .category-row::-webkit-scrollbar {
    display: none;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .category-chip {
    flex: 0 0 5.55rem;
    min-height: 5.85rem;
    padding: 0.52rem 0.4rem 0.5rem;
    border-radius: 13px;
    scroll-snap-align: start;
  }

  .category-chip__icon {
    width: 1.9rem;
    height: 1.9rem;
  }

  .category-chip__label {
    font-size: 0.75rem;
    line-height: 1.12;
  }

  .featured-carousel__track {
    --featured-per-view: 3;
    gap: 0.6rem;
    align-items: stretch;
  }

  .featured-carousel__viewport {
    margin-inline: -0.1rem;
    padding: 0.1rem 0.1rem 0.85rem;
    touch-action: pan-y;
  }

  .featured-carousel__item {
    flex-basis: calc((100% - ((var(--featured-per-view) - 1) * 0.6rem)) / var(--featured-per-view));
  }

  .featured-carousel .event-card {
    border-radius: 14px;
  }

  .featured-carousel .event-card__image {
    aspect-ratio: 1 / 1;
  }

  .featured-carousel .event-card__date-badge {
    left: 0.45rem;
    bottom: -0.5rem;
    border-radius: 9px;
    min-width: 42px;
    padding: 0.2rem 0.22rem;
  }

  .featured-carousel .event-card__date-badge span {
    font-size: 0.52rem;
    letter-spacing: 0.06em;
  }

  .featured-carousel .event-card__date-badge strong {
    font-size: 0.86rem;
  }

  .featured-carousel .event-card__body {
    padding: 0.8rem 0.52rem 0.68rem;
  }

  .featured-carousel .event-card__body h3 {
    font-size: 0.72rem;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .featured-carousel .event-card__meta,
  .featured-carousel .event-card__location {
    font-size: 0.64rem;
    line-height: 1.28;
    margin-top: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .featured-carousel .event-card__category {
    margin-top: 0.5rem;
    max-width: 100%;
    font-size: 0.57rem;
    padding: 0.17rem 0.38rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .featured-carousel__controls {
    min-height: 1.8rem;
  }

  .featured-carousel__arrow {
    bottom: calc(100% + 0.25rem);
  }

  .featured-carousel__arrow-icon {
    width: 1.2rem;
  }

  .featured-carousel__arrow[data-featured-prev] {
    left: 0.15rem;
  }

  .featured-carousel__arrow[data-featured-next] {
    right: 0.15rem;
  }

  .weekend-carousel__track {
    --weekend-per-view: 3;
    display: flex;
    gap: 0.6rem;
    align-items: stretch;
    transition: transform 0.35s ease;
    will-change: transform;
  }

  .weekend-carousel__viewport {
    overflow: hidden;
    margin-inline: -0.1rem;
    padding: 0.1rem 0.1rem 0.85rem;
    touch-action: pan-y;
  }

  .weekend-carousel__item {
    flex: 0 0 calc((100% - ((var(--weekend-per-view) - 1) * 0.6rem)) / var(--weekend-per-view));
    min-width: 0;
  }

  .weekend-carousel .event-card {
    border-radius: 14px;
  }

  .weekend-carousel .event-card__image {
    aspect-ratio: 1 / 1;
  }

  .weekend-carousel .event-card__date-badge {
    left: 0.45rem;
    bottom: -0.5rem;
    border-radius: 9px;
    min-width: 42px;
    padding: 0.2rem 0.22rem;
  }

  .weekend-carousel .event-card__date-badge span {
    font-size: 0.52rem;
    letter-spacing: 0.06em;
  }

  .weekend-carousel .event-card__date-badge strong {
    font-size: 0.86rem;
  }

  .weekend-carousel .event-card__body {
    padding: 0.8rem 0.52rem 0.68rem;
  }

  .weekend-carousel .event-card__body h3 {
    font-size: 0.72rem;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .weekend-carousel .event-card__meta,
  .weekend-carousel .event-card__location {
    font-size: 0.64rem;
    line-height: 1.28;
    margin-top: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .weekend-carousel .event-card__category {
    margin-top: 0.5rem;
    max-width: 100%;
    font-size: 0.57rem;
    padding: 0.17rem 0.38rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .weekend-carousel [data-weekend-prev] {
    left: 0.15rem;
  }

  .weekend-carousel [data-weekend-next] {
    right: 0.15rem;
  }

  .map-feature__preview {
    min-height: 180px;
  }

  .account-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-footer {
    display: block;
    margin-top: 1.2rem;
    padding: 1.1rem 0 calc(var(--mobile-bottom-nav-height) + var(--mobile-bottom-nav-offset) + 0.9rem + env(safe-area-inset-bottom, 0px));
  }

  .home-footer__inner {
    gap: 0.75rem;
  }

  .home-footer__copy {
    font-size: 0.87rem;
  }
}

/* Draft event schedule polish */
.event-form-section--schedule {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.schedule-card,
.date-card,
.schedule-subsection {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.schedule-card {
  display: grid;
  gap: 0.95rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.schedule-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.schedule-card__header h2,
.schedule-subsection__header h3 {
  color: var(--home-navy);
  margin: 0;
}

.schedule-card__header h2 {
  font-size: 1.12rem;
}

.schedule-subsection__header h3 {
  font-size: 1rem;
}

.schedule-helper,
.schedule-card__intro,
.schedule-card__note {
  margin: 0.25rem 0 0;
}

.schedule-subsection {
  display: grid;
  gap: 0.8rem;
  border: 1px solid #d9e6f7;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: clamp(0.85rem, 1.5vw, 1rem);
}

.schedule-subsection--additional {
  border-top: 1px solid #d9e6f7;
  background: #f8fbff;
}

.schedule-subsection__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.schedule-subsection__header--with-action {
  align-items: center;
}

.schedule-card__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.schedule-field {
  display: flex;
  min-width: 0;
  max-width: 100%;
  flex-direction: column;
  gap: 0.38rem;
  box-sizing: border-box;
  border: 1px solid #cfddf0;
  border-radius: 16px;
  background: #fff;
  padding: 0.72rem;
  cursor: text;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.schedule-field:hover,
.schedule-field:focus-within {
  border-color: #9ebcf2;
  box-shadow: 0 8px 18px rgba(35, 103, 242, 0.12);
}

.schedule-field:focus-within {
  transform: translateY(-1px);
}

.schedule-field__label {
  color: var(--home-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-transform: uppercase;
}

.schedule-field__control,
.schedule-field input,
.schedule-field select {
  width: 100%;
  min-width: 0;
  min-height: 2.45rem;
  box-sizing: border-box;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--home-text);
  font: inherit;
  font-size: 1rem;
  outline: none;
}

.schedule-field select {
  cursor: pointer;
}

.schedule-field--duration {
  grid-column: span 2;
}

.schedule-card__note {
  border-radius: 14px;
  background: #edf4ff;
  padding: 0.7rem 0.8rem;
}

.occurrence-rows {
  display: grid;
  gap: 0.7rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.date-card {
  display: grid;
  gap: 0.7rem;
  border: 1px solid #d9e6f7;
  border-radius: 16px;
  background: #fff;
  padding: 0.8rem;
  box-shadow: 0 10px 22px rgba(15, 47, 99, 0.06);
}

.occurrence-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.occurrence-row__label {
  color: var(--home-navy);
  font-size: 0.96rem;
}

.date-card__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  min-width: 0;
}

.schedule-field--compact {
  border-radius: 14px;
  padding: 0.6rem 0.68rem;
}

.schedule-field--compact .schedule-field__control,
.schedule-field--compact input {
  min-height: 2.2rem;
}

.add-occurrence-row {
  flex: 0 0 auto;
  border-color: #c6d9f5;
  border-radius: 999px;
  background: #edf4ff;
  padding: 0.62rem 1rem;
  font-weight: 800;
}

.remove-occurrence-row {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .schedule-card__grid,
  .date-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-field--duration {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .schedule-subsection__header,
  .schedule-subsection__header--with-action {
    align-items: stretch;
    flex-direction: column;
  }

  .add-occurrence-row {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .schedule-card {
    padding: 0.85rem;
  }

  .schedule-subsection {
    border-radius: 16px;
    padding: 0.8rem;
  }

  .schedule-card__grid,
  .date-card__grid {
    grid-template-columns: 1fr;
  }

  .schedule-field--duration {
    grid-column: auto;
  }

  .occurrence-row__head {
    align-items: stretch;
    flex-direction: column;
  }

  .remove-occurrence-row {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Custom draft schedule date/time pickers */

.event-form-section--schedule,
.schedule-card,
.schedule-subsection,
.date-card,
.occurrence-row {
  overflow: visible;
}

.schedule-subsection--primary {
  background: #fff;
  border-color: #d7e4f7;
  box-shadow: 0 18px 45px rgba(15, 47, 99, 0.06);
}

.schedule-card__grid[data-primary-schedule] {
  align-items: start;
  grid-template-columns: repeat(4, minmax(9.5rem, 1fr));
}

.schedule-picker-field {
  position: relative;
  padding: 0.55rem 0.65rem 0.65rem;
  cursor: default;
}

.schedule-picker-native--hidden {
  position: absolute;
  inline-size: 1px !important;
  block-size: 1px !important;
  margin: -1px;
  opacity: 0;
  pointer-events: none;
}

.schedule-picker-shell {
  position: relative;
  display: block;
  max-width: 100%;
  min-width: 0;
}

.schedule-picker-button {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 2.7rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.58rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--home-navy);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.2rem 0;
  text-align: left;
}

.schedule-picker-button__icon {
  display: inline-grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 9px;
  background: #eef5ff;
  color: #0759ff;
  font-size: 0.95rem;
}

.schedule-picker-button__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-picker-button.is-empty .schedule-picker-button__value {
  color: #6d7fa4;
  font-weight: 700;
}

.schedule-picker-button__chevron {
  color: #0759ff;
  font-size: 1.15rem;
  line-height: 1;
}

.schedule-popover {
  position: fixed;
  z-index: 1200;
  top: auto;
  left: auto;
  display: none;
  width: min(22rem, calc(100vw - 2rem));
  max-width: min(22rem, calc(100vw - 2rem));
  box-sizing: border-box;
  border: 1px solid #cddcf1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 46px rgba(15, 47, 99, 0.2);
  color: var(--home-navy);
  padding: 0.85rem;
}

.schedule-popover::before {
  position: absolute;
  top: -0.48rem;
  left: var(--schedule-popover-arrow-left, 2.2rem);
  width: 0.9rem;
  height: 0.9rem;
  border-left: 1px solid #cddcf1;
  border-top: 1px solid #cddcf1;
  background: #fff;
  content: '';
  transform: rotate(45deg);
}

.schedule-popover.is-open {
  display: block;
}

.schedule-popover--above::before {
  top: auto;
  bottom: -0.48rem;
  border-top: 0;
  border-bottom: 1px solid #cddcf1;
}

.schedule-calendar__head,
.schedule-calendar__weekdays,
.schedule-calendar__grid,
.schedule-picker-actions,
.schedule-custom-time__row {
  display: grid;
  min-width: 0;
}

.schedule-calendar__head {
  grid-template-columns: 2rem 1fr 2rem;
  align-items: center;
  margin-bottom: 0.7rem;
  text-align: center;
}

.schedule-calendar__head button,
.schedule-calendar__grid button,
.schedule-quick-times button,
.schedule-picker-actions button,
.schedule-custom-time button {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.schedule-calendar__head button {
  color: #0b55ff;
  font-size: 1.5rem;
  line-height: 1;
}

.schedule-calendar__weekdays,
.schedule-calendar__grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
}

.schedule-calendar__weekdays {
  color: #48618d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  text-align: center;
}

.schedule-calendar__grid button,
.schedule-calendar__grid span {
  display: inline-grid;
  min-height: 2.05rem;
  place-items: center;
}

.schedule-calendar__grid button:hover,
.schedule-calendar__grid button.is-selected,
.schedule-quick-times button:hover,
.schedule-quick-times button.is-selected {
  background: #0759ff;
  color: #fff;
}

.schedule-time-popover__title {
  display: block;
  color: #0759ff;
  padding: 0.1rem 0 0.6rem;
  text-align: center;
}

.schedule-quick-times {
  display: grid;
  max-height: min(13.5rem, 38vh);
  overflow-y: auto;
  border-top: 2px solid #0759ff;
  border-bottom: 1px solid #d8e4f5;
  padding: 0.45rem 0;
}

.schedule-quick-times button {
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  text-align: left;
}

.schedule-custom-time {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.65rem;
  color: #48618d;
  font-size: 0.92rem;
  font-weight: 700;
}

.schedule-custom-time__row {
  grid-template-columns: minmax(3.6rem, 1fr) auto minmax(3.6rem, 1fr) repeat(2, minmax(3.2rem, 1fr));
  align-items: center;
  gap: 0.4rem;
}

.schedule-custom-time input,
.schedule-custom-time button {
  min-width: 0;
  min-height: 2.45rem;
  box-sizing: border-box;
  border: 1px solid #cddcf1;
  border-radius: 9px;
  background: #fff;
  color: var(--home-navy);
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.schedule-custom-time button.is-selected {
  border-color: #0759ff;
  background: #edf4ff;
  color: #0759ff;
}

.schedule-picker-error {
  min-height: 1rem;
  color: #b42318;
  font-size: 0.78rem;
  font-weight: 800;
}

.schedule-picker-actions {
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.schedule-picker-actions button {
  min-height: 2.55rem;
  border: 1px solid #cddcf1;
  font-weight: 800;
}

.schedule-picker-ok {
  border-color: #0759ff !important;
  background: #0759ff !important;
  color: #fff !important;
}

.schedule-duration-card {
  display: grid;
  grid-column: span 2;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  align-items: center;
  min-width: 0;
  border: 1px solid #d7e4f7;
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 12px 24px rgba(15, 47, 99, 0.05);
}

.schedule-duration-card__icon {
  display: inline-grid;
  grid-row: span 3;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 13px;
  background: #edf4ff;
  color: #0759ff;
  font-size: 1.35rem;
}

.schedule-duration-card__eyebrow,
.schedule-duration-card__detail {
  color: #48618d;
  font-size: 0.86rem;
}

.schedule-duration-card strong {
  color: var(--home-navy);
  font-size: 1.25rem;
}

.schedule-subsection--additional {
  border-style: dashed;
}

.schedule-subsection--additional .schedule-subsection__header--with-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.add-occurrence-row {
  width: 100%;
  border: 1px dashed #b9cff2;
  border-radius: 14px;
  background: #fff;
  color: #0759ff;
  padding: 0.85rem 1rem;
}

@media (max-width: 980px) {
  .schedule-card__grid[data-primary-schedule] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .schedule-popover {
    position: fixed;
    top: auto !important;
    right: 0.75rem !important;
    bottom: 0.75rem;
    left: 0.75rem !important;
    width: auto !important;
    max-width: calc(100vw - 1.5rem);
    max-height: calc(100vh - 1.5rem);
    overflow: auto;
  }

  .schedule-popover::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .schedule-card__grid[data-primary-schedule],
  .schedule-duration-card {
    grid-template-columns: 1fr;
  }

  .schedule-duration-card {
    grid-column: auto;
  }

  .schedule-duration-card__icon {
    grid-row: auto;
  }

  .schedule-custom-time__row {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .schedule-custom-time__row button {
    grid-column: span 1;
  }
}

/* Draft event final schedule input polish */
.organizer-event-form .schedule-subsection--primary,
.organizer-event-form .date-card,
.organizer-event-form .schedule-duration-card {
  box-shadow: 0 14px 32px rgba(15, 47, 99, 0.07);
}

.organizer-event-form .schedule-picker-field {
  border-radius: 14px;
  padding: 0.46rem 0.58rem 0.52rem;
}

.organizer-event-form .schedule-picker-button {
  min-height: 2.28rem;
  gap: 0.48rem;
  padding: 0.08rem 0;
}

.organizer-event-form .schedule-picker-button__icon {
  width: 1.38rem;
  height: 1.38rem;
  border-radius: 8px;
  font-size: 0.84rem;
}

.organizer-event-form .schedule-field__label {
  font-size: 0.72rem;
}

.organizer-event-form .schedule-field--compact {
  padding: 0.5rem 0.58rem;
}

.organizer-event-form .schedule-field--compact .schedule-picker-button,
.organizer-event-form .schedule-field--compact .schedule-field__control,
.organizer-event-form .schedule-field--compact input {
  min-height: 2.12rem;
}

@media (max-width: 560px) {
  .organizer-event-form .schedule-picker-field {
    padding: 0.52rem 0.6rem;
  }

  .organizer-event-form .schedule-picker-button {
    min-height: 2.45rem;
  }
}
