/*
  Front page only. Layout borrowed from movetobemore.com (big photo hero, a
  strip overlapping its bottom edge, photo-and-text rows, two big panels, a
  coloured closing band). Colours and type are brand pack v1, set in site.css.
  No gradients or shadows: the hero words sit on a solid ink panel, not a fade.
*/

.h-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.h-big { font-family: 'Schibsted Grotesk', 'Figtree', sans-serif; font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 22px; }
.h-lead { font-size: 19px; line-height: 1.6; color: var(--ink-soft); max-width: 36em; margin: 0 0 26px; }
.h-center { text-align: center; }
.h-center .h-lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.h-hero { position: relative; background: var(--band); color: var(--on-band); min-height: min(92vh, 860px); display: flex; align-items: center; padding: 180px 0 170px; }
.h-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; }
.h-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; display: block; }
.h-hero-panel { position: static; width: 45%; padding: 0 48px 0 max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); }
.h-logo { position: absolute; top: 28px; left: max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); }
.h-logo img { width: 150px; height: auto; display: block; }
.h-hero h1 { font-family: 'Schibsted Grotesk', 'Figtree', sans-serif; font-weight: 700; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -.02em; color: #fff; margin: 0 0 22px; }
.h-hero-lead { font-size: 19px; line-height: 1.6; color: var(--on-band-soft); margin: 0 0 30px; max-width: 30em; }
.h-hero-cta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.h-text-link { color: var(--on-band); font-weight: 600; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.h-text-link:hover { color: #fff; }

.h-nav { position: absolute; top: 26px; right: max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); display: flex; align-items: center; gap: 4px; background: var(--paper); border-radius: 6px; padding: 6px 6px 6px 14px; z-index: 2; }
.h-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 8px 12px; border-radius: 4px; }
.h-nav a:hover { color: var(--green); }
.h-nav .h-nav-btn { background: var(--green); color: #fff; margin-left: 6px; padding: 9px 16px; }
.h-nav .h-nav-btn:hover { background: var(--green-dark); color: #fff; }

/* ---------- Step strip, overlapping the hero ---------- */
.h-strip { position: relative; z-index: 3; margin-top: -96px; padding: 0 28px; }
.h-strip-inner { max-width: var(--wrap); margin: 0 auto; background: var(--green); color: #fff; border-radius: 8px; padding: 30px 34px 34px; }
.h-strip-title { font-family: 'Schibsted Grotesk', sans-serif; font-size: 22px; font-weight: 700; margin: 0 0 20px; color: #fff; }
.h-strip ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.h-strip li { padding: 0 24px; border-left: 1px solid rgba(255,255,255,.32); }
.h-strip li:first-child { padding-left: 0; border-left: 0; }
.h-strip li:last-child { padding-right: 0; }
.h-strip .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pink); color: var(--ink); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.h-strip h3 { font-family: 'Schibsted Grotesk', sans-serif; font-size: 19px; font-weight: 700; line-height: 1.25; margin: 0 0 8px; color: #fff; }
.h-strip p { margin: 0; font-size: 16px; line-height: 1.55; color: #e4e9fc; }

/* ---------- Rows ---------- */
.h-row { padding: 100px 0; }
.h-row-sheet { background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.h-split-flip > :first-child { order: 0; }
.h-photo { width: 100%; height: auto; display: block; border-radius: 6px; aspect-ratio: 3 / 2; object-fit: cover; }
.h-letter p { font-family: 'Newsreader', Georgia, serif; font-size: 23px; line-height: 1.55; margin: 0 0 18px; }
.h-sign { font-family: 'Schibsted Grotesk', sans-serif !important; font-size: 20px !important; font-weight: 700; margin-top: 26px !important; }
.h-sign span { display: block; font-family: 'Figtree', sans-serif; font-weight: 400; font-size: 16px; color: var(--ink-soft); }

/* Two big panels */
.h-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 14px; }
.h-panel { border-radius: 8px; padding: 40px 40px 36px; }
.h-panel h3 { font-family: 'Schibsted Grotesk', sans-serif; font-size: 30px; font-weight: 700; margin: 0 0 18px; }
.h-panel ul { margin: 0; padding: 0; list-style: none; }
.h-panel li { position: relative; padding: 13px 0 13px 28px; border-top: 1px solid rgba(255,255,255,.22); font-size: 17px; line-height: 1.5; }
.h-panel li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.h-panel-ink { background: var(--band); color: var(--on-band); }
.h-panel-ink h3 { color: #fff; }
.h-panel-blue { background: var(--green); color: #fff; }
.h-panel-blue h3 { color: #fff; }
.h-after-panels { margin-top: 36px; }

/* Questions */
.h-qs { list-style: none; margin: 0 0 30px; padding: 0; }
.h-qs li { font-family: 'Newsreader', Georgia, serif; font-size: 20px; line-height: 1.45; padding: 14px 0; border-top: 1px solid var(--line-strong); }
.h-qs li:last-child { border-bottom: 1px solid var(--line-strong); }
.h-qs .ch { display: block; font-family: 'Figtree', sans-serif; font-size: 16px; font-weight: 600; color: var(--green); margin-bottom: 3px; }

/* FAQ */
.h-split:has(.h-faq) { align-items: start; }
.h-faq-side .h-photo { aspect-ratio: 1 / 1; margin-top: 8px; }
#questions.h-row .h-split { align-items: start; }
#questions .h-photo { aspect-ratio: 1 / 1; object-position: 62% 50%; margin-top: 8px; }
.h-faq details { border-top: 1px solid var(--line-strong); }
.h-faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.h-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 18px; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 28px; font-weight: 400; color: var(--green); }
.h-faq details[open] summary::after { content: "\2212"; }
.h-faq details p { margin: -4px 0 22px; color: var(--ink-soft); font-size: 17px; line-height: 1.6; max-width: 38em; }

/* ---------- Closing band ---------- */
.h-join { background: var(--green); color: #fff; padding: 100px 0; }
.h-join-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.h-join .h-big { color: #fff; }
.h-join .h-lead { color: #e4e9fc; }
.h-included { list-style: none; margin: 0 0 26px; padding: 0; }
.h-included li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid rgba(255,255,255,.28); font-size: 17px; }
.h-included li:last-child { border-bottom: 1px solid rgba(255,255,255,.28); }
.h-included li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.h-later { font-size: 16px; color: #e4e9fc; margin: 0; }
.h-form { background: var(--sheet); color: var(--ink); border-radius: 8px; padding: 34px 34px 30px; }
.h-form h3 { font-family: 'Schibsted Grotesk', sans-serif; font-size: 26px; font-weight: 700; margin: 0 0 6px; }
.h-form-intro { color: var(--ink-soft); margin: 0 0 22px; font-size: 16px; }
.h-form .btn { width: 100%; justify-content: center; }
.h-start-steps { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: s; }
.h-start-steps li { counter-increment: s; position: relative; padding: 12px 0 12px 42px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.h-start-steps li:last-child { border-bottom: 1px solid var(--line); }
.h-start-steps li::before { content: counter(s); position: absolute; left: 0; top: 11px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1080px) {
    .h-strip ol { grid-template-columns: 1fr 1fr; gap: 26px 0; }
    .h-strip li:nth-child(3) { padding-left: 0; border-left: 0; }
    .h-strip li:nth-child(2) { padding-right: 0; }
}
@media (max-width: 860px) {
    .h-hero { display: block; min-height: 0; padding: 0 0 130px; }
    .h-nav { display: none; }
    .h-hero-photo { position: relative; display: block; width: 100%; }
    .h-hero-photo img { height: auto; aspect-ratio: 4 / 3; object-position: 55% 40%; }
    .h-hero-panel { width: auto; padding: 0 22px; }
    .h-logo { top: 16px; left: 16px; z-index: 2; }
    .h-logo img { width: 108px; }
    .h-hero h1 { margin-top: 30px; }
    .h-strip { padding: 0 16px; }
    .h-strip-inner { padding: 26px 22px 28px; }
    .h-wrap { padding: 0 22px; }
    .h-row, .h-join { padding: 70px 0; }
    .h-split, .h-panels, .h-join-inner { grid-template-columns: 1fr; gap: 34px; }
    .h-split-flip > .h-photo { order: -1; }
    .h-faq-side .h-photo, #questions .h-photo { aspect-ratio: 3 / 2; }
    .h-panel { padding: 30px 24px 26px; }
    .h-panel h3 { font-size: 26px; }
    .h-letter p { font-size: 21px; }
    .h-form { padding: 26px 20px 24px; }
}
@media (max-width: 560px) {
    .h-strip ol { grid-template-columns: 1fr; }
    .h-strip li, .h-strip li:nth-child(3) { padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.32); }
    .h-strip li:first-child { padding-top: 0; border-top: 0; }
    .h-form .field-row { grid-template-columns: 1fr; gap: 0; }
}
