/* Heaven Hues — Signature Refinements (loaded after style.css) */

/* STARS: 3 bold twinkling stars, upper area only */
html::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image: radial-gradient(10.5px 10.5px at 90% 9%, #fff, rgba(255,255,255,0) 70%);
  filter: drop-shadow(0 0 10px rgba(255,255,255,.85));
  animation: hh-twinkle-1 4.2s ease-in-out infinite;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(3px 3px at 7% 16%, #fff, rgba(255,255,255,0) 70%),
    radial-gradient(2.6px 2.6px at 78% 24%, #fff, rgba(255,255,255,0) 70%);
  filter: drop-shadow(0 0 3px rgba(255,255,255,.7));
  animation: hh-twinkle-2 6s ease-in-out infinite 1.4s;
}
@keyframes hh-twinkle-1 {
  0%, 100% { opacity: .12; }
  45%      { opacity: 1; }
  60%      { opacity: .2; }
}
@keyframes hh-twinkle-2 {
  0%, 100% { opacity: .18; }
  35%      { opacity: .9; }
  55%      { opacity: .15; }
  80%      { opacity: .75; }
}

/* QUIZ CARDS: start greyscale, bloom to colour on hover/select */
.img-card .card-img {
  filter: grayscale(88%) brightness(.82) contrast(1.04);
  transition: filter .8s cubic-bezier(.22,.61,.36,1), transform 1.1s cubic-bezier(.22,.61,.36,1);
}
.img-card:hover .card-img,
.img-card.selected .card-img {
  filter: grayscale(0%) brightness(1.02) saturate(1.12) contrast(1.02);
}
.img-card.selected {
  box-shadow: 0 0 0 1px var(--gold), 0 30px 70px rgba(200,153,58,.22);
}
.card-text::after,
.card-bottom::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--gold);
  margin-top: 10px;
  transition: width .6s cubic-bezier(.22,.61,.36,1);
}
.img-card.selected .card-text::after,
.img-card.selected .card-bottom::after {
  width: 36px;
}

/* BUTTONS: light-sweep shimmer on hover */
.begin-btn,
.lead-form button,
.register-submit,
.result-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.begin-btn::before,
.lead-form button::before,
.register-submit::before,
.result-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.begin-btn:hover::before,
.lead-form button:hover::before,
.register-submit:hover::before,
.result-cta:hover::before {
  transform: translateX(120%);
}

/* NAV: underline grows from centre */
.site-nav a {
  position: relative;
  padding-bottom: 4px;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .35s ease, left .35s ease;
}
.site-nav a:hover::after {
  width: 100%;
  left: 0;
}
.logo img,
a.page-logo img {
  transition: filter .4s ease;
}
.logo:hover img,
a.page-logo:hover img {
  filter: drop-shadow(0 0 14px rgba(200,153,58,.45));
}

/* SECTION DIVIDERS: gold diamond between major blocks */
.video-section,
.lead-section {
  position: relative;
}
.video-section::before,
.lead-section::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  margin: 0 auto 46px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: .7;
}

/* FORM FOCUS: gold ring on active field */
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.register-form input:focus,
.register-form select:focus,
.register-form textarea:focus,
.custom-colour-input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(200,153,58,.18);
}

/* RESULT STEP BADGES: slow ambient pulse */
@keyframes hh-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(200,153,58,.10), 0 18px 35px rgba(0,0,0,.35); }
  50%      { box-shadow: 0 0 0 12px rgba(200,153,58,.16), 0 18px 35px rgba(0,0,0,.35); }
}
.step-badge {
  animation: hh-pulse 4.5s ease-in-out infinite;
}

/* CARD HOVER: slower, softer ease */
.img-card,
.action-card,
.swot-card,
.lead-card,
.hh-result-layer {
  transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s cubic-bezier(.22,.61,.36,1), border-color .5s ease;
}

/* ABOUT PAGE: section eyebrows */
.about-eyebrow {
  font-family: Jost, sans-serif;
  color: var(--gold) !important;
  font-size: 13px !important;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: 1 !important;
  margin: 36px 0 4px;
}
.page-card p + .about-eyebrow {
  margin-top: 40px;
}
.page-card em {
  color: var(--gold);
  font-style: italic;
}

