:root {
  --hb-blue: #0000ff;
  --hb-blue-dark: #0000cc;
  --hb-black: #0a0a0a;
  --hb-white: #fff;
  --hb-off-white: #f8f9fa;
  --hb-gray-100: #f3f4f6;
  --hb-gray-200: #e5e7eb;
  --hb-gray-500: #6b7280;
  --hb-gray-600: #4b5563;
  --hb-purple: #8a2be2;
  --hb-radius: 24px;
  --hb-radius-sm: 16px;
  --hb-shadow: 0 20px 60px rgba(10,10,10,.08);
  --hb-shadow-blue: 0 20px 60px rgba(0,0,255,.12);
  --hb-container: min(1200px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--hb-white);
  color: var(--hb-black);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
body.admin-bar .hb-navbar { top: 32px; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wp-site-blocks { padding: 0; }
.hb-main { margin: 0; }
.hb-main > * { margin-block-start: 0; }
.hb-container { width: var(--hb-container); margin-inline: auto; }
.hb-section { padding: 120px 0; }
.hb-section--off { background: var(--hb-off-white); }
.hb-section--dark { background: var(--hb-black); color: var(--hb-white); }
.hb-eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--hb-gray-200);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 6px 24px rgba(0,0,0,.05);
  color: var(--hb-gray-600);
  font-size: .84rem;
  font-weight: 600;
}
.hb-eyebrow::before { content: "✦"; color: var(--hb-blue); }
.hb-kicker {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hb-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}
.hb-title em, .hb-heading em { color: var(--hb-blue); font-style: italic; }
.hb-heading {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1.05;
}
.hb-copy { color: var(--hb-gray-500); font-size: 1.08rem; line-height: 1.8; }
.hb-copy--lead { font-size: clamp(1.1rem, 2vw, 1.3rem); }
.hb-center { text-align: center; }
.hb-max-720 { max-width: 720px; margin-inline: auto; }
.hb-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.hb-btn:hover { transform: translateY(-1px); }
.hb-btn--primary { background: var(--hb-blue); color: #fff; }
.hb-btn--primary:hover { background: var(--hb-blue-dark); color: #fff; box-shadow: 0 12px 32px rgba(0,0,255,.25); }
.hb-btn--outline { background: #fff; color: var(--hb-blue); border-color: var(--hb-blue); }
.hb-btn--outline:hover { background: #f0f0ff; color: var(--hb-blue); }

/* Header */
.hb-navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  margin: 0 !important;
  padding: 22px 0;
  background: transparent;
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.hb-scrolled .hb-navbar {
  padding: 14px 0;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(229,231,235,.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0,0,0,.04);
}
.hb-navbar-inner { width: var(--hb-container); margin-inline: auto !important; }
.hb-logo { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.75rem; font-weight: 700; letter-spacing: .12em; }
.hb-logo a { color: var(--hb-black); }
.hb-logo span { color: var(--hb-blue); font-style: italic; font-weight: 500; }
.hb-main-nav { font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.hb-main-nav .wp-block-navigation-item__content { color: #52525b; }
.hb-main-nav .wp-block-navigation-item__content:hover { color: var(--hb-blue); }
.hb-main-nav .hb-nav-cta .wp-block-navigation-item__content {
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--hb-blue);
  color: #fff;
}
.hb-main-nav .hb-nav-cta .wp-block-navigation-item__content:hover { color: #fff; background: var(--hb-blue-dark); }

/* Hero */
.hb-hero {
  position: relative;
  display: flex;
  min-height: 95vh;
  align-items: center;
  overflow: hidden;
  padding: 130px 0 70px;
  background:
    radial-gradient(circle at 92% 5%, rgba(0,0,255,.08), transparent 33%),
    radial-gradient(circle at 5% 95%, rgba(0,0,255,.10), transparent 28%),
    var(--hb-off-white);
}
.hb-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.85fr); align-items: center; gap: 80px; }
.hb-hero-title {
  margin: 24px 0 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.3rem, 8vw, 7.4rem);
  line-height: .92;
  letter-spacing: -.035em;
  font-weight: 600;
}
.hb-hero-title em { color: var(--hb-blue); font-style: italic; }
.hb-hero-copy { max-width: 610px; margin: 0; color: var(--hb-gray-600); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.75; }
.hb-featured-course { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--hb-radius); box-shadow: 0 30px 80px rgba(0,0,0,.18); }
.hb-featured-course > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.hb-featured-course:hover > img { transform: scale(1.045); }
.hb-featured-course::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 55%); }
.hb-featured-overlay {
  position: absolute;
  z-index: 2;
  inset: auto 28px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0,0,0,.15);
}
.hb-featured-overlay strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.5rem; }
.hb-featured-overlay span { color: var(--hb-gray-500); font-size: .85rem; }
.hb-play { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--hb-blue); color: #fff; font-size: 1rem; }

