/* Pāremata Aotearoa — landing page design system
   Fraunces (display) + Public Sans (UI), pounamu green / kōwhai gold / warm paper */
@import url('../fonts/fonts.css');

:root {
  --ink: #101d18;
  --ink-soft: #33443d;
  --pounamu-950: #07251c;
  --pounamu-900: #0b3527;
  --pounamu-800: #104532;
  --pounamu-700: #155741;
  --pounamu-600: #1c6b52;
  --pounamu-100: #dcebe4;
  --pounamu-50: #eef5f1;
  --kowhai: #e0a526;
  --kowhai-deep: #8a6109;
  --kowhai-soft: #f6e3b4;
  --paper: #f8f5ee;
  --paper-warm: #f3eee2;
  --card: #ffffff;
  --line: #ddd5c4;
  --danger: #b3261e;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Public Sans', 'Segoe UI', system-ui, sans-serif;
  --shadow-s: 0 1px 2px rgba(16, 29, 24, .08), 0 2px 8px rgba(16, 29, 24, .06);
  --shadow-m: 0 4px 14px rgba(16, 29, 24, .12), 0 14px 40px rgba(16, 29, 24, .10);
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pounamu-700); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--kowhai); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 10px;
  transition: top .2s ease; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: #fff;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header .bar {
  display: flex; align-items: center; gap: 1.1rem;
  padding: .8rem clamp(1rem, 4vw, 2.5rem);
  max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: #fff; min-width: 0; }
.brand img { width: 34px; height: 48px; flex: none; }
.brand .bt { line-height: 1.15; }
.brand .bt strong { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; display: block; letter-spacing: .01em; }
.brand .bt span { font-size: .8rem; opacity: .85; letter-spacing: .04em; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: .5rem .7rem; border-radius: 8px; letter-spacing: .01em; white-space: nowrap;
}
.main-nav a:hover { background: rgba(255,255,255,.14); }
.header-tools { display: flex; align-items: center; gap: .5rem; }
.tool-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25);
  padding: .45rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.tool-btn:hover { background: rgba(255,255,255,.22); }
.tool-btn.lang { background: var(--kowhai); border-color: var(--kowhai); color: var(--ink); }
.tool-btn.lang:hover { background: #f0bb3f; }
.site-header.scrolled { background: rgba(7, 37, 28, .97); box-shadow: 0 6px 24px rgba(7,37,28,.35); }
.menu-toggle { display: none; }

/* search overlay */
.search-pop {
  position: absolute; top: 100%; right: clamp(1rem, 4vw, 2.5rem); width: min(430px, 92vw);
  background: var(--card); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-m);
  padding: .8rem; display: none;
}
.search-pop.open { display: block; }
.search-pop input {
  width: 100%; padding: .65rem .9rem; font-size: 1rem; border: 1.5px solid var(--line);
  border-radius: 10px; font-family: inherit;
}
.search-pop .hits { margin: .5rem 0 0; padding: 0; list-style: none; max-height: 320px; overflow: auto; }
.search-pop .hits a { display: flex; gap: .6rem; align-items: center; padding: .55rem .6rem; border-radius: 8px; text-decoration: none; color: var(--ink); }
.search-pop .hits a:hover, .search-pop .hits a:focus { background: var(--pounamu-50); }
.search-pop .hits img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.search-pop .hits .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--pounamu-700); font-weight: 700; }
.search-pop .hits small { color: var(--ink-soft); display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--pounamu-950);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transform: scale(1.06); will-change: transform;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1.06) translateY(0); } to { transform: scale(1.12) translateY(-1.6%); } }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,37,28,.52) 0%, rgba(7,37,28,.18) 34%, rgba(7,37,28,.55) 66%, rgba(7,37,28,.92) 100%);
}
.hero-inner { position: relative; width: 100%; padding-top: 9rem; }
.hero-copy { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .95rem; letter-spacing: .06em; font-weight: 600; color: var(--kowhai-soft);
}
.hero-eyebrow::before { content: ''; width: 42px; height: 2px; background: var(--kowhai); }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 600; max-width: 15ch;
  margin: .9rem 0 1rem; text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--kowhai); }
.hero-sub { max-width: 56ch; font-size: clamp(1rem, 1.6vw, 1.18rem); color: rgba(255,255,255,.92); margin-bottom: 1.6rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2.2rem; }
.btn {
  display: inline-flex; align-items: center; gap: .55rem; text-decoration: none;
  font-weight: 600; font-size: .98rem; padding: .8rem 1.35rem; border-radius: 999px;
  border: 1.5px solid transparent; transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--kowhai); color: var(--ink); }
