/* --------------------------------------------------------------------------
   Portal hero + choice blocks (front page) and the budget calculator
   (Host by Tasha template + Calculator page template).
   Depends on main.css for tokens (:root), .container, .editorial,
   .gold-shimmer, .eyebrow, .btn, .btn-gold, .btn-ghost-dark, .gala-section.
   -------------------------------------------------------------------------- */

/* ==========================================================================
   1. Portal hero — full-screen slideshow
   ========================================================================== */

.portal-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 88px);
  overflow: hidden;
  background: var(--gala-bg-1);
  color: #f3ebd9;
}

.portal-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: portalHeroFade 24s infinite;
}

@keyframes portalHeroFade {
  0%   { opacity: 0; }
  6%   { opacity: 1; }
  27%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}

.portal-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 18, 12, 0.74) 0%,
    rgba(7, 18, 12, 0.46) 45%,
    rgba(7, 18, 12, 0.94) 100%
  );
}

.portal-hero .gala-particles-layer { position: absolute; inset: 0; }

.portal-hero__center {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 0 80px;
}

.portal-hero__kicker {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 22px;
}

.portal-hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold-mid);
  margin-bottom: 26px;
}
.portal-hero__ornament span.line {
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 48, 0.7));
}
.portal-hero__ornament span.line.r {
  background: linear-gradient(90deg, rgba(212, 168, 48, 0.7), transparent);
}

.portal-hero__headline {
  margin: 0;
  font-size: clamp(44px, 6.6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 16ch;
}

.portal-hero__lead {
  margin: 28px auto 0;
  max-width: 580px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(243, 235, 217, 0.78);
}

.portal-hero__ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.portal-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 235, 217, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.portal-hero__scroll span.rule {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(212, 168, 48, 0.7), transparent);
}
.portal-hero__scroll:hover { color: var(--gold-bright); }

/* ==========================================================================
   2. Choice blocks — two big entry points
   ========================================================================== */

.choice-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.choice-block {
  position: relative;
  display: block;
  min-height: 480px;
  overflow: hidden;
  text-decoration: none;
  background: var(--green-deep);
}
.choice-block--host { background: var(--green-darker); }

.choice-block__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  transition: transform 0.5s cubic-bezier(.2, .7, .2, 1), opacity 0.35s ease;
}
.choice-block:hover .choice-block__img { transform: scale(1.05); opacity: 0.42; }

.choice-block__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 12, 0.15) 0%, rgba(7, 18, 12, 0.82) 100%);
}

.choice-block__content {
  position: relative;
  z-index: 2;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px 48px;
}

.choice-block__kicker {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 14px;
}

.choice-block__title {
  display: block;
  margin: 0 0 14px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: #ffffff;
}

.choice-block__copy {
  display: block;
  margin: 0 0 30px;
  max-width: 440px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(243, 235, 217, 0.78);
}

.choice-block__cta {
  align-self: flex-start;
  pointer-events: none;
}

/* ==========================================================================
   3. Budget calculator
   ========================================================================== */

.bcalc { padding: var(--section-pad) 0; }

.bcalc__head {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
}
.bcalc__eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 14px;
}
.bcalc__title {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 400;
}
.bcalc__sub {
  margin: 18px auto 0;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(243, 235, 217, 0.72);
}

.bcalc__grid {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 360px);
  gap: 24px;
  align-items: start;
}

/* ---------- Left: paper panel ---------- */

.bcalc__panel {
  background: var(--bg);
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(7, 18, 12, 0.45);
  display: flex;
  flex-direction: column;
  gap: 26px;
  color: var(--ink);
}

.bcalc__sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.bcalc__slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 12px;
}
.bcalc__slider-label {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.bcalc__slider-value {
  font-family: var(--font-editorial);
  font-size: 22px;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
}

.bcalc__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--rule);
  outline: none;
  cursor: pointer;
}
.bcalc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f6d97a 0%, #d4a830 50%, #b58320 100%);
  border: none;
  box-shadow: 0 2px 8px rgba(212, 168, 48, 0.45);
  cursor: pointer;
}
.bcalc__range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f6d97a 0%, #d4a830 50%, #b58320 100%);
  border: none;
  box-shadow: 0 2px 8px rgba(212, 168, 48, 0.45);
  cursor: pointer;
}

.bcalc__rule { height: 1px; background: var(--rule); }

.bcalc__rows { display: flex; flex-direction: column; gap: 10px; }

.bcalc-row {
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 16px 18px;
  background: var(--bg-alt);
  transition: border-color 0.22s ease, background 0.22s ease;
}
.bcalc-row.is-on {
  border-color: var(--gold-mid);
  background: var(--gold-soft);
}

.bcalc-row__inner { display: flex; align-items: flex-start; gap: 14px; }

