/* Home page, built on the HOPE Ring B design language (ring/ring.css).
   Lora headlines, Work Sans text, photography first, few words. */

.home-page main { overflow: hidden; }
.home-page .r-btn-outline-light { color: white; border-color: rgba(255,255,255,.75); background: transparent; }
.home-page .r-btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* hero */
.h-hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px);
  min-height: 100svh; padding: 120px var(--gutter) 56px;
  background: radial-gradient(circle at 85% 20%, rgba(153,203,220,.45), transparent 55%), var(--paper);
}
.h-pill { margin-bottom: 26px !important; }
.h-hero h1 { font-size: clamp(48px, 5.4vw, 84px); }
.h-hero-sub { max-width: 560px; margin-top: 24px !important; color: var(--muted); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.45; }
.h-funding { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 30px; font-size: 18px; }
.h-funding strong { color: var(--tide); }
.h-funding-logos { display: inline-flex; align-items: center; gap: 14px; }
.h-funding-logos img { width: auto; height: 40px; }
.h-hero .r-ctas { margin-top: 34px; }
.h-hero-visual { position: relative; }
.h-hero-photo { width: 100%; height: min(70vh, 660px); object-fit: cover; border-radius: 36px; box-shadow: 0 40px 100px rgba(10,43,58,.18); }
.h-float {
  position: absolute; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 22px;
  background: rgba(255,255,255,.94); box-shadow: 0 20px 50px rgba(10,43,58,.2); backdrop-filter: blur(12px);
  font-size: 15px; line-height: 1.35; color: var(--muted); animation: h-float-in .8s cubic-bezier(.2,.8,.2,1) both;
}
.h-float strong { display: block; color: var(--ink); font-size: 17px; }
.h-float i { flex: none; width: 14px; height: 14px; border-radius: 50%; }
.h-float-alert { top: 8%; left: -6%; animation-delay: .5s; }
.h-float-alert i { background: #e8694a; box-shadow: 0 0 0 0 rgba(232,105,74,.55); animation: r-ping-warm 1.8s infinite; }
.h-float-ok { right: -4%; bottom: 10%; animation-delay: 1.4s; }
.h-float-ok i { background: #3aa76d; }
@keyframes h-float-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* trust: memberships, listings, supporters */
.h-trust { padding: 56px var(--gutter) 64px; text-align: center; background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-page main .h-trust-title { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.h-trust-row, .h-support-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin: 0; padding: 0; list-style: none; }
.h-trust-row { gap: 24px clamp(32px, 5vw, 72px); margin-top: 28px; }
.h-trust-row a { display: block; border-radius: 12px; transition: transform .25s, opacity .25s; }
.h-trust-row a:hover { transform: translateY(-3px); }
.h-trust-row img { width: auto; }
.h-logo-atsa { height: 92px; }
.h-logo-salt { height: 88px; }
.h-logo-ned { height: 64px; }
.h-logo-bigw { height: 40px; }
.h-logo-woolworths { height: 42px; }
.h-support-label { margin-top: 44px !important; color: var(--muted); font-size: 16px; }
.h-support-row { gap: 22px clamp(28px, 4vw, 56px); margin-top: 18px; }
.h-support-row img { width: auto; height: 34px; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.h-support-row img:hover { filter: none; opacity: 1; }

/* meet the ring */
.h-product { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: clamp(32px, 5vw, 80px); padding: clamp(90px, 12vw, 150px) var(--gutter); }
.h-product-logo img { width: min(100%, 440px); height: auto; }
.h-product-line { margin-top: 22px !important; font-size: 21px; color: var(--muted); }
.h-product .r-price { margin-bottom: 28px !important; }
.h-product-visual { display: block; overflow: hidden; border-radius: 36px; }
.h-product-visual img { width: 100%; height: auto; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.h-product-visual:hover img { transform: scale(1.04); }

/* how it works */
.h-how { padding: 0 0 clamp(90px, 12vw, 150px); }
.h-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0 var(--gutter); list-style: none; }
.h-how-card { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); color: white; background: var(--ink); }
.h-how-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.h-how-card:hover > img { transform: scale(1.04); }
.h-how-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 40%, rgba(10,20,24,.82)); }
.h-how-card > div { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; }
.h-how-card span { color: var(--blue-light); font-size: 15px; font-weight: 700; letter-spacing: .1em; }
.h-how-card h3 { margin-top: 8px !important; font-family: var(--serif); font-size: clamp(28px, 2.4vw, 36px); line-height: 1.1; }
.h-how-card p { margin-top: 8px !important; color: rgba(255,255,255,.85); font-size: 18px; }
.h-how-card-app { background: radial-gradient(circle at 50% 30%, #2a5d72, var(--tide) 70%); }
.h-how-card-app > img { inset: 7% 22% auto; width: 56%; height: auto; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0,0,0,.4)); }
.h-how-card-app:hover > img { transform: translateY(-6px); }

/* audiences */
.h-audience { padding: 0 0 clamp(90px, 12vw, 150px); }
.h-audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 var(--gutter); }
.h-audience-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: white; }
.h-audience-card > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.h-audience-card > div { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 34px 36px 38px; }
.h-audience-card h3 { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.12; }
.h-audience-card div > p:not(.r-eyebrow) { margin: 14px 0 28px !important; color: var(--muted); font-size: 19px; }
.h-audience-card .r-btn { margin-top: auto; }
.h-audience-card-dark { color: white; background: var(--ink); }
.h-audience-card-dark div > p:not(.r-eyebrow) { color: rgba(255,255,255,.75); }