/* SHARED INNER-PAGE FRAME */
.page-shell {
  min-height: 100vh;
  padding: 120px 8vw 80px;
  color: #F5EFE6;
}
.page-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid rgba(200,153,58,.28);
  background: rgba(15,13,11,.62);
  border-radius: 22px;
  backdrop-filter: blur(8px);
}
.page-card h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 300;
  color: #C8993A;
  margin-bottom: 12px;
}
.page-card .subtitle {
  font-family: Jost, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  color: #D4A843;
  margin-bottom: 28px;
}
.page-card p,
.page-card li {
  font-family: Jost, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: #F5EFE6;
  opacity: .92;
}
.page-card ul {
  margin: 22px 0 0 22px;
}
.page-logo {
  position: fixed;
  top: 26px;
  left: 38px;
  z-index: 1000;
}
.page-logo img {
  height: 70px;
  width: auto;
}

/* PROJECT HERO BANNER */
.project-banner {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  padding: 0 8vw 90px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.project-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,9,7,.15) 0%, rgba(11,9,7,.35) 45%, rgba(11,9,7,.94) 100%);
  z-index: 0;
}
.project-banner-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.project-eyebrow {
  font-family: Jost, sans-serif;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.project-banner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.08;
  color: #F5EFE6;
  margin-bottom: 18px;
}
.project-banner h1 em {
  color: var(--gold);
  font-style: italic;
}
.project-banner-sub {
  font-family: Jost, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #F5EFE6;
  opacity: .88;
  max-width: 560px;
  margin-bottom: 30px;
}
.project-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.project-btn-primary,
.project-btn-secondary {
  font-family: Jost, sans-serif;
  font-size: 14px;
  letter-spacing: .04em;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), background .35s ease, border-color .35s ease;
}
.project-btn-primary {
  background: var(--gold);
  color: #1a140c;
}
.project-btn-primary:hover { transform: translateY(-2px); }
.project-btn-secondary {
  border: 1px solid rgba(245,239,230,.55);
  color: #F5EFE6;
  background: transparent;
}
.project-btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* BEFORE/AFTER BLOCK */
.before-after-block {
  margin: 10px 0 36px;
  text-align: center;
}
.before-after-block img {
  max-width: 340px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(200,153,58,.35);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.before-after-caption {
  font-family: Jost, sans-serif;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 14px;
}

/* FOUNDER BLOCK */
.founder-block {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  margin: 18px 0 8px;
  padding: 28px;
  border: 1px solid rgba(200,153,58,.28);
  background: rgba(255,255,255,.03);
  border-radius: 20px;
}
.founder-photo {
  width: 6cm;
  height: 4cm;
  flex: 0 0 6cm;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 1px solid rgba(200,153,58,.4);
  box-shadow: 0 14px 34px rgba(0,0,0,.4);
}
.founder-text {
  flex: 1 1 280px;
  min-width: 240px;
}
.founder-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  color: var(--cream);
  margin: 2px 0 14px;
}

/* PATH CARDS (project pages) */
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0 48px;
}
.path-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.path-card {
  border: 1px solid rgba(200,153,58,.3);
  border-radius: 18px;
  padding: 28px 24px 24px;
  background: rgba(200,153,58,.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .4s ease, background .4s ease, transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease;
  cursor: default;
}
.path-card:hover {
  border-color: rgba(200,153,58,.7);
  background: rgba(200,153,58,.08);
  transform: translateY(-4px);
}
.path-card.path-selected {
  border-color: var(--gold);
  background: rgba(200,153,58,.14);
  box-shadow: 0 0 0 1.5px var(--gold), 0 18px 48px rgba(200,153,58,.2);
  transform: translateY(-2px);
}
.path-card.path-selected .path-cta-outline a,
.path-card.path-selected .path-cta-outline button {
  background: var(--gold) !important;
  color: #1a140c !important;
  border-color: var(--gold) !important;
}
.path-card.path-selected .path-number {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(200,153,58,.55);
}
.path-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: rgba(200,153,58,.55);
  line-height: 1;
  margin-bottom: 4px;
  transition: color .4s ease, text-shadow .4s ease;
}
.path-label {
  font-family: Jost, sans-serif;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .7;
  margin-bottom: 2px;
}
.path-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 400;
  color: #F5EFE6;
  margin: 0;
  line-height: 1.2;
}
.path-card p {
  font-family: Jost, sans-serif;
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #F5EFE6;
  opacity: .78;
  margin: 0;
}
.path-card .path-steps {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.path-card .path-steps li {
  font-family: Jost, sans-serif;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: #F5EFE6;
  opacity: .75;
  padding-left: 18px;
  position: relative;
}
.path-card .path-steps li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 11px;
  top: 2px;
}
.path-card .path-cta {
  margin-top: auto;
  padding-top: 14px;
}
.path-cta a,
.path-cta button {
  font-family: Jost, sans-serif;
  font-size: 13px;
  letter-spacing: .05em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s ease, opacity .3s ease, background .35s ease, color .35s ease, border-color .35s ease;
  border: none;
  width: 100%;
  justify-content: center;
  text-align: center;
}
.path-cta-gold a,
.path-cta-gold button {
  background: var(--gold);
  color: #1a140c;
}
.path-cta-outline a,
.path-cta-outline button {
  border: 1px solid rgba(200,153,58,.55);
  color: var(--gold);
  background: transparent;
}
.path-cta a:hover,
.path-cta button:hover {
  opacity: .88;
  transform: translateY(-2px);
}

