/* Next Stop NSW HOMEPAGE: page-only layout on top of nsn-site.css (was design/home-mockup.css, approved by Jesse 25 Oct). Tokens only (SYSTEM.md §3b, §4, §6 #11).
   Everything is scoped to body.hm so it can never restyle another page. */

/* the honeypot field: off-screen for people, still in the form for bots */
.hm .hm-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* ---------- the hero, phones (one column): the board, then the clip AFTER the sign-up block (Jesse, 24 Oct) ---------- */
.hm .hm-hero{display:flex;flex-direction:column;gap:var(--nsn-s5)}
.hm .hm-board .nsn-form{gap:var(--nsn-s3)}   /* one field: 12px between it and its button */
/* the clip at a natural height: 4:5, taller than 16:9, full content width. Its Pause strip sits on top of it (SYSTEM §4.3) */
.hm .hm-clip>video{position:static;inset:auto;z-index:auto;display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 50%}

/* the inline sign-in link keeps its 44px box but sits on its own line rhythm */
.hm .hm-signin{line-height:var(--nsn-lh-loose)}

/* the done state: each part is its own group, a hairline apart */
.hm .hm-part{display:flex;flex-direction:column;gap:var(--nsn-s3);padding-top:var(--nsn-s4);border-top:1px solid var(--nsn-divider)}
.hm p.hm-part{display:block}
.hm h3.nsn-h2{margin:0}

/* "You asked. We built it.": what was built is the answer, so it reads at body size in the text colour */
.hm .hm-built{font:600 var(--nsn-fs-4)/var(--nsn-lh-loose) var(--nsn-font-body);color:var(--nsn-text)}
.hm #asked .nsn-well{gap:var(--nsn-s2)}
.hm .hm-rowcap{max-width:var(--nsn-col-read)}

/* ---------- smallest phones: the headline is SET SMALLER, never reworded (DECISIONS 24 Oct) ----------
   ~20rem of column = a 320px phone at normal text; 390px stays at the full H1 size */
@container nsn-main (max-width:20rem){.hm .hm-board .nsn-h1{font-size:var(--nsn-fs-2);line-height:var(--nsn-lh-tight)}}

/* ---------- from ~900px of column: ONE hero. The board on the left, the clip column (Pause strip + clip) on the right, same top,
   same bottom: the clip fills the height the board sets (height 0 + flex: the clip never sets the row height itself) ---------- */
@container nsn-main (min-width:53rem){
  .hm .hm-hero{display:grid;grid-template-columns:minmax(0,1fr) 22rem;align-items:stretch}
  .hm .hm-board>*{max-width:var(--nsn-col-read)}   /* the edge, field and button end together at the reading width */
  .hm .hm-clip>video{flex:1 1 auto;height:0;min-height:12rem;aspect-ratio:auto}
}

/* ---------- footer: the socials, one wrapping row of 44px links (Reddit ONLY here), then the legal line ---------- */
.hm .hm-foot{display:flex;flex-direction:column;gap:var(--nsn-s2)}
.hm .hm-social{display:flex;flex-wrap:wrap;align-items:center;column-gap:var(--nsn-s4)}
.hm .hm-social ul{display:flex;flex-wrap:wrap;column-gap:var(--nsn-s4);margin:0;padding:0;list-style:none}
.hm .hm-social a{display:inline-flex;align-items:center;min-height:var(--nsn-tap);min-width:var(--nsn-tap);font:400 var(--nsn-fs-5)/var(--nsn-lh-body) var(--nsn-font-body);color:var(--nsn-text)}