/* Marquee */
.hb-marquee { overflow: hidden; margin: 0 !important; padding: 14px 0; background: var(--hb-blue); color: #fff; }
.hb-marquee-track { display: flex; width: max-content; white-space: nowrap; animation: hb-marquee 30s linear infinite; }
.hb-marquee-track span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.55rem; letter-spacing: .09em; text-transform: uppercase; }
.hb-marquee-track i { margin: 0 28px; opacity: .5; font-style: normal; }
@keyframes hb-marquee { to { transform: translateX(-50%); } }

/* Method cards */
.hb-section-heading { margin-bottom: 64px; }
.hb-section-heading p { max-width: 720px; margin: 18px auto 0; color: var(--hb-gray-500); font-size: 1.08rem; }
.hb-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.hb-method-card {
  padding: 38px;
  border: 1px solid #eceef1;
  border-radius: 20px;
  background: var(--hb-off-white);
  transition: transform .35s ease, background .35s ease, color .35s ease, box-shadow .35s ease;
}
.hb-method-card:hover { transform: translateY(-7px); background: var(--hb-blue); color: #fff; box-shadow: var(--hb-shadow-blue); }
.hb-method-card .hb-icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 26px; border-radius: 50%; background: #fff; color: var(--hb-blue); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.hb-method-card h3 { margin: 0 0 14px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.75rem; }
.hb-method-card p { margin: 0; color: var(--hb-gray-500); line-height: 1.75; transition: color .35s ease; }
.hb-method-card:hover p { color: rgba(255,255,255,.9); }

/* AI Lab */
.hb-ai-lab { position: relative; overflow: hidden; background: var(--hb-black); color: #fff; }
.hb-ai-lab::after { content: ""; position: absolute; inset: 0 0 0 50%; background: linear-gradient(90deg, transparent, rgba(0,0,255,.20), rgba(138,43,226,.16)); pointer-events: none; }
.hb-ai-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 72px; }
.hb-ai-pill { display: inline-flex; width: max-content; padding: 7px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: linear-gradient(90deg, rgba(0,0,255,.18), rgba(138,43,226,.18)); font-size: .76rem; font-weight: 600; }
.hb-ai-title { margin: 20px 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.8rem,5vw,4.5rem); line-height: 1; }
.hb-ai-title em { background: linear-gradient(90deg,var(--hb-blue),var(--hb-purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hb-ai-copy { color: #d1d5db; font-size: 1.05rem; line-height: 1.8; }
.hb-ai-note { border-left: 2px solid var(--hb-blue); padding-left: 16px; color: #9ca3af; font-size: .88rem; font-style: italic; }
.hb-ai-panel { position: relative; min-height: 350px; padding: 30px; border: 1px solid rgba(255,255,255,.18); border-radius: 26px; background: rgba(255,255,255,.06); backdrop-filter: blur(22px); box-shadow: 0 25px 80px rgba(0,0,0,.3); }
.hb-ai-badge { position: absolute; top: -12px; right: 20px; padding: 7px 12px; border-radius: 999px; background: linear-gradient(90deg,var(--hb-blue),var(--hb-purple)); font-size: .72rem; font-weight: 700; }
.hb-ai-label { display: block; margin-bottom: 9px; color: rgba(255,255,255,.78); font-size: .82rem; }
.hb-ai-textarea { width: 100%; min-height: 132px; resize: vertical; padding: 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; outline: 0; background: rgba(255,255,255,.08); color: #fff; font: inherit; }
.hb-ai-textarea:focus { border-color: var(--hb-blue); box-shadow: 0 0 0 2px rgba(0,0,255,.25); }
.hb-ai-submit { width: 100%; margin-top: 18px; border: 0; background: linear-gradient(90deg,var(--hb-blue),var(--hb-purple)); color: #fff; cursor: pointer; }
.hb-ai-state { display: none; }
.hb-ai-state.is-active { display: block; }
.hb-ai-result { max-height: 270px; overflow: auto; padding: 20px; border-radius: 14px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.84); }

/* Courses */
.hb-courses-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 54px; }
.hb-course-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.hb-course-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid #eceef1; border-radius: 20px; background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.hb-course-card:hover { transform: translateY(-4px); box-shadow: var(--hb-shadow); }
.hb-course-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #eef0f2; }
.hb-course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.hb-course-card:hover .hb-course-media img { transform: scale(1.06); }
.hb-course-card.is-coming .hb-course-media img { filter: none; opacity: 1; }
.hb-course-coming { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.35); backdrop-filter: blur(2px); }
.hb-course-coming span { padding: 7px 18px; border-radius: 999px; background: #fff; color: var(--hb-blue); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.2rem; font-weight: 700; box-shadow: 0 8px 26px rgba(0,0,0,.1); }
.hb-course-body { display: flex; flex: 1; flex-direction: column; padding: 27px; }
.hb-course-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--hb-gray-500); font-size: .78rem; }
.hb-chip { display: inline-flex; padding: 6px 10px; border: 1px solid rgba(0,0,255,.12); border-radius: 999px; background: rgba(0,0,255,.06); color: var(--hb-blue); font-weight: 600; }
.hb-course-card h3 { margin: 0 0 10px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.75rem; line-height: 1.12; }
.hb-course-card p { flex: 1; margin: 0 0 22px; color: var(--hb-gray-500); line-height: 1.7; }
.hb-course-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid #eef0f2; }
.hb-course-price { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; font-weight: 700; }
.hb-course-link { color: var(--hb-blue); font-size: .84rem; font-weight: 600; }

/* Academy page */
.hb-page-hero { padding: 165px 0 90px; border-bottom: 1px solid #eef0f2; background: #fff; text-align: center; }
.hb-page-hero p { max-width: 760px; margin: 20px auto 0; color: var(--hb-gray-500); font-size: 1.18rem; line-height: 1.75; }
.hb-course-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.hb-filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hb-filter { padding: 9px 16px; border: 1px solid var(--hb-gray-200); border-radius: 999px; background: #fff; color: var(--hb-gray-600); cursor: pointer; font: inherit; font-size: .82rem; }
.hb-filter.is-active { border-color: var(--hb-blue); background: var(--hb-blue); color: #fff; }
.hb-search { width: min(320px,100%); padding: 12px 17px; border: 1px solid var(--hb-gray-200); border-radius: 999px; background: #fff; font: inherit; }
.hb-course-card[hidden] { display: none !important; }

/* Course detail */
.hb-course-hero { position: relative; overflow: hidden; padding: 150px 0 150px; border-bottom: 1px solid #eef0f2; background: #fff; }
.hb-course-hero::after { content:""; position:absolute; width:560px; height:560px; top:-280px; right:-160px; border-radius:50%; background:rgba(0,0,255,.055); filter:blur(35px); }
.hb-breadcrumb { position: relative; z-index: 2; display: flex; gap: 10px; align-items: center; margin-bottom: 28px; color: #9ca3af; font-size: .82rem; }
.hb-breadcrumb a { color: #9ca3af; }
.hb-breadcrumb strong { color: var(--hb-blue); }
.hb-course-detail-title { position: relative; z-index: 2; max-width: 900px; margin: 0 0 24px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(3.5rem,7vw,6.3rem); line-height: .98; }
.hb-course-detail-lead { position: relative; z-index: 2; max-width: 780px; margin: 0 0 32px; color: var(--hb-gray-600); font-size: 1.35rem; line-height: 1.7; font-weight: 300; }
.hb-detail-meta { position: relative; z-index: 2; display: inline-flex; flex-wrap: wrap; gap: 18px 28px; padding: 15px 22px; border: 1px solid #edf0f3; border-radius: 15px; background: var(--hb-off-white); color: var(--hb-gray-600); font-size: .86rem; }
.hb-detail-layout { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0,2fr) minmax(310px,1fr); align-items: start; gap: 42px; margin-top: -80px; padding-bottom: 100px; }
.hb-detail-card { margin-bottom: 28px; padding: 36px; border: 1px solid #edf0f3; border-radius: 24px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.045); }
.hb-detail-card h2 { margin: 0 0 24px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.2rem; }
.hb-learning-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 24px; }
.hb-learning-item { display: flex; align-items: flex-start; gap: 12px; color: var(--hb-gray-600); }
.hb-learning-item::before { content:"✓"; display:grid; flex:0 0 24px; width:24px; height:24px; place-items:center; border-radius:50%; background:rgba(0,0,255,.08); color:var(--hb-blue); font-size:.75rem; font-weight:800; }
.hb-tabs { display: flex; gap: 24px; margin-bottom: 24px; border-bottom: 1px solid #edf0f3; }
.hb-tab { margin-bottom: -1px; padding: 0 0 13px; border: 0; border-bottom: 2px solid transparent; background: none; color: #9ca3af; cursor: pointer; font: inherit; font-weight: 600; }
.hb-tab.is-active { border-color: var(--hb-blue); color: var(--hb-blue); }
.hb-tab-panel { display: none; }
.hb-tab-panel.is-active { display: block; }
.hb-module { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; padding: 18px 20px; border: 1px solid #edf0f3; border-radius: 14px; }
.hb-module strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.2rem; }
.hb-module span { color: var(--hb-gray-500); font-size: .78rem; }
.hb-instructor { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start; }
.hb-instructor img { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; }
.hb-instructor h3 { margin: 0 0 2px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.7rem; }
.hb-instructor .role { margin: 0 0 16px; color: var(--hb-blue); font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.hb-instructor p:last-child { margin-bottom: 0; color: var(--hb-gray-600); line-height: 1.75; }
.hb-instructor-bio { color: var(--hb-gray-600); line-height: 1.75; }
.hb-instructor-bio p { margin: 0 0 12px; }
.hb-instructor-bio p:last-child { margin-bottom: 0; }
.hb-buy-card { position: sticky; top: 105px; overflow: hidden; border: 1px solid rgba(0,0,255,.1); border-radius: 24px; background: #fff; box-shadow: var(--hb-shadow-blue); }
.hb-buy-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #111; }
.hb-buy-media img { width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.hb-buy-media::after { content:"▶"; position:absolute; inset:50% auto auto 50%; transform:translate(-50%,-50%); display:grid; width:62px; height:62px; place-items:center; border-radius:50%; background:var(--hb-blue); color:#fff; }
.hb-buy-body { padding: 32px; }
.hb-buy-price { margin-bottom: 22px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.6rem; font-weight: 700; }
.hb-buy-note { color: var(--hb-gray-500); font-size: .78rem; text-align: center; }
.hb-buy-list { margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid #edf0f3; list-style: none; }
.hb-buy-list li { margin: 0 0 12px; color: var(--hb-gray-600); font-size: .88rem; }
.hb-buy-list li::before { content:"✓"; margin-right: 10px; color: var(--hb-blue); font-weight: 700; }

/* Dashboard */
.hb-dashboard { min-height: 100vh; padding-top: 86px; background: var(--hb-off-white); }
.hb-dashboard-layout { display: grid; grid-template-columns: 280px 1fr; min-height: calc(100vh - 86px); }
.hb-dashboard-side { padding: 34px; border-right: 1px solid #edf0f3; background: #fff; }
.hb-profile { display: flex; align-items: center; gap: 14px; margin-bottom: 38px; }
.hb-avatar { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: var(--hb-blue); color: #fff; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.3rem; box-shadow: 0 10px 30px rgba(0,0,255,.18); }
.hb-profile strong { display: block; }
.hb-profile small { display: inline-block; margin-top: 4px; padding: 3px 8px; border: 1px solid rgba(0,0,255,.12); border-radius: 999px; background: rgba(0,0,255,.06); color: var(--hb-blue); }
.hb-dash-nav { display: grid; gap: 7px; }
.hb-dash-nav a { padding: 11px 14px; border-radius: 12px; color: var(--hb-gray-500); font-weight: 600; }
.hb-dash-nav a.is-active { background: rgba(0,0,255,.055); color: var(--hb-blue); }
.hb-dashboard-main { padding: 52px; }
.hb-dashboard-main h1 { margin: 0 0 6px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.8rem; }
.hb-dashboard-main > p { margin-top: 0; color: var(--hb-gray-500); }
.hb-progress-card { display: grid; grid-template-columns: .75fr 1.25fr; overflow: hidden; max-width: 980px; margin-top: 42px; border: 1px solid #edf0f3; border-radius: 24px; background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.05); }
.hb-progress-media { min-height: 300px; }
.hb-progress-media img { width: 100%; height: 100%; object-fit: cover; }
.hb-progress-body { padding: 34px; align-self: center; }
.hb-progress-body h3 { margin: 10px 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; }
.hb-progress-bar { overflow: hidden; height: 10px; margin-top: 24px; border-radius: 999px; background: #eef0f2; }
.hb-progress-bar span { display: block; width: 45%; height: 100%; border-radius: inherit; background: var(--hb-blue); }

/* About */
.hb-about-hero { padding: 165px 0 90px; background: #fff; text-align: center; }
.hb-about-hero .hb-title { max-width: 950px; margin-inline: auto; }
.hb-about-hero p { max-width: 820px; margin: 24px auto 0; color: var(--hb-gray-500); font-size: 1.18rem; line-height: 1.8; }
.hb-founder { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 76px; }
.hb-founder-image { position: relative; }
.hb-founder-image::before { content:""; position:absolute; inset:16px -16px -16px 16px; z-index:0; border-radius:24px; background:rgba(0,0,255,.08); }
.hb-founder-image img { position: relative; z-index: 1; width: 100%; border-radius: 24px; box-shadow: var(--hb-shadow); }
.hb-founder-copy h2 { margin: 0 0 22px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 3rem; }
.hb-founder-copy p { color: var(--hb-gray-600); font-size: 1.05rem; line-height: 1.85; }
.hb-founder-copy .hb-highlight { color: var(--hb-blue); font-weight: 600; }
.hb-beyorizon { padding: 88px 0; border-top: 1px solid #edf0f3; background: var(--hb-off-white); text-align: center; }
.hb-beyorizon p { max-width: 720px; margin: 16px auto 0; color: var(--hb-gray-500); line-height: 1.8; }

/* Footer */
.hb-footer { margin: 0 !important; padding: 46px 0 22px; border-top: 1px solid #edf0f3; background: #fff; color: var(--hb-gray-500); }
.hb-footer-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(180px, .75fr) minmax(180px, .75fr); align-items: start; width: var(--hb-container); margin-inline: auto !important; gap: 44px; }
.hb-footer-logo { margin: 0 0 18px; color: var(--hb-black); font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; font-weight: 700; letter-spacing: .12em; }
.hb-footer-logo span { color: var(--hb-blue); font-style: italic; font-weight: 500; }
.hb-footer-copy { max-width: 480px; margin: 0; line-height: 1.65; }
.hb-footer-heading { margin: 2px 0 16px; color: var(--hb-black); font-family: "Plus Jakarta Sans", sans-serif; font-size: .78rem; letter-spacing: .1em; }
.hb-footer-links { margin: 0; padding: 0; list-style: none; }
.hb-footer-links li { margin: 0 0 9px; }
.hb-footer-links a { color: var(--hb-gray-500); }
.hb-footer-links a:hover { color: var(--hb-blue); }
.hb-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: var(--hb-container); margin: 32px auto 0 !important; padding-top: 18px; border-top: 1px solid #edf0f3; font-size: .76rem; }
.hb-footer-bottom p { margin: 0; }
.hb-footer-bottom strong { color: var(--hb-black); }
.hb-default-content { padding: 150px 24px 90px; }
.hb-404 { min-height: 65vh; display: grid; align-content: center; }

@media (max-width: 1024px) {
  .hb-hero-grid, .hb-ai-grid, .hb-founder { grid-template-columns: 1fr; }
  .hb-hero-grid { gap: 52px; }
  .hb-featured-course { max-width: 680px; }
  .hb-card-grid, .hb-course-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hb-detail-layout { grid-template-columns: 1fr; }
  .hb-buy-card { position: static; max-width: 620px; }
  .hb-dashboard-layout { grid-template-columns: 1fr; }
  .hb-dashboard-side { border-right: 0; border-bottom: 1px solid #edf0f3; }
  .hb-dash-nav { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 782px) {
  body.admin-bar .hb-navbar { top: 46px; }
}

@media (max-width: 767px) {
  :root { --hb-container: min(100% - 32px, 1200px); }
  .hb-section { padding: 82px 0; }
  .hb-navbar { padding: 14px 0; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
  .hb-main-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 88px 24px 24px; background: #fff; }
  .hb-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch; }
  .hb-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { width: 100%; align-items: stretch; gap: 0; }
  .hb-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid #eef0f2; }
  .hb-main-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { width: 100%; padding: 15px 0; font-size: 1.05rem; }
  .hb-main-nav .wp-block-navigation__responsive-container.is-menu-open .hb-nav-cta { border-bottom: 0; margin-top: 18px; }
  .hb-main-nav .wp-block-navigation__responsive-container.is-menu-open .hb-nav-cta .wp-block-navigation-item__content { text-align: center; }
  .hb-hero { min-height: auto; padding: 120px 0 62px; }
  .hb-hero-grid, .hb-card-grid, .hb-course-grid, .hb-learning-grid, .hb-progress-card { grid-template-columns: 1fr; }
  .hb-hero-title { font-size: clamp(3.9rem, 17vw, 5.4rem); }
  .hb-featured-overlay { inset: auto 16px 16px; padding: 17px; }
  .hb-section-heading { margin-bottom: 42px; }
  .hb-ai-grid { gap: 44px; }
  .hb-courses-head, .hb-course-toolbar { align-items: stretch; flex-direction: column; }
  .hb-search { width: 100%; }
  .hb-page-hero, .hb-about-hero { padding: 135px 0 70px; }
  .hb-course-hero { padding: 125px 0 120px; }
  .hb-detail-layout { margin-top: -55px; }
  .hb-detail-card { padding: 25px; }
  .hb-instructor { grid-template-columns: 1fr; }
  .hb-dashboard-main { padding: 34px 20px; }
  .hb-dash-nav { grid-template-columns: 1fr; }
  .hb-progress-media { min-height: 220px; }
  .hb-founder { gap: 42px; }
  .hb-footer { padding-top: 40px; }
  .hb-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hb-footer-grid > .wp-block-column { flex-basis: auto !important; }
  .hb-footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; margin-top: 28px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Classic/PHP theme shell (v0.2+) */
.hb-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.hb-logo {
  display: inline-block;
  color: var(--hb-black);
  text-decoration: none;
}
.hb-logo:hover { color: var(--hb-black); }
.hb-primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .055em;
}
.hb-primary-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hb-primary-menu .menu-item { position: relative; margin: 0; }
.hb-primary-menu .menu-item > a { display: block; color: #52525b; text-decoration: none; }
.hb-primary-menu .menu-item > a:hover,
.hb-primary-menu .current-menu-item > a,
.hb-primary-menu .current-menu-ancestor > a { color: var(--hb-blue); }
.hb-primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  z-index: 30;
  min-width: 210px;
  margin: 0;
  padding: 10px;
  border: 1px solid #eef0f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.hb-primary-menu .menu-item-has-children:hover > .sub-menu,
.hb-primary-menu .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.hb-primary-menu .sub-menu a { padding: 10px 12px; border-radius: 9px; white-space: nowrap; }
.hb-primary-menu .sub-menu a:hover { background: var(--hb-off-white); }
.hb-primary-nav > .hb-nav-cta {
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--hb-blue);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.hb-primary-nav > .hb-nav-cta:hover { background: var(--hb-blue-dark); color: #fff; }
.hb-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hb-mobile-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--hb-black);
  transition: transform .25s ease, opacity .25s ease;
}
.hb-mobile-toggle.is-active > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hb-mobile-toggle.is-active > span:nth-child(2) { opacity: 0; }
.hb-mobile-toggle.is-active > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1100px) {
  .hb-mobile-toggle { display: block; }
  .hb-primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 26px;
    border-top: 1px solid #eef0f2;
    border-bottom: 1px solid #eef0f2;
    background: rgba(255,255,255,.98);
    box-shadow: 0 16px 34px rgba(0,0,0,.06);
    backdrop-filter: blur(18px);
  }
  .hb-primary-nav.is-open { display: flex; flex-direction: column; }
  .hb-primary-menu { display: block; width: 100%; }
  .hb-primary-menu .menu-item { width: 100%; border-bottom: 1px solid #eef0f2; }
  .hb-primary-menu .menu-item > a { padding: 15px 0; }
  .hb-primary-menu .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 8px 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .hb-primary-menu .sub-menu .menu-item { border-bottom: 0; }
  .hb-primary-menu .sub-menu a { padding: 8px 0; color: var(--hb-gray-500); }
  .hb-primary-nav > .hb-nav-cta { margin-top: 16px; padding: 13px 20px; border-bottom: 0; text-align: center; }
}

/* Home + About v0.3: WooCommerce/Tutor LMS-aware content */
.hb-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.hb-journey-card {
  position: relative;
  min-height: 260px;
  padding: 34px;
  border: 1px solid #e9ebef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.035);
}
.hb-step-number {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--hb-blue);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 700;
}
.hb-journey-card h3 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
}
.hb-journey-card p { margin: 0; color: var(--hb-gray-500); line-height: 1.75; }
.hb-home-course-grid .hb-course-card { min-width: 0; }
.hb-course-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background: linear-gradient(to top, rgba(0,0,0,.62), transparent 62%);
  color: #fff;
  opacity: 0;
  transition: opacity .3s ease;
}
.hb-course-media:hover .hb-course-hover { opacity: 1; }
.hb-featured-course--empty {
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,0,255,.12);
  background: linear-gradient(145deg, rgba(0,0,255,.09), rgba(255,255,255,.7));
}
.hb-featured-empty { text-align: center; }
.hb-featured-empty strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; }
.hb-featured-empty span { display: block; margin-top: 8px; color: var(--hb-gray-500); }
.hb-ai-teaser {
  display: grid;
  min-height: 360px;
  place-items: center;
  text-align: center;
}
.hb-ai-teaser > div { max-width: 440px; }
.hb-ai-teaser h3 {
  margin: 24px 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}
.hb-ai-teaser p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.75; }
.hb-ai-orbit {
  display: grid;
  width: 96px;
  height: 96px;
  margin: 0 auto;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.18), rgba(0,0,255,.28) 45%, rgba(138,43,226,.12));
  box-shadow: 0 0 70px rgba(0,0,255,.25);
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.hb-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 48px;
  padding: 54px;
  border: 1px solid rgba(0,0,255,.11);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff 0%, rgba(0,0,255,.045) 100%);
}
.hb-cta-panel h2 {
  max-width: 760px;
  margin: 7px 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  line-height: 1;
}
.hb-cta-panel p:not(.hb-kicker) { max-width: 720px; margin: 0; color: var(--hb-gray-500); line-height: 1.75; }
.hb-cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.hb-btn--secondary { border: 1px solid var(--hb-gray-200); background: #fff; color: var(--hb-black); }
.hb-btn--secondary:hover { border-color: var(--hb-blue); color: var(--hb-blue); }
.hb-empty-state { padding: 42px; border: 1px dashed #d9dde3; border-radius: 20px; background: var(--hb-off-white); text-align: center; }
.hb-empty-state p { margin: 0 0 20px; color: var(--hb-gray-500); }

@media (max-width: 900px) {
  .hb-journey-grid { grid-template-columns: 1fr; }
  .hb-journey-card { min-height: 0; }
  .hb-step-number { margin-bottom: 28px; }
  .hb-cta-panel { grid-template-columns: 1fr; padding: 38px; }
  .hb-cta-actions { justify-content: flex-start; }
}

@media (max-width: 767px) {
  .hb-cta-panel { padding: 28px; }
  .hb-cta-actions { flex-direction: column; }
  .hb-cta-actions .hb-btn { width: 100%; text-align: center; }
}

/* Usability: keyboard orientation and general support navigation. */
.hb-skip-link{position:fixed;left:16px;top:16px;z-index:100001;transform:translateY(-250%);padding:12px 18px;border:2px solid #1313ff;border-radius:8px;background:#fff;color:#1313ff;font-weight:600;text-decoration:underline}
.hb-skip-link:focus{transform:translateY(0)}
body.admin-bar .hb-skip-link{top:50px}
main.hb-main{scroll-margin-top:120px}
.hb-primary-nav a[aria-current="page"]{color:var(--hb-blue);text-decoration:underline;text-underline-offset:5px}
.hb-nav-help{color:#52525b;text-decoration:none;white-space:nowrap}
.hb-nav-help:hover,.hb-nav-help:focus-visible{color:var(--hb-blue);text-decoration:underline;text-underline-offset:5px}
.hb-primary-nav a:focus-visible,.hb-mobile-toggle:focus-visible{outline:3px solid #1313ff;outline-offset:4px}
@media(max-width:1100px){.hb-primary-nav>.hb-nav-help{display:block;padding:15px 0;border-bottom:1px solid #eef0f2}}

/* Reading layout for published legal documents and their draft previews. */
.hb-main.hb-legal-page{padding-top:152px;padding-bottom:64px}
.hb-legal-document{max-width:76ch;margin-inline:auto;font-size:1rem;line-height:1.8;overflow-wrap:anywhere}
.hb-legal-document>h1{font-size:clamp(36px,5vw,56px);line-height:1.12;margin:0 0 24px}
.hb-legal-document h2{font-size:28px;line-height:1.3;margin:32px 0 16px}
.hb-legal-document h3{font-size:22px;line-height:1.4;margin:24px 0 12px}
.hb-legal-document p,.hb-legal-document li{line-height:1.8}
.hb-legal-document a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:767px){.hb-main.hb-legal-page{padding-top:128px;padding-bottom:40px}.hb-legal-document h2{font-size:25px}}

/* Site journey: secondary links and anchored assistance sections. */
.hb-btn-row > .hb-offer-secondary { align-self:center; display:inline-block; min-height:44px; padding:10px 0; line-height:1.5; text-decoration:underline; text-underline-offset:4px; }
.hb-btn-row > .hb-offer-secondary:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.hb-default-content section[id], .hb-default-content h2[id], .hb-default-content article[id] { scroll-margin-top:160px; }

/* Recover from broken links and account access issues. */
.hb-recovery-actions{justify-content:center;flex-wrap:wrap;margin:24px 0;gap:16px}.hb-recovery-help{line-height:1.7;margin-block:24px;overflow-wrap:anywhere}.hb-recovery-help a{text-decoration:underline;text-underline-offset:4px}.hb-recovery-help a:focus-visible{outline:2px solid currentColor;outline-offset:4px}.hb-recovery-help h2{font-size:1.5rem;line-height:1.3}.hb-404{padding-top:160px;padding-bottom:72px}.hb-404 .hb-copy{max-width:640px;margin-inline:auto}@media(max-width:600px){.hb-recovery-actions{flex-direction:column;align-items:stretch}.hb-404{padding-top:144px;padding-bottom:48px}}

/* Readable secondary text on the pale conversion panel and price cards. */
.hb-cro-final .hb-copy{color:#515165}.hb-course-card del,.hb-course-card del .amount{color:#515165;opacity:1}

/* Keep the final price and VAT note readable in narrow course cards. */
.hb-course-foot{flex-wrap:wrap;align-items:flex-start}
.hb-course-foot .hb-course-price{line-height:1.35}
.hb-course-price .woocommerce-price-suffix{display:block;margin-top:4px;white-space:nowrap;font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-size:.75rem;font-weight:500;line-height:1.5;color:var(--hb-gray-600)}

/* Allow the home hero to shrink below its longest badge at narrow phone widths. */
@media(max-width:600px){.hb-hero-grid{grid-template-columns:minmax(0,1fr)}.hb-hero-grid>*{min-width:0}.hb-hero .hb-eyebrow{max-width:100%;width:fit-content}}

/* Avoid doubled gutters and top spacing around the custom Method page on phones. */
@media(max-width:600px){body.page-id-102 .hb-default-content{padding:0 0 64px}body.page-id-102 .hb-default-content>.hb-container{width:100%}}
