/*
 * The homepage, and the public header and footer it shares with every other
 * page. Written from docs/design/homepage-2026-10/design-reference.html, whose
 * markup was inline-styled because it came off a design canvas: all of it is
 * classes here, on the tokens qwahabedi.css already defines.
 *
 * Loaded on the homepage only, except the header and footer rules, which the
 * layout needs everywhere - those live in qwahabedi.css.
 */

.home{color:var(--ink);background:var(--paper)}
.home .wrap{max-width:1200px}
.home h2{font-family:var(--display);letter-spacing:-0.02em;font-weight:800;margin:0}
.home .sotho{color:#6B5A2A;font-size:.81rem;font-weight:700;letter-spacing:.16em;margin-top:6px}
.home .seehead{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.home .seehead a{font-weight:700}

/* ---- Hero ---------------------------------------------------------- */
.hhero{position:relative;overflow:hidden;background:var(--indigo)}
.hhero>picture,.hhero>img{position:absolute;inset:0;width:100%;height:100%}
.hhero img{width:100%;height:100%;object-fit:cover;object-position:30% 40%;display:block}
/* Both scrims stay: they are what makes white text readable on a bright sky. */
.hhero .scrim{position:absolute;inset:0;background:
    linear-gradient(90deg,rgba(31,41,51,.82) 0%,rgba(31,41,51,.55) 45%,rgba(31,41,51,.15) 75%),
    linear-gradient(0deg,rgba(38,53,107,.9) 0%,rgba(38,53,107,0) 45%)}
.hhero .wrap{position:relative;padding-block:120px 72px}
.herogrid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:48px;align-items:end}
.herotext{display:flex;flex-direction:column;gap:22px;min-width:0}
.herotext .eyebrow{color:var(--gold);font-weight:700;font-size:.88rem;letter-spacing:.18em}
.herotext h1{margin:0;color:#fff;font-family:var(--display);font-size:clamp(2.6rem,6vw,4.25rem);
    line-height:1.02;font-weight:800;letter-spacing:-0.02em;text-wrap:balance}
.herotext h1 span{color:var(--gold)}
.herotext .lede{margin:0;color:#E8EBF5;font-size:1.25rem;line-height:1.5;max-width:34em}
/* align-content as well as the heights: when the row wraps on a phone, a
   stretched line turned the search box into a 280px block. */
.homesearch{display:flex;gap:10px;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;
    max-width:640px;margin-top:8px}
.homesearch input{flex:1 1 280px;min-width:0;height:58px;border-radius:14px;border:0;padding:0 20px;
    font:inherit;font-size:1.06rem;color:var(--ink);background:#fff}
.homesearch button{height:58px;padding:0 28px;border-radius:14px;border:0;background:var(--gold);
    color:var(--indigo);font:inherit;font-size:1.06rem;font-weight:700;cursor:pointer}
.herochips{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.herochips .metse{color:#C9D0E8;font-size:.81rem;font-weight:700;letter-spacing:.16em;margin-right:4px}
.homechip{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;
    border:1.5px solid rgba(255,255,255,.55);color:#fff;text-decoration:none;font-weight:600;font-size:.94rem;
    background:rgba(31,41,51,.25)}
.homechip:hover{background:#fff;color:var(--indigo)}
.homechip.all{background:#fff;color:var(--indigo);border-color:#fff}

/* Next up: the season's hook, above the fold. */
.nextup{background:var(--paper);border-radius:22px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.35);min-width:0}
.nextup .head{background:var(--pitch);color:#fff;padding:16px 24px;display:flex;justify-content:space-between;
    align-items:center;gap:12px}
.nextup .head span{font-size:.81rem;font-weight:700;letter-spacing:.16em}
.nextup .head .open{background:var(--gold);color:var(--ink);border-radius:999px;padding:4px 12px;letter-spacing:0}
.nextup .head .closed{background:rgba(255,255,255,.18);color:#fff;border-radius:999px;padding:4px 12px;letter-spacing:0}
.nextup .body{padding:24px;display:flex;flex-direction:column;gap:16px}
.nextup .when{display:flex;gap:18px;align-items:center}
.datebox{flex:none;width:76px;text-align:center;border:2px solid var(--indigo);border-radius:14px;padding:8px 0}
.datebox .m{color:var(--red);font-weight:700;font-size:.81rem;letter-spacing:.12em}
.datebox .d{font-family:var(--display);font-size:2.25rem;font-weight:800;line-height:1}
.datebox .w{font-size:.75rem;color:#4A5563}
.nextup .what{min-width:0}
.nextup .what b{display:block;font-family:var(--display);font-size:1.56rem;font-weight:800;line-height:1.1}
.nextup .what span{display:block;color:#4A5563;font-size:.94rem;margin-top:6px}
.nextup .closes{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:12px;
    background:#FFF6DE;font-size:.94rem}
.nextup .acts{display:flex;gap:10px;flex-wrap:wrap}
.nextup .acts .btn{flex:1 1 150px}
.nextup .also{font-size:.88rem;color:#4A5563;border-top:1px solid #E7E2D3;padding-top:14px}
.nextup .also a{font-weight:700}

/* ---- Tasks --------------------------------------------------------- */
.tasks{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.task{display:flex;flex-direction:column;gap:10px;padding:22px 18px;border-radius:16px;background:#fff;
    border:1px solid #E7E2D3;text-decoration:none;color:var(--ink);min-height:150px;box-sizing:border-box;
    transition:transform .12s ease,border-color .12s ease}
.task:hover{border-color:var(--indigo);color:var(--ink);transform:translateY(-2px)}
.task strong{font-size:1.06rem}
.task span{font-size:.88rem;color:#4A5563;line-height:1.4}

/* ---- Three hubs ---------------------------------------------------- */
.homehubs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.homehub{display:flex;flex-direction:column;border-radius:20px;overflow:hidden;text-decoration:none;color:#fff;min-height:440px}
.homehub:hover{color:#fff}
.homehub:hover .go{text-decoration:underline}
/* The pictures are cut to this same 4:3, so they fill the box edge to edge
   with nothing left over. `contain` rather than `cover` on purpose: if a
   picture is ever swapped for one of another shape, it letterboxes into the
   card colour instead of silently cropping somebody's photograph. */
.homehub>img{width:100%;aspect-ratio:4/3;height:auto;object-fit:contain;display:block;background:rgba(0,0,0,.16)}
.homehub .plain{aspect-ratio:4/3;background:#33447F}
.homehub .pad{padding:26px;display:flex;flex-direction:column;gap:10px;flex:1}
.homehub .kind{font-size:.81rem;font-weight:700;letter-spacing:.16em;opacity:.85}
.homehub .name{font-family:var(--display);font-size:2rem;font-weight:800}
.homehub p{margin:0;font-size:1rem;line-height:1.5}
.homehub .go{margin-top:auto;font-weight:700;color:var(--gold)}
.homehub.villages{background:var(--teal)}
.homehub.villages p{color:#E3F0EC}
.homehub.town{background:var(--indigo)}
.homehub.town p{color:#DDE2F2}
.homehub.visit{background:#A8321F}
.homehub.visit p{color:#FBE3DE}
.homehub.visit .go{color:#FFD27A}

/* ---- Tournament season --------------------------------------------- */
.season{background:var(--pitch);color:#fff;margin-top:24px}
.season .wrap{padding-block:72px}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:56px;align-items:center}
.season .split{align-items:start}
.season .eyebrow{color:var(--gold);font-size:.81rem;font-weight:700;letter-spacing:.16em}
.season h2{font-size:clamp(2rem,4.2vw,3rem);line-height:1.05;text-wrap:balance}
.season .lede{margin:0;font-size:1.13rem;line-height:1.55;color:#DCE8DF;max-width:36em}
.seasonleft{display:flex;flex-direction:column;gap:18px;min-width:0}
.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.seasondate{display:flex;gap:16px;align-items:center;background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:18px;color:#fff;text-decoration:none}
.seasondate .box{text-align:center;width:58px;flex:none}
.seasondate .box .m{font-size:.75rem;font-weight:700;color:var(--gold);letter-spacing:.12em}
.seasondate .box .d{font-family:var(--display);font-size:2rem;font-weight:800;line-height:1}
.seasondate strong{font-size:1.06rem}
.seasondate div span{display:block;font-size:.88rem;color:#DCE8DF;margin-top:4px}
.seasonright{display:flex;flex-direction:column;gap:16px;min-width:0}
.seasonright>img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px;display:block}
.honour{background:var(--paper);color:var(--ink);border-radius:18px;padding:20px 22px;display:flex;
    flex-direction:column;gap:10px;text-decoration:none}
.honour .lbl{font-size:.75rem;font-weight:700;letter-spacing:.16em;color:var(--dgold)}
.honour .score{display:flex;align-items:center;justify-content:space-between;gap:12px}
.honour .score b{font-weight:700}
.honour .score .nums{font-family:var(--display);font-size:1.88rem;font-weight:800;font-variant-numeric:tabular-nums}
.honour .player{font-size:.88rem;color:#4A5563}
.honour .player strong{color:var(--ink)}

/* ---- Spaza shops --------------------------------------------------- */
.shopsec .wrap,.home .shopsec{padding-block:88px}
.shopsec .eyebrow{color:var(--red);font-size:.81rem;font-weight:700;letter-spacing:.16em}
.shopsec h2{font-size:clamp(2rem,4vw,2.9rem);line-height:1.05;text-wrap:balance}
.shopsec .lede{margin:0;font-size:1.13rem;line-height:1.55;color:#4A5563;max-width:34em}
.shopleft{display:flex;flex-direction:column;gap:20px;min-width:0}
ol.steps3{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:14px}
ol.steps3 li{display:flex;gap:14px;align-items:start}
ol.steps3 .n{font-family:var(--display);flex:none;width:36px;height:36px;border-radius:50%;background:var(--indigo);
    color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}
ol.steps3 span.t{font-size:1.06rem;line-height:1.45;padding-top:6px}
.shopcard{background:#fff;border:1px solid #E7E2D3;border-radius:24px;box-shadow:0 18px 40px rgba(31,41,51,.10);
    overflow:hidden;min-width:0}
.shopcard .head{background:var(--red);color:#fff;padding:18px 22px}
.shopcard .head .where{font-size:.75rem;font-weight:700;letter-spacing:.16em;opacity:.9}
.shopcard .head .name{font-family:var(--display);font-size:1.5rem;font-weight:800;margin-top:4px}
.shopcard .head .open{font-size:.88rem;opacity:.9;margin-top:2px}
.shopcard .body{padding:8px 22px 20px}
.shopcard .shelf{display:flex;justify-content:space-between;padding:14px 0 6px;font-weight:700}
.shopcard .shelf span{font-size:.75rem;letter-spacing:.14em;color:#6B7280;font-weight:600}
.shopcard .line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #F0ECE0}
.shopcard .line:last-of-type{border-bottom:0}
.shopcard .line img{width:40px;height:40px;object-fit:contain;background:#F6F4EC;border-radius:9px}
.shopcard .line .em{font-size:1.3rem;width:40px;text-align:center}
.shopcard .line .what{flex:1;min-width:0}
.shopcard .line .what span{display:block;font-size:.81rem;color:#6B7280}
.shopcard .line .pr{font-weight:700}
.shopcard .body .btn{width:100%;margin-top:10px}
.shopsoon{display:flex;flex-direction:column;align-items:start;gap:10px;padding:26px 22px}
.shopsoon .lbl{font-size:.75rem;font-weight:700;letter-spacing:.16em;color:var(--dgold)}
.shopsoon b{font-family:var(--display);font-size:1.5rem}
.shopsoon p{margin:0;color:#4A5563;line-height:1.5}

/* ---- The big places ------------------------------------------------ */
.homebigplaces{background:#F4F1E6}
.homebigplaces .wrap{padding-block:72px}
.places{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px}
.homeplace{display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:16px;align-items:baseline;padding:16px 0;
    border-bottom:1px solid #E7E2D3;text-decoration:none;color:var(--ink)}
.homeplace:hover{color:var(--indigo)}
.homeplace .cat{font-size:.75rem;font-weight:700;letter-spacing:.12em}
.homeplace .cat.red{color:var(--red)}
.homeplace .cat.indigo{color:var(--indigo)}
.homeplace .cat.gold{color:var(--dgold)}
.homeplace .cat.teal{color:var(--teal)}
.homeplace .cat.pitch{color:var(--pitch)}
.homeplace .where{color:#4A5563;font-size:.88rem}

/* ---- Bana ba Motse ------------------------------------------------- */
.people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
/* Nobody published yet: the invite takes the row rather than sitting in a
   third of it beside two gaps. */
.people.one{grid-template-columns:minmax(0,1fr)}
.peoplehead{display:flex;flex-direction:column;gap:12px;max-width:720px;margin-bottom:32px}
.peoplehead .eyebrow{color:var(--teal);font-size:.81rem;font-weight:700;letter-spacing:.16em}
.peoplehead h2{font-size:clamp(2rem,4vw,2.9rem);line-height:1.05;text-wrap:balance}
.peoplehead p{margin:0;font-size:1.13rem;line-height:1.55;color:#4A5563}
.person{border-radius:20px;overflow:hidden;background:#fff;border:1px solid #E7E2D3;text-decoration:none;color:var(--ink);display:block}
.person:hover{border-color:var(--teal)}
/* Portrait-shaped, matching the conversion. A 4:3 frame cut heads off. */
.person>img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}
/* No stock photograph and no silhouette: their initials on sand. */
.person .initials{aspect-ratio:3/4;background:#E9E4D6;display:flex;align-items:center;justify-content:center;
    font-family:var(--display);font-size:3rem;font-weight:800;color:#6B5A2A}
.person .pad{padding:20px 22px;display:flex;flex-direction:column;gap:6px}
.person strong{font-size:1.19rem}
.person .work{color:#4A5563}
.person .from{color:var(--teal);font-weight:700;font-size:.88rem}
.addstory{border-radius:20px;background:var(--teal);color:#fff;text-decoration:none;padding:28px;display:flex;
    flex-direction:column;justify-content:space-between;gap:20px;min-height:260px}
.addstory:hover{color:#fff}
.addstory b{font-family:var(--display);font-size:1.88rem;font-weight:800;line-height:1.1}
.addstory p{margin:0 0 16px;color:#DDEDE8;line-height:1.5}

/* ---- What's on + sponsor ------------------------------------------- */
.homeevents{padding-block:0 88px}
.eventrow{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid #E7E2D3;border-radius:16px;
    padding:16px;text-decoration:none;color:var(--ink)}
.eventrow:hover{border-color:var(--indigo);color:var(--ink)}
.eventrow .box{width:60px;flex:none;text-align:center;border-radius:12px;background:#F4F1E6;padding:8px 0}
.eventrow .box .m{font-size:.75rem;font-weight:700;color:var(--red)}
.eventrow .box .d{font-family:var(--display);font-size:1.63rem;font-weight:800;line-height:1}
.eventrow .what{min-width:0}
.eventrow .what span{display:block;font-size:.88rem;color:#4A5563;margin-top:4px}
.eventcol{display:flex;flex-direction:column;gap:14px;min-width:0}
.homesponsor{background:#fff;border:1px solid #E7E2D3;border-radius:20px;overflow:hidden;min-width:0}
.homesponsor .pad{padding:22px;display:flex;flex-direction:column;gap:10px}
.homesponsor .lbl{align-self:start;background:#FFF6DE;color:#6B5A2A;border-radius:999px;padding:4px 12px;
    font-size:.75rem;font-weight:700;letter-spacing:.14em}
.homesponsor b{font-family:var(--display);font-size:1.38rem;font-weight:800}
.homesponsor p{margin:0;color:#4A5563;line-height:1.5}
.homesponsor .btn{align-self:start;margin-top:6px}

/* ---- Buttons used on this page ------------------------------------- */
.home .btn,.hhero .btn{min-height:48px;padding:0 22px;border-radius:999px;font-weight:700;font-size:1rem}
.btn.indigo{background:var(--indigo);color:#fff}
.btn.indigo:hover{background:#1C2A57;color:#fff}
.btn.outline-indigo{border:2px solid var(--indigo);color:var(--indigo);background:transparent}
.btn.outline-white{border:2px solid #fff;color:#fff;background:transparent}
.btn.outline-ink{border:2px solid var(--ink);color:var(--ink);background:transparent}
.btn.gold-ink{background:var(--gold);color:var(--ink)}
.btn.ink{background:var(--ink);color:#fff}
.btn.red{background:var(--red);color:#fff}

@media (max-width:1000px){
    .herogrid,.split{grid-template-columns:minmax(0,1fr)}
    .tasks{grid-template-columns:repeat(3,minmax(0,1fr))}
    .homehubs,.people{grid-template-columns:minmax(0,1fr)}
    .homehub{min-height:340px}
    .hhero .wrap{padding-block:84px 56px}
}
@media (max-width:640px){
    .tasks{grid-template-columns:repeat(2,minmax(0,1fr))}
    .two,.places{grid-template-columns:minmax(0,1fr)}
    .homeplace{grid-template-columns:minmax(0,1fr) auto}
    .homeplace .cat{grid-column:1/-1}
    .hhero .wrap{padding-block:64px 44px}
}
@media (prefers-reduced-motion:reduce){
    .task:hover{transform:none}
}

/* With no sponsor running, the events column takes the whole width. */
.eventcol.full{grid-column:1/-1}
.people .addstory{min-height:260px}
/* A paid turn in the box. The advertising rules say nothing paid may look
   like normal content, so it says so where the entries badge would be. */
.nextup .head .paid{background:#fff;color:var(--ink);border-radius:999px;padding:4px 12px;letter-spacing:0}

/* Ditsebiso on the front page. Sits between the task cards and the three
   hubs, so somebody deciding where to go reads it before they go. */
.homenotices{padding:4px 0 8px}
.homenotices .noticelist{display:grid;grid-template-columns:1fr;gap:10px}
@media (min-width:860px){.homenotices .noticelist{grid-template-columns:1fr 1fr}}
.homenotices .notice{margin-bottom:0}