.btn-gold:hover { background: #f0bb3f; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-green { background: var(--pounamu-700); color: #fff; }
.btn-green:hover { background: var(--pounamu-600); }

/* sitting ribbon */
.sit-ribbon {
  position: relative; border-top: 1px solid rgba(255,255,255,.18);
  background: rgba(7, 37, 28, .55); backdrop-filter: blur(6px);
}
.sit-ribbon .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.4rem; padding-top: 1.05rem; padding-bottom: 1.05rem; }
.sit-status { display: flex; align-items: center; gap: .65rem; font-weight: 600; letter-spacing: .02em; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #9fb4aa; flex: none; }
.live-dot.on { background: #ff5347; box-shadow: 0 0 0 0 rgba(255,83,71,.6); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255,83,71,0); } 100% { box-shadow: 0 0 0 0 rgba(255,83,71,0); } }
.sit-when { font-size: .95rem; color: rgba(255,255,255,.85); }
.sit-when strong { color: #fff; font-weight: 700; }
.countdown { margin-left: auto; display: flex; align-items: baseline; gap: 1.1rem; position: relative; }
.countdown .cd-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--kowhai-soft); font-weight: 700; }
.cd-cells { display: flex; gap: .85rem; }
.cd-cell { text-align: center; min-width: 52px; }
.cd-cell b { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; display: block; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-cell span { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; opacity: .75; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.4rem, 7vw, 6rem) 0; position: relative; }
.section.tint { background: var(--paper-warm); }
.section.deep { background: var(--pounamu-950); color: #fff; }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; margin-bottom: 2.4rem; }
.sec-num {
  font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--kowhai-deep);
  border: 1.5px solid var(--kowhai); border-radius: 50%; width: 44px; height: 44px;
  display: grid; place-items: center; flex: none; background: #fff;
}
.section.deep .sec-num { background: transparent; color: var(--kowhai); }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.sec-head .reo { display: block; font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pounamu-700); margin-bottom: .45rem; }
.section.deep .sec-head .reo { color: var(--kowhai); }
.sec-head p { max-width: 62ch; color: var(--ink-soft); margin: .7rem 0 0; font-size: 1.05rem; }
.section.deep .sec-head p { color: rgba(255,255,255,.85); }

/* koru divider */
.koru-band { display: block; width: 100%; height: 26px; color: var(--pounamu-700); opacity: .55; }
.section.deep .koru-band { color: var(--kowhai); opacity: .8; }