/* comparison */
.h-compare { padding: clamp(90px, 12vw, 150px) 0; color: white; background: var(--tide); }
.h-compare h2 em { color: var(--blue-light) !important; }
.h-compare-wrap { margin: 0 var(--gutter); overflow-x: auto; border-radius: var(--radius); background: rgba(255,255,255,.05); }
.h-compare table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 18px; }
.h-compare th, .h-compare td { padding: 20px 22px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.1); }
.h-compare thead th { color: rgba(255,255,255,.65); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.h-compare tbody th { font-weight: 600; }
.h-compare td { color: rgba(255,255,255,.7); }
.h-compare .hope-col { color: var(--ink); background: var(--blue-light); font-weight: 600; }
.h-compare thead .hope-col { color: var(--ink); }
.h-compare tbody tr:last-child > * { border-bottom: 0; }

/* founder */
.h-founder { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); padding: clamp(90px, 12vw, 150px) var(--gutter); }
.h-founder h2 { font-size: clamp(38px, 4.4vw, 64px) !important; }
.h-founder .founder-story p { margin-bottom: 22px !important; color: var(--muted); font-size: 21px; line-height: 1.6; }
.h-founder-card { display: flex; align-items: center; gap: 24px; margin-top: 40px; padding: 18px 26px 18px 18px; border-radius: var(--radius); background: white; box-shadow: 0 20px 50px rgba(10,43,58,.08); width: fit-content; max-width: 100%; }
.h-founder-card img { flex: none; width: 120px; height: 120px; border-radius: 22px; object-fit: cover; }
.home-page main .h-founder-name { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.home-page main .h-founder-role { margin-top: 4px; color: var(--muted); font-size: 17px; }
.h-linkedin { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 14px; padding: 0 20px; border-radius: 100px; color: white; background: #0a66c2; font-size: 16px; font-weight: 600; transition: background .2s, transform .2s; }
.h-linkedin:hover { background: #004182; transform: translateY(-2px); }
.h-linkedin svg { width: 18px; height: 18px; fill: currentColor; }

/* final call to action */
.h-final { position: relative; min-height: min(86vh, 820px); display: grid; align-items: end; overflow: hidden; color: white; background: var(--ink); }
.h-final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.35); }
.h-final::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(10,20,24,.78), rgba(10,20,24,.1) 75%); }
.h-final-copy { position: relative; z-index: 1; max-width: 760px; padding: 80px var(--gutter); }
.h-final h2 em { color: var(--blue-light) !important; }
.h-final-copy > p { margin-top: 20px !important; color: rgba(255,255,255,.85); font-size: 22px; }
.h-final .r-ctas { margin-top: 32px; }

