/* Homepage design A. Uses the shared tokens from site.css, with fallbacks. */
.home-a { --ha-accent: var(--accent, #e8163c); --ha-char: var(--char, #1d1a1c); --ha-rose: var(--rose, #f4c6cf);
  --ha-blush: var(--blush, #fbecee); --ha-ink: var(--ink, #2a2326); --ha-muted: var(--muted, #6b5f63);
  --ha-head: var(--head, 'Montserrat', system-ui, sans-serif); --ha-body: var(--body, 'Roboto', system-ui, sans-serif);
  --ha-serif: var(--serif, 'Lora', Georgia, serif); }
.home-a main { overflow-x: clip; }
.ha-hero, .ha-bar, .ha-topics, .ha-featured, .ha-programs, .ha-join { font-family: var(--ha-body); }
.home-a main img { display: block; max-width: 100%; }
.ha-h2 { font-family: var(--ha-serif); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15;
  color: var(--ha-ink); margin: 0 0 40px; letter-spacing: -.01em; }
.ha-lead { font-size: 19px; color: var(--ha-muted); margin: -24px 0 40px; line-height: 1.6; }
.ha-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px;
  padding: 14px 30px; border-radius: 999px; background: var(--ha-accent); color: #fff; text-decoration: none;
  font-family: var(--ha-head); font-weight: 700; font-size: 18px; line-height: 1.25; text-align: center;
  box-shadow: 0 10px 26px rgba(232, 22, 60, .32); transition: transform .15s, box-shadow .15s, background .15s; }
.ha-btn:hover { background: #c90f30; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232, 22, 60, .4); color: #fff; }
.ha-btn:focus-visible, .ha-tile:focus-visible, .ha-prog:focus-visible, .ha-feat-main:focus-visible, .ha-feat-list a:focus-visible { outline: 3px solid #ffb3c1; outline-offset: 3px; }
.ha-btn-ghost { background: transparent; color: var(--ha-accent); border: 2px solid var(--ha-accent); box-shadow: none; }
.ha-btn-ghost:hover { background: var(--ha-accent); color: #fff; box-shadow: none; }
.ha-more { font-family: var(--ha-head); font-weight: 700; font-size: 17px; color: var(--ha-accent); }

/* Hero */
.ha-hero { position: relative; min-height: clamp(560px, calc(100vh - 90px), 780px); display: flex; align-items: center;
  background: var(--ha-char); isolation: isolate; }
.ha-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 30%; z-index: -2; }
.ha-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(29, 20, 24, 0) 30%, rgba(29, 20, 24, .55) 50%, rgba(29, 20, 24, .86) 72%); }
.ha-hero-inner { width: 100%; display: flex; justify-content: flex-end; padding-top: 64px; padding-bottom: 64px; }
.ha-hero-copy { max-width: 600px; color: #fff; }
.ha-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-family: var(--ha-head);
  font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: .02em; }
.ha-kicker svg { color: #ff8da3; flex: none; }
.ha-hero h1 { font-family: var(--ha-serif); font-weight: 600; font-size: clamp(40px, 4.3vw, 62px); line-height: 1.08;
  letter-spacing: -.015em; margin: 0 0 22px; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.ha-hero-sub { font-size: 21px; line-height: 1.55; margin: 0 0 32px; color: #fbe7eb; max-width: 520px; }
.ha-btn-hero { font-size: 19px; padding: 16px 34px 16px 18px; min-height: 64px; }
.ha-play { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--ha-accent); flex: none; padding-left: 2px; }

/* Membership bar */
.ha-bar { background: var(--ha-blush); border-bottom: 1px solid #f3d3da; }
.ha-bar-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.ha-bar h2 { font-family: var(--ha-serif); font-weight: 600; font-size: 24px; line-height: 1.25; margin: 0 0 8px; color: var(--ha-ink); }
.ha-bar p { margin: 0; font-size: 18px; color: var(--ha-muted); line-height: 1.5; }
.home-a .ha-bar-form { display: flex; gap: 12px; margin: 0; flex-wrap: wrap; }
.home-a .ha-bar-form input[type=text], .home-a .ha-bar-form input[type=email] { flex: 1 1 170px; min-width: 0; width: auto; margin: 0; }
.home-a .ha-bar-form button { flex: none; width: auto; margin: 0; }

/* Shared form look inside this page (fields untouched) */
.home-a .ha-bar-form input[type=text], .home-a .ha-bar-form input[type=email],
.home-a .ha-join-form input[type=text], .home-a .ha-join-form input[type=email] {
  height: 54px; padding: 0 18px; font-size: 17px; font-family: var(--ha-body); border: 1px solid #e3c5cc; border-radius: 12px;
  background: #fff; color: var(--ha-ink); box-sizing: border-box; }
.home-a .ha-bar-form input:focus, .home-a .ha-join-form input:focus { outline: 3px solid rgba(232, 22, 60, .25); border-color: var(--ha-accent); }
.home-a .ha-bar-form button, .home-a .ha-join-form button { height: 54px; padding: 0 30px; border: 0; border-radius: 12px;
  background: var(--ha-accent); color: #fff; font-family: var(--ha-head); font-weight: 700; font-size: 18px; cursor: pointer; }
.home-a .ha-bar-form button:hover, .home-a .ha-join-form button:hover { background: #c90f30; }
.home-a .optin-form .sr, .home-a .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Topic grid */
.ha-topics { padding: 96px 0 88px; background: #fff; }
.ha-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ha-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; background: var(--ha-char); }
.ha-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ha-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 16, 0) 25%, rgba(20, 12, 16, .55) 55%, rgba(20, 12, 16, .9) 100%); }
.ha-tile:hover img { transform: scale(1.05); }
.ha-tile-text { text-shadow: 0 1px 8px rgba(0, 0, 0, .45); position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 24px 22px; display: block; }
.ha-tile-theme { display: block; text-wrap: balance; font-family: var(--ha-serif); font-weight: 600; font-size: 26px; line-height: 1.2; margin-bottom: 6px; }
.ha-tile-title { display: block; text-wrap: pretty; font-size: 16px; line-height: 1.4; color: #ffdbe2; font-weight: 500; }

/* Featured */
.ha-featured { padding: 96px 0; background: #fdf6f4; }
.ha-feat-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ha-feat-main { display: block; text-decoration: none; color: var(--ha-ink); }
.ha-feat-pic { display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 24px; }
.ha-feat-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ha-feat-main:hover .ha-feat-pic img { transform: scale(1.03); }
.ha-feat-title { display: block; font-family: var(--ha-serif); font-weight: 600; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.18; margin-bottom: 14px; }
.ha-feat-main:hover .ha-feat-title { color: var(--ha-accent); }
.ha-feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ha-feat-list a { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; text-decoration: none;
  color: var(--ha-ink); background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 6px 22px rgba(80, 30, 40, .07); transition: box-shadow .2s; }
.ha-feat-list a:hover { box-shadow: 0 10px 30px rgba(80, 30, 40, .14); color: var(--ha-accent); }
.ha-feat-list img { width: 150px; height: 112px; object-fit: cover; border-radius: 10px; }
.ha-feat-list span { font-family: var(--ha-serif); font-weight: 600; font-size: 21px; line-height: 1.3; }
.ha-feat-list .ha-all a { display: inline-flex; box-shadow: none; background: transparent; padding: 14px 30px; color: var(--ha-accent); border: 2px solid var(--ha-accent); margin-top: 8px; }
.ha-feat-list .ha-all a:hover { background: var(--ha-accent); color: #fff; }

/* Programs */
.ha-programs { padding: 96px 0; background: var(--ha-char); color: #fff; }
.ha-programs .ha-h2 { color: #fff; }
.ha-programs .ha-lead { color: #d9cdd0; }
.ha-prog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ha-prog { display: flex; flex-direction: column; background: #fff; color: var(--ha-ink); border-radius: 18px; overflow: hidden; text-decoration: none; transition: transform .2s; }
.ha-prog:hover { transform: translateY(-4px); }
.ha-prog-pic { display: flex; align-items: center; justify-content: center; height: 210px; padding: 20px; background: var(--ha-blush); }
.ha-prog-pic img { max-height: 170px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.ha-prog.has-art .ha-prog-pic { display: block; height: auto; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; }
.ha-prog.has-art .ha-prog-pic img { width: 100%; height: 100%; max-height: none; object-fit: cover; mix-blend-mode: normal; transition: transform .5s; }
.ha-prog.has-art:hover .ha-prog-pic img { transform: scale(1.04); }
.ha-prog-title { font-family: var(--ha-serif); font-weight: 600; font-size: 24px; line-height: 1.2; padding: 22px 24px 10px; }
.ha-prog-text { font-size: 18px; line-height: 1.6; color: var(--ha-muted); padding: 0 24px; flex: 1; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.6em * 5);
}
.ha-prog .ha-more { padding: 16px 24px 24px; }

/* Membership band */
.ha-join { padding: 96px 0; background: linear-gradient(180deg, var(--ha-blush) 0%, #f8dde3 100%); scroll-margin-top: 20px; }
.ha-join-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ha-join-pic { border-radius: 22px; overflow: hidden; box-shadow: 0 20px 50px rgba(90, 30, 45, .18); }
.ha-join-pic img { width: 100%; height: auto; }
.ha-join h2 { font-family: var(--ha-serif); font-weight: 600; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; margin: 0 0 16px; color: var(--ha-ink); }
.ha-join p { font-size: 19px; line-height: 1.55; color: var(--ha-muted); margin: 0 0 28px; }
.home-a .ha-join-form { display: grid; gap: 14px; margin: 0; max-width: 480px; }
.home-a .ha-join-form button { height: 58px; font-size: 19px; box-shadow: 0 10px 26px rgba(232, 22, 60, .3); }

/* Tablet */
@media (max-width: 1024px) {
  .ha-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ha-prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ha-bar-inner { grid-template-columns: 1fr; gap: 20px; }
  .ha-feat-grid { grid-template-columns: 1fr; }
}
/* Phone */
@media (max-width: 760px) {
  .ha-hero { display: block; min-height: 0; }
  .ha-hero-img { position: static; height: 250px; object-position: 12% 25%; }
  .ha-hero::before { display: none; }
  .ha-hero-inner { padding-top: 26px; padding-bottom: 36px; }
  .ha-hero h1 { font-size: 33px; margin-bottom: 14px; }
  .ha-hero-sub { font-size: 18px; margin-bottom: 22px; }
  .ha-btn-hero { width: 100%; font-size: 18px; padding: 12px 18px 12px 12px; min-height: 60px; }
  .ha-bar-inner { padding-top: 32px; padding-bottom: 32px; }
  .ha-bar h2 { font-size: 22px; }
  .home-a .ha-bar-form { display: grid; }
  .home-a .ha-bar-form button { width: 100%; }
  .ha-topics, .ha-featured, .ha-programs, .ha-join { padding: 60px 0; }
  .ha-h2 { margin-bottom: 28px; }
  .ha-lead { margin: -14px 0 28px; font-size: 17px; }
  .ha-grid { grid-template-columns: 1fr; gap: 14px; }
  .ha-tile { aspect-ratio: 16 / 9; }
  .ha-tile-theme { font-size: 23px; }
  .ha-feat-list a { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 10px; }
  .ha-feat-list img { width: 104px; height: 84px; }
  .ha-feat-list span { font-size: 18px; }
  .ha-prog-grid { grid-template-columns: 1fr; gap: 16px; }
  .ha-prog { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "pic title" "pic text" "pic more"; align-content: start; }
  .ha-prog-pic { grid-area: pic; height: auto; padding: 12px; align-self: start; border-radius: 0 0 14px 0; }
  .ha-prog-pic img { max-height: 120px; }
  .ha-prog.has-art { display: flex; }
  .ha-prog.has-art .ha-prog-pic { border-radius: 0; }
  .ha-prog.has-art .ha-prog-title { padding: 20px 20px 8px; }
  .ha-prog.has-art .ha-prog-text { padding: 0 20px; }
  .ha-prog.has-art .ha-more { padding: 14px 20px 22px; }
  .ha-prog-text { font-size: 17px; }
  .ha-prog-title { grid-area: title; font-size: 21px; padding: 18px 18px 6px 4px; }
  .ha-prog-text { grid-area: text; padding: 0 18px 0 4px; }
  .ha-prog .ha-more { grid-area: more; padding: 12px 18px 18px 4px; }
  .ha-btn-hero { justify-content: flex-start; text-align: left; }
  .ha-join-inner { grid-template-columns: 1fr; gap: 32px; }
  .ha-join-form button { width: 100%; }
}

@media (max-width: 760px) { .ha-prog-text { min-height: 0; } }