/* ---------- Today ---------- */
.today-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 1.6rem; }
.order-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-s); overflow: hidden; }
.order-card header {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem;
  padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--pounamu-50), #fff);
}
.order-card header h3 { font-size: 1.25rem; }
.order-card header .date { margin-left: auto; font-size: .88rem; color: var(--ink-soft); font-weight: 600; }
.order-list { list-style: none; margin: 0; padding: 0; }
.order-list li { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; padding: .95rem 1.4rem; border-bottom: 1px solid #eee7d8; }
.order-list li:last-child { border-bottom: 0; }
.order-list .t { font-weight: 700; font-size: .85rem; color: var(--pounamu-700); font-variant-numeric: tabular-nums; padding-top: .15rem; }
.order-list .what { font-weight: 650; font-size: .99rem; }
.order-list .what .reo-tag { font-weight: 600; font-size: .78rem; color: var(--kowhai-deep); margin-left: .45rem; }
.order-list .det { font-size: .87rem; color: var(--ink-soft); margin-top: .15rem; }
.order-list li.kind-questions .t { color: var(--kowhai-deep); }
.order-list li.kind-break, .order-list li.kind-adjourn { background: #faf7ef; }
.order-list li.kind-break .what, .order-list li.kind-adjourn .what { font-weight: 500; color: var(--ink-soft); font-style: italic; }

.side-stack { display: grid; gap: 1.6rem; align-content: start; }
.week-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 1.2rem 1.4rem; }
.week-card h3 { font-size: 1.15rem; margin-bottom: .8rem; }
.week-days { display: grid; gap: .55rem; }
.week-day { display: flex; gap: .8rem; align-items: baseline; padding: .55rem .7rem; border-radius: 10px; background: var(--pounamu-50); font-size: .9rem; }
.week-day b { flex: none; min-width: 92px; font-size: .82rem; color: var(--pounamu-800); text-transform: uppercase; letter-spacing: .05em; }
.watch-card {
  background: linear-gradient(135deg, var(--pounamu-800), var(--pounamu-950)); color: #fff;
  border-radius: var(--radius); padding: 1.35rem 1.4rem; box-shadow: var(--shadow-s);
  display: grid; gap: .55rem;
}
.watch-card h3 { font-size: 1.25rem; }
.watch-card p { color: rgba(255,255,255,.85); font-size: .93rem; margin: 0; }
.watch-card .btn { justify-self: start; margin-top: .35rem; }

/* stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.8rem; }
.stat { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 1.1rem 1.2rem; border-top: 3px solid var(--kowhai); }
.stat b { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; display: block; line-height: 1.05; color: var(--pounamu-800); font-variant-numeric: tabular-nums; }
.stat span { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Bills ---------- */
.bill-tools { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1.6rem; }
.chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: .42rem .95rem; font-size: .87rem; font-weight: 600; color: var(--ink-soft);
  transition: all .15s ease;
}
.chip:hover { border-color: var(--pounamu-600); color: var(--pounamu-800); }
.chip[aria-pressed="true"] { background: var(--pounamu-800); border-color: var(--pounamu-800); color: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.chip-row .lbl { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-right: .2rem; }
.bill-search { margin-left: auto; }
.bill-search input {
  padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: .92rem; font-family: inherit; width: min(280px, 70vw); background: #fff;
}
.bill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.bill-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-s);
  padding: 1.15rem 1.3rem; display: grid; gap: .6rem; align-content: start;
  border-left: 4px solid var(--pounamu-600); transition: transform .16s ease, box-shadow .16s ease;
}
.bill-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.bill-card.type-members { border-left-color: var(--kowhai); }
.bill-card.type-private { border-left-color: #8a6f3c; }
.bill-top { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.bill-type { font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--pounamu-700); }
.bill-num { font-size: .78rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.bill-act { margin-left: auto; font-size: .76rem; color: var(--ink-soft); }
.bill-card h3 { font-size: 1.14rem; line-height: 1.28; }
.bill-card .blurb { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.bill-meta { font-size: .82rem; color: var(--ink-soft); }
.bill-meta b { color: var(--ink); font-weight: 650; }
.stepper { display: flex; align-items: center; gap: 0; margin-top: .3rem; }
.step-dot {
  flex: 1; display: grid; justify-items: center; gap: .3rem; position: relative;
  font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: #9aa49e; text-align: center;
}
.step-dot::before {
  content: ''; width: 12px; height: 12px; border-radius: 50%; background: #e3ddd0;
  border: 2px solid #e3ddd0; z-index: 1; transition: background .2s;
}
.step-dot::after { content: ''; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: #e3ddd0; }
.step-dot:first-child::after { display: none; }
.step-dot.done { color: var(--pounamu-700); font-weight: 700; }
.step-dot.done::before { background: var(--pounamu-700); border-color: var(--pounamu-700); }
.step-dot.done::after { background: var(--pounamu-700); }
.step-dot.now { color: var(--kowhai-deep); font-weight: 800; }
.step-dot.now::before { background: var(--kowhai); border-color: var(--kowhai); box-shadow: 0 0 0 4px var(--kowhai-soft); }
.bill-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); padding: 2.4rem; font-style: italic; }

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.journey-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.jstage {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff;
  border-radius: 12px; padding: .9rem .8rem; text-align: left; display: grid; gap: .3rem;
  transition: all .18s ease;
}
.jstage:hover { background: rgba(255,255,255,.12); }
.jstage[aria-pressed="true"] { background: var(--kowhai); border-color: var(--kowhai); color: var(--ink); }
.jstage .n { font-family: var(--serif); font-style: italic; font-size: .95rem; opacity: .8; }
.jstage .t { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.jstage .r { font-size: .72rem; letter-spacing: .05em; opacity: .75; }
.journey-panel {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 1.5rem 1.7rem; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center;
}
.journey-panel .jp-num { font-family: var(--serif); font-size: 4.2rem; font-style: italic; color: var(--kowhai); line-height: 1; }
.journey-panel h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.journey-panel p { color: rgba(255,255,255,.88); margin: 0 0 .6rem; max-width: 68ch; }
.journey-panel .jp-bills { font-size: .85rem; color: var(--kowhai-soft); }
.journey-panel .jp-bills b { color: #fff; }

/* ---------- MPs ---------- */
.comp-bar { display: flex; height: 54px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-s); margin-bottom: .6rem; }
.comp-seg { display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .82rem; min-width: 0; transition: flex .3s ease; position: relative; }
.comp-seg span { padding: 0 .4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comp-legend { display: flex; flex-wrap: wrap; gap: .9rem; font-size: .82rem; color: var(--ink-soft); margin-bottom: 1.8rem; }
.comp-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; margin-right: .35rem; vertical-align: -1px; }
.comp-note { font-size: .82rem; color: var(--ink-soft); margin: 0 0 1.8rem; }

.mp-tools { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1.4rem; }
.mp-tools input {
  padding: .6rem 1.05rem; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: .95rem; font-family: inherit; width: min(320px, 100%); background: #fff;
}
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: .9rem; max-height: 640px; overflow: auto; padding: 2px; scroll-behavior: smooth; }
.mp-card {
  background: var(--card); border-radius: 12px; box-shadow: var(--shadow-s); border: 0;
  padding: 1rem .9rem; display: grid; justify-items: center; gap: .35rem; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.mp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.mp-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--pounamu-100); }
.mp-card .nm { font-weight: 700; font-size: .93rem; line-height: 1.25; }
.mp-card .pt { font-size: .76rem; font-weight: 700; letter-spacing: .03em; }
.mp-card .el { font-size: .78rem; color: var(--ink-soft); }
.mp-card .rl { font-size: .72rem; color: var(--kowhai-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.mp-count { font-size: .86rem; color: var(--ink-soft); margin: .8rem 0 0; }

/* MP dialog */
.mp-dialog { border: 0; border-radius: 18px; padding: 0; width: min(480px, 92vw); box-shadow: var(--shadow-m); }
.mp-dialog::backdrop { background: rgba(7, 37, 28, .55); backdrop-filter: blur(3px); }
.mpd-head { display: flex; gap: 1.1rem; padding: 1.4rem 1.5rem; align-items: center; background: var(--pounamu-950); color: #fff; border-radius: 18px 18px 0 0; }
.mpd-head img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 3px solid var(--kowhai); }
.mpd-head h3 { font-size: 1.45rem; }
.mpd-head .pt { font-weight: 700; font-size: .85rem; }
.mpd-body { padding: 1.2rem 1.5rem 1.5rem; }
.mpd-body dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0 0 1rem; font-size: .93rem; }
.mpd-body dt { font-weight: 700; color: var(--pounamu-800); }
.mpd-body dd { margin: 0; }
.mpd-close { position: absolute; top: .7rem; right: .8rem; background: rgba(255,255,255,.15); color: #fff; border: 0; border-radius: 50%; width: 34px; height: 34px; font-size: 1.05rem; }

/* ---------- Chamber ---------- */
.chamber-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.8rem; align-items: start; }
.chamber-svg-wrap { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); padding: 1.2rem; }
#chamberSvg { width: 100%; height: auto; display: block; }
#chamberSvg .seat { cursor: pointer; transition: r .12s ease; }
#chamberSvg .seat:hover, #chamberSvg .seat.sel { stroke: var(--kowhai); stroke-width: 2.5; }
.chamber-tip {
  position: fixed; pointer-events: none; background: var(--ink); color: #fff; font-size: .82rem;
  padding: .4rem .7rem; border-radius: 8px; opacity: 0; transition: opacity .12s; z-index: 300; max-width: 240px;
}
.chamber-side h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.chamber-side p { color: rgba(255,255,255,.85); font-size: .95rem; }
.chamber-mp { display: flex; gap: .9rem; align-items: center; background: rgba(255,255,255,.07); border-radius: 12px; padding: .9rem 1rem; margin-top: .9rem; min-height: 96px; }
.chamber-mp img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; border: 2px solid var(--kowhai); }
.chamber-mp .nm { font-weight: 700; }
.chamber-mp .sub { font-size: .83rem; color: rgba(255,255,255,.8); }
.chamber-legend { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; font-size: .78rem; color: rgba(255,255,255,.8); }
.chamber-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: .3rem; }

