/* page styles: mice.html */
/* ==========================================================================
       MICE page — bespoke layer on top of agile.css.
       Signature idea: the working artifact of this trade is the run sheet —
       the minute-by-minute run-of-show — so the page's centrepiece is a real
       one (.mice-run). M/I/C/E is a genuine four-way split, so the picker is
       four photo panels (.mice-quad) rather than a generic card grid.
       ========================================================================== */

    /* hero — swapped from .mast to the shared .band--hero pattern (same
       one Cairo and Tailormade use): full-bleed photo, centred kicker /
       title / sub. The source photo is bright on the left, so the shared
       veil gets the same left-side scrim the old .mast had, just renamed. */
    /* lighter hero overlay (shared one is .32 / .15 / .62 top-to-bottom) so the
       photo reads clearly; a soft bottom fade stays for the white title */
    .aboutHero__veil{background:linear-gradient(to top,rgba(5,15,17,.32),rgba(5,15,17,.04) 55%,rgba(5,15,17,.14))}
    .band--hero .band__veil{background:linear-gradient(to top,var(--ink) 2%,rgb(var(--ink-rgb) / .58) 46%,rgb(var(--ink-rgb) / .72))}

    /* strip — the formats, shown before they're described */
    .mice-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
    .mice-strip__item{position:relative;margin:0;border-radius:12px;overflow:hidden;aspect-ratio:3/4}
    .mice-strip__item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 1.2s var(--ease)}
    .mice-strip__item:hover img{transform:scale(1.05)}
    .mice-strip__item::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(5,15,17,.6),transparent 50%)}
    .mice-strip__cap{position:absolute;left:16px;bottom:14px;z-index:1;margin:0;color:#fff;font-size:11px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;text-shadow:0 2px 8px rgba(0,0,0,.45)}
    @media (max-width:820px){
      .mice-strip{grid-template-columns:1fr 1fr}
    }

    /* quad — the four letters of MICE, as four photo panels */
    .mice-quad{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:14px;overflow:hidden}
    .mice-quad__panel{position:relative;isolation:isolate;text-decoration:none;min-height:300px;
      display:flex;flex-direction:column;justify-content:flex-end;gap:8px;padding:clamp(20px,2.4vw,30px);
      border-left:1px solid var(--line)}
    .mice-quad__panel:first-child{border-left:0}
    .mice-quad__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform 1.2s var(--ease)}
    .mice-quad__panel:hover .mice-quad__img{transform:scale(1.06)}
    .mice-quad__panel::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(5,15,17,.9),rgba(5,15,17,.34) 62%)}
    .mice-quad__head{display:flex;align-items:baseline;gap:10px}
    .mice-quad__letter{font-size:clamp(30px,3.4vw,46px);font-weight:800;line-height:1;color:var(--gold);margin:0}
    .mice-quad__t{font-size:16px;font-weight:700;color:var(--paper);margin:0}
    .mice-quad__d{font-size:13px;color:var(--haze);margin:0}
    @media (max-width:900px){
      .mice-quad{grid-template-columns:1fr 1fr}
      .mice-quad__panel:nth-child(3){border-left:0}
      .mice-quad__panel:nth-child(n+3){border-top:1px solid var(--line)}
    }
    @media (max-width:520px){
      .mice-quad{grid-template-columns:1fr}
      .mice-quad__panel{border-left:0;min-height:240px}
      .mice-quad__panel+.mice-quad__panel{border-top:1px solid var(--line)}
    }

    /* scale bar — contained, not full-bleed */
    .mice-scale__grid{display:grid;grid-template-columns:repeat(4,1fr);
      max-width:920px;margin:0 auto;padding:clamp(28px,3.4vw,40px) clamp(20px,2.6vw,32px);
      border-radius:16px;background:linear-gradient(160deg,var(--deep),var(--ink) 72%)}
    .mice-scale__item{text-align:center;padding:0 clamp(10px,1.2vw,20px);border-left:1px solid rgba(199,224,224,.16)}
    .mice-scale__item:first-child{border-left:0}
    .mice-scale__num{font-size:clamp(22px,2.6vw,32px);font-weight:800;letter-spacing:-.01em;color:var(--paper);margin:0 0 4px;font-variant-numeric:tabular-nums}
    .mice-scale__label{font-size:12px;color:var(--haze);margin:0;max-width:20ch;margin-inline:auto}
    @media (max-width:820px){
      .mice-scale__grid{grid-template-columns:1fr 1fr;gap:24px 0}
      .mice-scale__item:nth-child(odd){border-left:0}
    }
    @media (max-width:480px){
      .mice-scale__grid{grid-template-columns:1fr;gap:20px}
      .mice-scale__item{border-left:0!important}
    }

    /* run sheet — the signature: the trade's own document, laid out as a
       timeline rather than a table. A rail runs down the left edge with a
       dot per stop; time, what's happening and who owns it read off to
       its right, so the shape itself reads as "a day, in order." */
    .mice-run__head{display:flex;align-items:baseline;gap:10px;margin-bottom:clamp(18px,2.4vw,26px)}
    .mice-run__head p{margin:0}
    .mice-run__title{font-size:13px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--paper)}
    .mice-run__meta{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
    body.theme-light .mice-run__title{color:var(--ink)}

    .mice-run{list-style:none;margin:0;padding:0;position:relative}
    .mice-run::before{content:"";position:absolute;top:6px;bottom:6px;left:5px;width:2px;background:var(--line-strong)}
    .mice-run__row{position:relative;padding:0 0 clamp(22px,2.8vw,30px) 32px;
      display:grid;grid-template-columns:64px 1fr auto;gap:clamp(10px,1.6vw,20px);align-items:baseline}
    .mice-run__row:last-child{padding-bottom:0}
    .mice-run__row::before{content:"";position:absolute;left:0;top:3px;width:12px;height:12px;border-radius:50%;
      background:var(--deep);border:2px solid var(--gold)}
    .mice-run__time{font-size:12.5px;font-weight:800;color:var(--gold);font-variant-numeric:tabular-nums;letter-spacing:.03em}
    .mice-run__what{font-size:15px;font-weight:700;color:var(--paper);margin:0}
    .mice-run__who{font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--haze-dim);white-space:nowrap}
    body.theme-light .mice-run__what{color:var(--ink)}
    body.theme-light .mice-run::before{background:rgb(var(--deep-rgb) / .16)}
    body.theme-light .mice-run__row::before{background:#fff}
    @media (max-width:640px){
      .mice-run__row{grid-template-columns:56px 1fr;gap:10px 12px;padding-left:28px}
      .mice-run__who{grid-column:2;white-space:normal}
    }

    /* feature — an alternating photo/copy block for the capabilities that
       deserve more than a tile: the attendee site, the creative work, and
       the corporate benefits programme. */
    .mice-feat{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,60px);align-items:center}
    .mice-feat--flip .mice-feat__media{order:2}
    .mice-feat__media{border-radius:16px;overflow:hidden;aspect-ratio:4/3}
    .mice-feat__media img{width:100%;height:100%;object-fit:scale-down;display:block}
    .mice-feat__body{display:flex;flex-direction:column;gap:16px;min-width:0}
    .mice-feat__t{font-size:clamp(22px,2.5vw,34px);font-weight:800;letter-spacing:-.01em;margin:0}
    .mice-feat__p{font-size:15.5px;line-height:1.7;color:var(--haze);margin:0;max-width:52ch}
    body.theme-light .mice-feat__p{color:var(--haze-dim)}
    @media (max-width:860px){
      .mice-feat{grid-template-columns:1fr}
      .mice-feat--flip .mice-feat__media{order:0}
    }

    /* feature, as a post — phone only, .mice-feat--post: the same two
       blocks restacked the way a feed post reads (same idea as the Cairo
       page's .about-wide--post) — a header, the copy clamped behind
       "Read more", then the photo. Desktop's alternating layout above is
       untouched: these extra elements are display:none until the media
       query picks them up. */
    .mice-feat__postHead,.mice-feat__readMore{display:none}
    @media (max-width:860px){
      .mice-feat--post .mice-feat__postHead{display:flex;align-items:center;gap:11px;order:0}
      .mice-feat--post .mice-feat__body{order:1}
      .mice-feat--post .mice-feat__media{order:2;margin-top:4px}

      .mice-feat__avatar{
        width:36px;height:36px;border-radius:50%;flex:none;
        display:grid;place-items:center;background:var(--gold);
      }
      .mice-feat__avatar img{display:block;width:22px;height:22px}
      .mice-feat__who{display:flex;flex-direction:column;gap:1px;min-width:0}
      .mice-feat__who b{font-size:14px;font-weight:800;letter-spacing:-.005em;color:var(--paper)}
      .mice-feat__who span{font-size:11.5px;color:var(--haze)}
      body.theme-light .mice-feat__who b{color:var(--ink)}
      body.theme-light .mice-feat__who span{color:var(--muted)}

      /* collapsed: two lines and an ellipsis, the way the fold works in a feed */
      .mice-feat--post .mice-feat__copy{
        display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
      }
      .mice-feat--post.is-open .mice-feat__copy{display:block;overflow:visible}

      .mice-feat__readMore{
        display:block;align-self:flex-start;padding:0;
        border:0;background:none;cursor:pointer;font-family:var(--f);
        font-size:13.5px;font-weight:700;color:var(--haze);
      }
      body.theme-light .mice-feat__readMore{color:var(--muted)}
    }

    /* coverage — a bento grid, not seven equal numbered tiles. The
       one-stop-shop claim is the thesis, so it gets the wide photo panel;
       the six capabilities below are the proof, and carry no fake 01–07
       numbering because they are not a sequence. */
    .mice-cover{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
    .mice-cover__feature{grid-column:1 / -1;position:relative;isolation:isolate;overflow:hidden;border-radius:16px;
      min-height:230px;display:flex;flex-direction:column;justify-content:flex-end;gap:10px;padding:clamp(26px,3.4vw,44px)}
    .mice-cover__feature img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
    .mice-cover__feature::before{content:"";position:absolute;inset:0;z-index:-1;
      background:linear-gradient(105deg,rgb(var(--deep-rgb) / .94),rgba(5,15,17,.72) 62%,rgba(5,15,17,.5))}
    .mice-cover__eyebrow{font-size:11px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);margin:0}
    .mice-cover__ft{font-size:clamp(22px,2.5vw,32px);font-weight:800;letter-spacing:-.01em;color:var(--paper);margin:0}
    .mice-cover__fd{font-size:15px;line-height:1.6;color:var(--mint);margin:0;max-width:52ch}
    .mice-cover__tile{background:var(--ink-lift);border-radius:14px;padding:clamp(20px,2.2vw,28px);
      display:flex;flex-direction:column;gap:10px;transition:transform .5s var(--ease)}
    .mice-cover__tile:hover{transform:translateY(-4px)}
    .mice-cover__icon{width:28px;height:28px;color:var(--gold)}
    .mice-cover__icon svg{width:100%;height:100%}
    .mice-cover__t{font-size:15.5px;font-weight:700;color:var(--paper);margin:0;letter-spacing:-.005em}
    .mice-cover__d{font-size:13.5px;line-height:1.6;color:var(--haze);margin:0}
    @media (max-width:900px){.mice-cover{grid-template-columns:1fr 1fr}}
    @media (max-width:560px){.mice-cover{grid-template-columns:1fr}}

    body.theme-light .mice-cover__tile{background:#fff;box-shadow:0 1px 0 rgb(var(--deep-rgb) / .08)}
    body.theme-light .mice-cover__t{color:var(--ink)}
    body.theme-light .mice-cover__d{color:var(--haze-dim)}
    body.theme-light .mice-quad{border-color:rgb(var(--deep-rgb) / .14)}
    body.theme-light .mice-quad__panel{border-left-color:rgb(var(--deep-rgb) / .14)}
    body.theme-light .mice-quad__panel:nth-child(n+3){border-top-color:rgb(var(--deep-rgb) / .14)}
    body.theme-light .mice-run{background:#fff;box-shadow:0 1px 0 rgb(var(--deep-rgb) / .08)}
    body.theme-light .mice-run__row{border-top-color:rgb(var(--deep-rgb) / .12)}
    body.theme-light .mice-run__what{color:var(--ink)}

    /* ==== copy as plain About-style rows: text beside an image slot
       ({PLACEHOLDER} until the real photos arrive), alternating sides ==== */
    .micePh{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#27474a,#0f2224)}
    .micePh span{font-size:clamp(16px,2vw,26px);font-weight:800;letter-spacing:.12em;color:rgba(255,255,255,.35)}
    .aboutHero__img.micePh span{margin-bottom:24vh}
    .aboutHero__sub{margin:0;font-size:clamp(15px,1.4vw,19px);color:var(--paper);text-shadow:0 2px 14px rgba(0,0,0,.35)}
    .miceRow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4.5vw,72px);align-items:center}
    .miceRow--flip .miceRow__text{order:2}
    .miceRow__text{display:flex;flex-direction:column;gap:1em}
    .miceRow__p{margin:0;font-size:clamp(17px,1.5vw,20px);line-height:1.7;color:var(--ink)}
    .miceRow__p--lead{font-size:clamp(20px,2vw,27px);font-weight:700;line-height:1.4}
    .miceRow__media{aspect-ratio:4/3;border-radius:16px;overflow:hidden}
    img.miceRow__media{display:block;width:100%;height:auto;object-fit:cover}
    @media (max-width:820px){
      .miceRow{grid-template-columns:1fr}
      .miceRow--flip .miceRow__text{order:0}
    }