.bcalc-row__check {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 6px;
  border: 2px solid var(--rule);
  background: #ffffff;
  color: #0a1d13;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.18s ease;
}
.bcalc-row.is-on .bcalc-row__check {
  border-color: var(--gold-mid);
  background: linear-gradient(180deg, #f6d97a 0%, #d4a830 50%, #b58320 100%);
}

.bcalc-row__body { flex: 1; min-width: 0; }

.bcalc-row__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.bcalc-row__name {
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.18s ease;
}
.bcalc-row.is-on .bcalc-row__name { color: var(--ink); }

.bcalc-row__price {
  flex: none;
  font-family: var(--font-editorial);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.18s ease;
}
.bcalc-row.is-on .bcalc-row__price { color: var(--gold-deep); }

.bcalc-row__desc {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.bcalc-row__opts {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.bcalc-row.is-off .bcalc-row__opts { display: none; }

.bcalc-level {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: #ffffff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.18s ease;
}
.bcalc-level:hover { border-color: var(--gold-mid); color: var(--ink); }
.bcalc-level.is-active {
  border-color: var(--gold-mid);
  background: linear-gradient(180deg, #f6d97a 0%, #d4a830 50%, #b58320 100%);
  color: #0a1d13;
}

.bcalc-step {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid var(--rule);
  background: #ffffff;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: all 0.18s ease;
}
.bcalc-step:hover { border-color: var(--gold-mid); color: var(--ink); }

.bcalc-looks {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  min-width: 76px;
  text-align: center;
}

/* ---------- Right: sticky total ---------- */

.bcalc__total {
  position: sticky;
  top: 96px;
  background: var(--green-deep);
  color: #f3ebd9;
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(7, 18, 12, 0.5);
}

.bcalc__total-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 10px;
}
.bcalc__total-value {
  font-family: var(--font-editorial);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.bcalc__total-summary {
  margin-top: 8px;
  font-size: 12.5px;
  color: rgba(243, 235, 217, 0.6);
}

.bcalc__total-rule { margin: 24px 0; height: 1px; background: rgba(246, 217, 122, 0.18); }

.bcalc__lines { display: flex; flex-direction: column; gap: 9px; }
.bcalc__line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  line-height: 1.35;
}
.bcalc__line-name { color: rgba(243, 235, 217, 0.78); }
.bcalc__line-price { flex: none; color: var(--gold-bright); font-weight: 600; }
.bcalc__lines-empty {
  font-size: 13px;
  font-style: italic;
  font-family: var(--font-editorial);
  color: rgba(243, 235, 217, 0.5);
}

.bcalc__disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(243, 235, 217, 0.55);
}

.bcalc__total .btn { margin-top: 22px; width: 100%; justify-content: center; }

/* ---------- Lead form inside the total card ---------- */

.bcalc-lead {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 217, 122, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bcalc-lead__head {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.bcalc-lead__intro {
  margin: -4px 0 2px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(243, 235, 217, 0.62);
}

.bcalc-lead__field { display: flex; flex-direction: column; gap: 5px; }

.bcalc-lead__field > span {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 235, 217, 0.6);
}

.bcalc-lead input[type="text"],
.bcalc-lead input[type="email"],
.bcalc-lead input[type="tel"] {
  width: 100%;
  padding: 11px 13px;
  border-radius: 6px;
  border: 1px solid rgba(246, 217, 122, 0.28);
  background: rgba(7, 18, 12, 0.5);
  color: #f3ebd9;
  font-family: var(--font-ui);
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.bcalc-lead input:focus {
  border-color: var(--gold-mid);
  box-shadow: 0 0 0 3px rgba(212, 168, 48, 0.16);
}
.bcalc-lead input::placeholder { color: rgba(243, 235, 217, 0.35); }

.bcalc-lead__submit { margin-top: 6px; width: 100%; justify-content: center; }

.bcalc-lead__msg {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gold-bright);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.bcalc-lead__msg.is-visible { opacity: 1; }

.bcalc__alt-link {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(243, 235, 217, 0.65);
  text-decoration: none;
}
.bcalc__alt-link:hover { color: var(--gold-bright); }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.tasha-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ---------- Extras ---------- */

.bcalc__extras { margin-top: 44px; }
.bcalc__extras-title {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 235, 217, 0.65);
  margin-bottom: 20px;
}
.bcalc__extras-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bcalc__extras-list li {
  font-size: 12.5px;
  color: rgba(243, 235, 217, 0.8);
  border: 1px solid rgba(246, 217, 122, 0.25);
  border-radius: 999px;
  padding: 7px 15px;
}

/* ==========================================================================
   4. Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .bcalc__grid { grid-template-columns: 1fr; }
  .bcalc__total { position: static; }
  .choice-block__content { padding: 44px 32px; }
}

@media (max-width: 720px) {
  .portal-hero { min-height: calc(100vh - 72px); }
  .portal-hero__center { padding: 72px 0 64px; }
  .portal-hero__lead { font-size: 15.5px; }
  .portal-hero__ctas .btn { width: 100%; justify-content: center; }
  .portal-hero__scroll { display: none; }

  .choice-block, .choice-block__content { min-height: 400px; }

  .bcalc { padding: var(--section-pad-m) 0; }
  .bcalc__panel { padding: 22px; }
  .bcalc__sliders { grid-template-columns: 1fr; gap: 20px; }
  .bcalc__total { padding: 24px; }
  .bcalc__total-value { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .portal-hero__slide { animation: none; }
  .portal-hero__slide:first-of-type { opacity: 1; }
  .choice-block__img { transition: none; }
}