/* ---------- Have your say ---------- */
.say-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.say-col h3 { font-size: 1.3rem; margin-bottom: .9rem; display: flex; align-items: baseline; gap: .6rem; }
.say-col h3 .reo-tag { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pounamu-700); }
.petition, .submission {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-s);
  padding: 1.1rem 1.3rem; margin-bottom: .9rem; display: grid; gap: .45rem;
}
.petition h4, .submission h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; line-height: 1.35; }
.petition p, .submission p { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.pet-foot { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.pet-bar { flex: 1; min-width: 120px; height: 8px; border-radius: 99px; background: var(--pounamu-100); overflow: hidden; }
.pet-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pounamu-600), var(--kowhai)); border-radius: 99px; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.pet-sigs { font-size: .82rem; font-weight: 700; color: var(--pounamu-800); white-space: nowrap; }
.pet-close { font-size: .78rem; color: var(--ink-soft); }
.sign-btn {
  border: 1.5px solid var(--pounamu-700); background: #fff; color: var(--pounamu-800);
  border-radius: 999px; padding: .42rem 1rem; font-size: .85rem; font-weight: 700; transition: all .15s;
}
.sign-btn:hover { background: var(--pounamu-700); color: #fff; }
.sign-btn.signed { background: var(--pounamu-700); color: #fff; border-color: var(--pounamu-700); }
.submission .meta { font-size: .8rem; color: var(--pounamu-700); font-weight: 700; }
.say-note { font-size: .82rem; color: var(--ink-soft); font-style: italic; }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.visit-card {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s);
  min-height: 300px; display: flex; align-items: flex-end; color: #fff; text-decoration: none;
  isolation: isolate;
}
.visit-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.visit-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,37,28,.05) 30%, rgba(7,37,28,.88) 100%); }
.visit-card:hover img { transform: scale(1.05); }
.visit-card .vc-body { padding: 1.3rem 1.4rem; }
.visit-card h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.visit-card p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.9); max-width: 46ch; }
.visit-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.2rem; }
.info-tile { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 1.1rem 1.2rem; }
.info-tile h4 { font-family: var(--sans); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pounamu-700); margin-bottom: .4rem; }
.info-tile p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.news-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s);
  display: grid; grid-template-rows: 150px auto; transition: transform .16s ease, box-shadow .16s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.news-card img { width: 100%; height: 150px; object-fit: cover; }
