/* ============================================================
   Zukotàá live site: what the prototype kept inline in its pages
   (landing, joining), the holding page and the owner strip.
   The phone check, team area and admin console styles live in
   site.css, shared with the demo. Built on tokens.css and site.css.
   ============================================================ */

.narrow{ max-width:720px; margin:24px auto; }

/* ---------- landing (as in Design/Website/index.html) ---------- */
body.landing,body.signup,body.is-holding{ background:var(--bg); }
.s-top{ max-width:1248px; margin:0 auto; padding:22px 24px; display:flex; align-items:center; gap:12px; }
.s-top .ml-auto{ display:flex; gap:8px; align-items:center; font-size:14px; color:var(--quiet); }
.landing .s-top .brand .mk{ width:34px; height:34px; }
.landing .s-top .brand .wm{ font-size:31px; }
.hero{ max-width:1248px; margin:0 auto; padding:40px 24px 64px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:56px; align-items:center; }
.eyebrow{ font:600 12.5px/1.4 var(--sans); letter-spacing:.16em; text-transform:uppercase; color:var(--quiet); }
.hero h1{ font-size:clamp(42px, 5vw, 66px); line-height:1; letter-spacing:-.028em; font-variation-settings:"opsz" 72; margin-top:18px; }
.hero h1 em{ font-style:italic; font-weight:400; color:var(--primary); }
.lede{ font-family:var(--serif); font-size:20px; line-height:1.55; margin-top:22px; max-width:34em; color:var(--text); }
.join{ margin-top:30px; max-width:470px; }
.join form{ display:flex; gap:8px; }
.join .input{ border-radius:999px; height:52px; padding:0 22px; font-size:16.5px; }
.join .btn{ --h:52px; padding:0 24px; font-size:16px; }
.join .help{ margin-top:10px; font-size:13.5px; color:var(--quiet); }
.join .help a{ font-weight:600; }
.diagram{ position:relative; padding:28px 26px 24px; }
.diagram .ttl{ display:grid; grid-template-columns:1fr 92px 1fr; gap:10px; font:700 11.5px/1.3 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--quiet); margin-bottom:8px; }
.diagram .ttl span:nth-child(2){ text-align:center; }
.diagram .ttl span:last-child{ text-align:right; }
.lad{ display:grid; grid-template-columns:1fr 92px 1fr; gap:6px 10px; align-items:center; }
.lad .b{ display:flex; align-items:center; gap:10px; min-height:46px; padding:8px 14px; border-radius:8px; background:var(--surface); box-shadow:inset 0 0 0 1px var(--line-strong); font:600 14.5px/1.2 var(--sans); overflow-wrap:anywhere; }
.lad .b:nth-child(3n){ justify-content:flex-end; text-align:right; flex-direction:row-reverse; }
.lad .b.me{ box-shadow:inset 0 0 0 2px var(--zk-verified); }
.lad .m{ text-align:center; font:600 14px/1.2 var(--serif); }
.lad .m small{ display:block; font:500 11px/1.3 var(--sans); color:var(--quiet); margin-top:2px; }
.rise{ display:grid; grid-template-columns:1fr 92px 1fr; gap:10px; margin-top:14px; align-items:end; }
.rise .you{ display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; font:600 13px/1.3 var(--sans); }
.rise .you .mk{ width:46px; height:46px; }
.rise p{ font-size:13.5px; line-height:1.45; color:var(--quiet); }
.rise p:last-child{ text-align:right; }
.points{ max-width:1248px; margin:0 auto; padding:8px 24px 64px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.point{ padding:24px 24px 26px; }
.point .n{ font:600 13px/1 var(--sans); letter-spacing:.14em; color:var(--accent); }
.point h2{ font-size:24px; line-height:1.2; margin-top:12px; font-variation-settings:"opsz" 36; }
.point p{ font-family:var(--serif); font-size:16.5px; line-height:1.6; margin-top:8px; color:var(--text); }
.l-foot{ border-top:1px solid var(--line); }
.l-foot div{ max-width:1248px; margin:0 auto; padding:22px 24px 40px; display:flex; flex-wrap:wrap; gap:8px 20px; align-items:center; font-size:13.5px; color:var(--quiet); }
.l-foot a{ color:var(--quiet); }
.l-foot .sp{ margin-left:auto; }
.prose-page{ margin:8px auto 48px; }

/* holding page while the site is private */
.holding{ min-height:calc(100vh - 40px); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:40px 24px; }
.holding-mk{ width:76px; height:76px; }
.holding h1{ font-size:56px; letter-spacing:-.022em; font-variation-settings:"opsz" 72; margin:18px 0 10px; }
.holding .lede{ max-width:30em; margin-top:18px; }
.holding-team{ position:fixed; right:18px; bottom:14px; font-size:13px; color:var(--quiet); }

/* the strip owners see on the live site while it's private */
.ownerbar{ display:flex; gap:14px; align-items:center; justify-content:center; flex-wrap:wrap; padding:7px 16px; background:var(--zk-uli); color:#E4E1D8; font:500 13px/1.4 var(--sans); position:relative; z-index:60; }
.ownerbar b{ color:var(--zk-uro-lit); }
.ownerbar a{ color:#F3EEE4; font-weight:600; text-decoration:underline; text-underline-offset:3px; }

/* ---------- joining and signing in (as in Design/Website/signup.html) ---------- */
.s-wrap{ max-width:1120px; margin:0 auto; padding:8px 24px 64px; display:grid; grid-template-columns:minmax(0,560px) minmax(0,1fr); gap:40px; align-items:start; }
.s-wrap--one{ grid-template-columns:minmax(0,520px); justify-content:center; }
.step-card{ padding:28px 28px 24px; }
.prog{ display:flex; gap:6px; margin-bottom:22px; }
.prog i{ height:4px; flex:1 1 0; border-radius:999px; background:var(--sunken); }
.prog i.on{ background:var(--primary); }
.step-k{ font:600 12.5px/1.4 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--quiet); }
.step-card h1{ font-size:34px; line-height:1.1; margin-top:8px; font-variation-settings:"opsz" 60; }
.step-card .sub{ color:var(--quiet); margin-top:8px; font-size:15.5px; line-height:1.5; }
.step-body{ margin-top:22px; }
.step-foot{ display:flex; align-items:center; gap:10px; margin-top:26px; flex-wrap:wrap; }
.step-foot .btn--pri{ margin-left:auto; }
.lock-note{ display:flex; gap:10px; align-items:flex-start; margin-top:16px; }
fieldset.field,fieldset.bare{ border:0; padding:0; margin-inline:0; min-width:0; }
fieldset.field legend{ padding:0; margin-bottom:8px; }
.home-opt{ padding:12px 14px; border-radius:8px; box-shadow:inset 0 0 0 1px var(--line-strong); }
.home-opt:has(input:checked){ box-shadow:inset 0 0 0 2px var(--primary); background:var(--tint-leaf); }
.preview{ position:sticky; top:24px; padding:24px; }
.preview h2{ font-size:20px; font-variation-settings:"opsz" 36; }
.pv{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; margin-top:16px; }
.pv-row > span:not(.pips){ min-width:0; overflow-wrap:break-word; }
@media (min-width:901px) and (max-width:1180px){ .pv{ grid-template-columns:minmax(0,1fr); gap:14px; } }
.pv h3{ font:700 11.5px/1.3 var(--sans); letter-spacing:.14em; text-transform:uppercase; color:var(--quiet); margin-bottom:8px; }
.pv-row{ display:flex; align-items:center; gap:10px; min-height:42px; padding:7px 12px; border-radius:8px; margin-bottom:6px; box-shadow:inset 0 0 0 1px var(--line); color:var(--quiet); font-size:14px; line-height:1.25; }
.pv-row.set{ background:var(--surface); box-shadow:inset 0 0 0 1px var(--line-strong); color:var(--text); font-weight:600; }
.pv-row.set.loc{ box-shadow:inset 0 0 0 2px var(--zk-verified); }
.pv-row small{ margin-left:auto; font-size:11.5px; color:var(--quiet); font-weight:600; flex:0 0 auto; }
.pv-none{ font-size:14px; line-height:1.45; color:var(--quiet); padding:10px 12px; border-radius:8px; box-shadow:inset 0 0 0 1px var(--line); }
.fgrid + .field,.field + .fgrid{ margin-top:14px; }
.sug:empty{ display:none; }
.sug .suggest{ position:absolute; left:0; right:0; top:76px; z-index:5; margin:0; }
.sug .suggest b{ font-weight:600; }
.phone-row{ display:grid; grid-template-columns:minmax(0,190px) minmax(0,1fr); gap:8px; }
.pw-wrap{ position:relative; }
.pw-wrap .input{ padding-right:84px; }
.pw-wrap button{ position:absolute; right:6px; top:6px; height:36px; padding:0 12px; border-radius:999px; font:600 13px/1 var(--sans); color:var(--quiet); }
.pw-wrap button:hover{ background:var(--surface-2); color:var(--text); }

@media (max-width:980px){
  .hero{ grid-template-columns:1fr; gap:36px; padding-top:16px; }
  .points{ grid-template-columns:1fr; }
}
@media (max-width:900px){
  .s-wrap{ grid-template-columns:1fr; gap:16px; }
  .preview{ position:static; order:2; }
}
@media (max-width:767px){
  .s-top{ padding:14px 16px; }
  .s-top .brand .wm{ display:inline; font-size:24px; }
  .hide-s{ display:none; }
  .hero{ padding:12px 16px 40px; }
  .lede{ font-size:18px; }
  .join form{ flex-direction:column; }
  .lad,.diagram .ttl,.rise{ grid-template-columns:1fr 64px 1fr; gap:6px; }
  .lad .b{ min-height:42px; padding:6px 10px; font-size:13.5px; gap:6px; }
  .lad .b .pips{ display:none; }
  .lad .m small{ display:none; }
  .lad .m{ font-size:12.5px; }
  .points{ padding:0 16px 48px; }
  .diagram.card{ margin:0 -16px; border-radius:0; border-left:0; border-right:0; padding:20px 14px; }
  .s-wrap{ padding:0 0 40px; }
  .step-card{ padding:22px 16px; }
  .step-card h1{ font-size:28px; }
  .pv{ gap:10px; }
  .pv-row{ padding:6px 8px; font-size:13px; }
  .pv-row small{ display:none; }
  .phone-row{ grid-template-columns:1fr; }
  .holding h1{ font-size:44px; }
}

/* ---------- added 28 November: fixes from the simulated first users ---------- */
/* a field bots fill and people never see */
.hp{ position:absolute!important; left:-9999px; width:1px; height:1px; overflow:hidden; }
/* the live line under a phone field */
.ph-hint{ display:block; color:var(--text); }
.ph-hint b{ font-weight:700; }
.ph-hint.is-bad{ color:var(--danger); font-weight:600; }
/* the town search can show many wards */
.suggest--long{ max-height:340px; overflow-y:auto; }
/* the member's own number and email, with Change links */
.vf-who{ display:grid; grid-template-columns:1fr 1fr; gap:12px 16px; margin:16px 0 0; }
.vf-who dt{ font:600 11px/1.3 var(--sans); letter-spacing:.12em; text-transform:uppercase; color:var(--quiet); }
.vf-who dd{ margin:3px 0 0; font-size:15px; overflow-wrap:anywhere; }
.vf-edit{ margin-top:16px; padding:14px; border-radius:var(--r); background:var(--surface-2); box-shadow:inset 0 0 0 1px var(--line); }
/* questions people ask */
.faq{ max-width:860px; margin:0 auto; padding:8px 24px 64px; }
.faq h2{ font-size:28px; font-variation-settings:"opsz" 36; margin-bottom:12px; }
.prose-page .faq{ padding:24px 0 0; }
.faq-q{ border-top:1px solid var(--line); }
.faq-q:last-child{ border-bottom:1px solid var(--line); }
.faq-q summary{ cursor:pointer; padding:14px 0; font:600 16px/1.4 var(--sans); list-style:none; display:flex; justify-content:space-between; gap:12px; }
.faq-q summary::-webkit-details-marker{ display:none; }
.faq-q summary::after{ content:"+"; color:var(--quiet); font-weight:600; }
.faq-q[open] summary::after{ content:"–"; }
.faq-q p{ font-family:var(--serif); font-size:16.5px; line-height:1.6; padding:0 0 16px; max-width:64ch; }
/* who has joined a place */
.people{ display:flex; flex-wrap:wrap; gap:8px; }
.person{ display:inline-flex; align-items:center; gap:6px; height:30px; padding:0 12px; border-radius:999px; background:var(--surface-2); box-shadow:inset 0 0 0 1px var(--line); font:600 13.5px/1 var(--sans); }
.person .vf{ font-size:0; }
@media (max-width:767px){
  .vf-who{ grid-template-columns:1fr; }
  .faq{ padding:0 16px 48px; }
}

/* profiles (1 Dec) */
.post-author{ font-weight:700; color:var(--text); text-decoration:none; }
.post-author:hover{ text-decoration:underline; text-underline-offset:3px; }
a.person{ color:var(--text); text-decoration:none; }
a.person:hover{ box-shadow:inset 0 0 0 1px var(--primary); }
.profile{ overflow:hidden; }
.profile .ph-band{ height:56px; }
.profile-body{ display:flex; gap:18px; align-items:flex-end; padding:0 24px; margin-top:-36px; flex-wrap:wrap; }
.profile-body .av{ box-shadow:0 0 0 4px var(--surface); }
.profile-id h1{ font-size:clamp(28px, 4vw, 40px); line-height:1.05; font-variation-settings:'opsz' 60; }
.profile-id .quiet{ margin-top:4px; }
.profile-places{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:12px 24px; padding:18px 24px 22px; margin:0; }
.profile-places dt{ font:600 11px/1.2 var(--sans); letter-spacing:.12em; text-transform:uppercase; color:var(--quiet); }
.profile-places dd{ margin:6px 0 0; display:flex; flex-direction:column; gap:2px; }
.profile-places dd a{ font-weight:600; font-size:16px; }
.opening-s{ display:inline-flex; align-items:center; gap:8px; font-size:13px; color:var(--quiet); }
.opening-s .meter{ width:64px; }

/* launch polish (1 Dec) */
/* the landing hero stacks until there's room for the diagram beside it; names break only at their slashes */
.lad .b{ overflow-wrap:normal; word-break:normal; }
@media (max-width:1120px){ .hero{ grid-template-columns:1fr; gap:36px; } .hero > div:first-child{ max-width:680px; } }
/* team pages on a phone: the menu gets its own scrolling row; queue rows and tables stay readable */
@media (max-width:760px){
  .thdr-in{ height:auto; flex-wrap:wrap; padding:8px 12px 0; row-gap:4px; }
  .thdr .tnav{ order:3; width:100%; margin:0 -12px; padding:0 4px; height:44px; }
  .thdr .tme{ order:2; }
  .arow{ flex-wrap:wrap; gap:6px 12px; padding:12px 16px; }
  .arow .li-main{ flex:1 1 55%; min-width:0; }
  .arow .achips{ width:100%; flex-wrap:wrap; }
  .tscroll .ttable{ min-width:720px; }
  .tscroll{ -webkit-overflow-scrolling:touch; }
}
.l-count{ margin-top:14px; font-size:14.5px; color:var(--quiet); }
.l-count b{ color:var(--text); font-weight:700; }

/* ---------- photos in posts (R20; no video yet) ---------- */
.post-photos{ display:grid; gap:4px; margin:12px -18px 0; grid-template-columns:1fr 1fr; background:var(--surface-2); }
.post-photos .ph{ position:relative; display:block; padding:0; border:0; background:none; cursor:zoom-in; overflow:hidden; aspect-ratio:1; }
.post-photos .ph img{ display:block; width:100%; height:100%; object-fit:cover; }
.post-photos.n1{ grid-template-columns:1fr; }
.post-photos.n1 .ph{ aspect-ratio:auto; max-height:560px; }
.post-photos.n1 .ph img{ height:auto; max-height:560px; object-fit:contain; margin:0 auto; }
.post-photos.n3{ grid-template-columns:2fr 1fr; grid-template-rows:1fr 1fr; }
.post-photos.n3 .ph:first-child{ grid-row:1 / span 2; aspect-ratio:auto; }
.post-photos .ph:focus-visible{ outline:3px solid var(--primary); outline-offset:-3px; }
.ph-more{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(24,32,29,.55); color:#F3EEE4; font:600 28px/1 var(--sans); }
.post-photos + *{ margin-top:0; }
.post > .post-photos:last-child{ margin-bottom:12px; }
@media (max-width:767px){ .post-photos{ margin:12px -14px 0; } }

/* the post box: chosen photos before they upload */
.ph-thumb{ position:relative; width:84px; height:84px; border-radius:8px; overflow:hidden; box-shadow:inset 0 0 0 1px var(--line); }
.ph-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.ph-x{ position:absolute; top:4px; right:4px; width:26px; height:26px; border-radius:999px; border:0; padding:0; display:flex; align-items:center; justify-content:center;
  background:rgba(24,32,29,.7); color:#F3EEE4; cursor:pointer; }
.ph-x .ic{ width:14px; height:14px; }

/* the photo viewer */
.modal-box--photo{ max-width:min(1100px, 96vw); }
.modal-box--photo .modal-b{ padding:0; background:#111; display:flex; justify-content:center; }
.ph-big{ display:block; max-width:100%; max-height:76vh; width:auto; height:auto; }
