/* /website-cost-melbourne/: a guide page in the Mantra Field system (tokens, type, buttons and FAQ from styles.css). */

/* ---------- Top bar: logo left, Book a call right ---------- */
.gtop { position: relative; z-index: 5; }
.gtop__inner { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gtop__logo { display: block; padding: 8px 8px 8px 0; }
.gtop__logo svg { display: block; width: clamp(112px, 9vw, 136px); height: auto; aspect-ratio: 2834 / 477; color: var(--fg); }

/* ---------- Intro: the question, then the answer straight away ---------- */
.ghead { position: relative; z-index: 1; padding-block: calc(var(--nav-h) + clamp(56px, 9vw, 128px)) clamp(56px, 7vw, 96px); text-align: center; }
.ghead__crumb { font-size: .875rem; font-stretch: 112%; font-weight: 500; color: var(--muted); }
.ghead__crumb a { color: var(--muted); }
.ghead__crumb a:hover { color: var(--fg); }
.ghead h1 { margin: 22px auto 0; max-width: 16ch; font-size: clamp(2.4rem, 1rem + 4.4vw, 4.8rem); line-height: 1.02; letter-spacing: -.03em; font-stretch: 116%; }
.ghead h1 em { font-style: normal; color: var(--muted); }
.ghead__answer { margin: 32px auto 0; max-width: 58ch; font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem); line-height: 1.55; color: var(--soft); text-wrap: pretty; }
.ghead__answer strong { color: var(--fg); font-weight: 560; }
.ghead__meta { margin-top: 26px; font-size: .875rem; color: var(--muted); }

/* ---------- The three tiers: glass plates, middle one lifted ---------- */
.tiers { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); align-items: start; padding-bottom: var(--section); }
.tier {
  position: relative; padding: clamp(26px, 2.6vw, 38px); border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px var(--shadow);
}
.tier--lift { border-color: var(--line-strong); }
@media (min-width: 900px) { .tier--lift { transform: translateY(-22px); } }
.tier__name { font-size: .9375rem; font-stretch: 112%; font-weight: 520; color: var(--muted); }
.tier__price { margin-top: 14px; font-size: clamp(2.6rem, 1.6rem + 2.4vw, 3.6rem); font-stretch: 118%; font-weight: 540; letter-spacing: -.03em; line-height: 1; }
.tier__price small { margin-left: 6px; font-size: .95rem; font-weight: 450; letter-spacing: 0; color: var(--muted); }
.tier__line { margin-top: 14px; color: var(--soft); }
.tier ul { margin: 24px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: .9688rem; line-height: 1.45; color: var(--soft); }
.tier li { position: relative; padding-left: 20px; }
.tier li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--fg); }
.tier__bonus { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.5; color: var(--soft); }
.tier__bonus strong { display: block; margin-bottom: 6px; color: var(--fg); font-weight: 540; }

/* ---------- Long-form sections: heading left, text right ---------- */
.gsec { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); padding-bottom: var(--section); }
.gsec > h2 { grid-column: 1 / span 5; max-width: 13ch; }
.gsec__body { grid-column: 7 / span 6; display: grid; gap: 20px; color: var(--soft); }
.gsec__body p { max-width: 60ch; }
.gsec__body strong { color: var(--fg); font-weight: 540; }
.gsec__body a, .gend a.text { color: var(--fg); background: linear-gradient(currentColor 0 0) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; }
.factors { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.factors li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.factors h3 { font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); color: var(--fg); }
.factors p { margin-top: 6px; }

/* ---------- FAQ reuses .faq from styles.css ---------- */
.gfaq { position: relative; z-index: 1; }
.gfaq .faq__head { position: static; }

/* ---------- Closing call ---------- */
.gend { position: relative; z-index: 1; padding-bottom: var(--section); text-align: center; }
.gend h2 { margin-inline: auto; max-width: 14ch; }
.gend p { margin: 22px auto 0; max-width: 46ch; color: var(--soft); }
.gend__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 30px; }

.gfoot { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.gfoot__inner { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; padding-block: 34px calc(34px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: .9375rem; color: var(--muted); }
.gfoot a { color: var(--muted); }
.gfoot a:hover { color: var(--fg); }

/* ---------- Motion: rise into place on load, reveal on scroll (both reversible by scrolling back) ---------- */
html.motion .ghead > * { animation: rise-in .9s var(--ease-out) backwards; }
html.motion .ghead > :nth-child(2) { animation-delay: .08s; }
html.motion .ghead > :nth-child(3) { animation-delay: .2s; }
html.motion .ghead > :nth-child(4) { animation-delay: .3s; }
html.motion [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
html.motion [data-reveal].is-in { opacity: 1; transform: none; }
html.motion .tier--lift[data-reveal].is-in { transform: translateY(-22px); }
@media (max-width: 899px) { html.motion .tier--lift[data-reveal].is-in { transform: none; } }

/* ---------- Phones and tablets ---------- */
@media (max-width: 899px) {
  .tiers { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .gsec { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .gsec > h2, .gsec__body { grid-column: 1; }
  .gfaq { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .gfaq .faq__head, .gfaq .faq__list { grid-column: 1; }
}
@media (max-width: 599px) {
  .gtop__inner { height: 72px; }
  .gtop .btn--sm .btn__label { font-size: .875rem; }
}