.news-card .nc-body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .3rem; align-content: start; }
.news-tag { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--kowhai-deep); }
.news-card h3 { font-size: 1.05rem; line-height: 1.3; }
.news-card p { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.news-date { font-size: .76rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--pounamu-950); color: rgba(255,255,255,.82); padding: 3.4rem 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.2rem; }
.site-footer h3 { color: #fff; font-size: 1.15rem; margin-bottom: .8rem; }
.site-footer p, .site-footer li { font-size: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--kowhai-soft); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-brand { display: flex; gap: .9rem; align-items: flex-start; }
.foot-brand img { width: 40px; height: 56px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-size: .8rem; color: rgba(255,255,255,.6); }
.foot-base .top-link { margin-left: auto; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .today-grid, .chamber-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .journey-track { grid-template-columns: repeat(3, 1fr); }
  .journey-panel { grid-template-columns: 1fr; }
  .journey-panel .jp-num { font-size: 3rem; }
}
.nav-search { display: none; }
@media (max-width: 760px) {
  #searchBtn { display: none; }
  .nav-search {
    display: block; margin-bottom: 1rem; padding: .7rem 1rem; border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff;
    font-family: inherit; font-size: 1rem;
  }
  .nav-search::placeholder { color: rgba(255,255,255,.6); }
  .site-header .bar { gap: .5rem; padding-top: .55rem; padding-bottom: .55rem; }
  .brand img { width: 26px; height: 37px; }
  .brand { min-width: 0; }
  .brand .bt { min-width: 0; overflow: hidden; }
  .brand .bt strong { font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tool-btn { padding: .4rem .6rem; font-size: .8rem; }
  .tool-btn.lang { white-space: nowrap; }
  #searchBtn span { display: none; }
  .countdown .cd-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cd-cell b { font-size: 1.3rem; }
  .cd-cell { min-width: 42px; }
  .cd-cells { gap: .55rem; }
  .sit-ribbon .wrap { gap: .5rem 1.2rem; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); flex-direction: column; align-items: stretch;
    background: var(--pounamu-950); padding: 5rem 1.4rem 2rem; gap: .2rem; z-index: 150;
    transform: translateX(100%); transition: transform .28s ease, visibility .28s; box-shadow: -12px 0 40px rgba(0,0,0,.35);
    visibility: hidden;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav a { padding: .85rem 1rem; font-size: 1.05rem; }
  .menu-toggle { display: inline-flex; }
  .brand .bt span { display: none; }
  .bill-grid, .say-grid, .visit-grid { grid-template-columns: 1fr; }
  .visit-info { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: .7rem; }
  .hero { min-height: 86vh; }
  .countdown { margin-left: 0; width: 100%; justify-content: space-between; }
  .bill-search { margin-left: 0; width: 100%; }
  .bill-search input { width: 100%; }
  .journey-track { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .mp-grid { max-height: 520px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; transform: none; }
  .live-dot.on { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