/* FAQ (existing markup, restyled) */
.home-page .faq { gap: 4vw; }
.home-page .faq .section-heading h2 { font-size: clamp(40px, 4.6vw, 64px); }
.home-page .faq .section-heading p { margin-top: 18px; color: var(--muted); font-size: 19px; }
.home-page .faq-category h3 { margin: 40px 0 8px !important; font-family: var(--sans); font-size: 15px !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.home-page .faq details summary { font-family: var(--serif); font-size: clamp(21px, 1.8vw, 26px); line-height: 1.3; }
.home-page .faq details p { padding-bottom: 24px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.home-page .newsletter .eyebrow { font-size: 15px; }
.home-page .newsletter .button { white-space: nowrap; }
.h-compare-hint { display: none; margin: 14px var(--gutter) 0 !important; color: rgba(255,255,255,.7); font-size: 16px; }
.home-page .newsletter h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }

@media (max-width: 1000px) {
  .h-hero, .h-product, .h-founder { grid-template-columns: 1fr; }
  .h-hero { padding-top: 120px; }
  .h-hero-photo { height: auto; aspect-ratio: 1; }
  .h-float-alert { left: 4%; }
  .h-float-ok { right: 4%; }
  .h-product-visual { order: -1; }
  .h-how-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .h-how-card-app { grid-column: span 2; aspect-ratio: 16 / 9; }
  .h-how-card-app > img { inset: 7% 9% auto auto; width: auto; height: 86%; }
  .h-how-card-app > div { right: 46%; }
  .h-how-card-app::after { background: linear-gradient(90deg, rgba(10,20,24,.6), transparent 60%); }
  .h-support-row img { height: 28px; }
  .h-audience-card > div { padding: 26px 24px 28px; }
  .h-compare table { min-width: 0; font-size: 16px; }
  .h-compare th, .h-compare td { padding: 14px 12px; }
}
@media (max-width: 640px) {
  .h-hero h1 { font-size: 46px; }
  .h-hero-photo { border-radius: 26px; }
  .h-float { padding: 12px 14px; font-size: 13px; }
  .h-float strong { font-size: 15px; }
  .h-float-alert { top: 5%; }
  .h-float-ok { bottom: 5%; }
  .h-logo-atsa { height: 70px; }
  .h-logo-salt { height: 72px; }
  .h-logo-ned { height: 52px; }
  .h-support-row img { height: 28px; }
  .h-how-grid { grid-template-columns: 1fr; }
  .h-audience-grid { grid-template-columns: 1fr; }
  .h-compare table { min-width: 620px; }
  .h-compare-hint { display: block !important; }
  .h-how-card, .h-how-card-app { grid-column: auto; aspect-ratio: 4 / 5; }
  .h-how-card-app > img { inset: 7% 22% auto; width: 56%; height: auto; }
  .h-how-card-app > div { right: 24px; }
  .h-how-card-app::after { background: linear-gradient(180deg, transparent 40%, rgba(10,20,24,.82)); }
  .h-how-card h3 { font-size: 30px; }
  .h-how-card > div { left: 24px; right: 24px; bottom: 24px; }
  .h-audience-card > div { padding: 26px 22px 28px; }
  .h-final-copy { padding: 56px var(--gutter); }
  .h-founder-card { flex-direction: column; align-items: flex-start; width: 100%; padding: 22px; }
  .h-founder-card img { width: min(160px, 100%); height: auto; aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .h-float, .h-float i { animation: none !important; }
}