/* UPLOAD AREA */
.upload-area {
  border: 2px dashed rgba(200,153,58,.45);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 16px;
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease;
}
.upload-area:hover {
  border-color: var(--gold);
  background: rgba(200,153,58,.06);
}
.upload-area input[type="file"] { display: none; }
.upload-area p {
  font-family: Jost, sans-serif;
  font-size: 14px !important;
  opacity: .7 !important;
  margin: 0 !important;
  pointer-events: none;
}
.upload-area .upload-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}
#photoFileName {
  font-size: 13px;
  color: var(--gold);
  margin-top: 8px;
  display: block;
  min-height: 18px;
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html::before,
  body::before,
  .img-card .card-img,
  .begin-btn::before,
  .lead-form button::before,
  .register-submit::before,
  .result-cta::before,
  .step-badge,
  .img-card,
  .action-card,
  .swot-card,
  .lead-card,
  .hh-result-layer,
  .path-card {
    animation: none !important;
    transition: none !important;
  }
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .path-grid, .path-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .project-banner { min-height: 72vh; padding: 0 6vw 60px; }
}
@media (max-width: 640px) {
  .founder-block { justify-content: center; text-align: center; padding: 22px; }
  .founder-photo { margin: 0 auto; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html::before,
  body::before,
  .img-card .card-img,
  .begin-btn::before,
  .lead-form button::before,
  .register-submit::before,
  .result-cta::before,
  .step-badge,
  .img-card,
  .action-card,
  .swot-card,
  .lead-card,
  .hh-result-layer,
  .path-card {
    animation: none !important;
    transition: none !important;
  }
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .path-grid, .path-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .project-banner { min-height: 72vh; padding: 0 6vw 60px; }
}
@media (max-width: 640px) {
  .founder-block { justify-content: center; text-align: center; padding: 22px; }
  .founder-photo { margin: 0 auto; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html::before,
  body::before,
  .img-card .card-img,
  .begin-btn::before,
  .lead-form button::before,
  .register-submit::before,
  .result-cta::before,
  .step-badge,
  .img-card,
  .action-card,
  .swot-card,
  .lead-card,
  .hh-result-layer,
  .path-card {
    animation: none !important;
    transition: none !important;
  }
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .path-grid, .path-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .project-banner { min-height: 72vh; padding: 0 6vw 60px; }
}
@media (max-width: 640px) {
  .founder-block { justify-content: center; text-align: center; padding: 22px; }
  .founder-photo { margin: 0 auto; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html::before,
  body::before,
  .img-card .card-img,
  .begin-btn::before,
  .lead-form button::before,
  .register-submit::before,
  .result-cta::before,
  .step-badge,
  .img-card,
  .action-card,
  .swot-card,
  .lead-card,
  .hh-result-layer,
  .path-card {
    animation: none !important;
    transition: none !important;
  }
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .path-grid, .path-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .project-banner { min-height: 72vh; padding: 0 6vw 60px; }
}
@media (max-width: 640px) {
  .founder-block { justify-content: center; text-align: center; padding: 22px; }
  .founder-photo { margin: 0 auto; }
}