/* L&P Dept Hub - phone-first app shell (preview build, not live).
   Colour lives in the variables below, so each look is a single switch:
   golden (default), night, forest. */

:root {
  /* Golden hour */
  --page: #FFF7EA; --card: #FFFFFF; --card-2: #FFEFD5; --line: #EBD9BC;
  --ink: #2B1B14; --ink-2: #6B5445; --field: #FFFFFF;
  --hd: #7A1F3D; --hdt: #FFF3E0;
  --accent: #B4472B; --on-accent: #FFFFFF;
  --gold: #E3B04B; --gold-ink: #3A2606;
  --hero: linear-gradient(135deg, #7A1F3D 0%, #B4472B 100%); --hero-ink: #FFF3E0; --hero-accent: #F4C95D;
  --ta: #E3B04B; --tat: #3A2606;
  --tb: #1F6F6B; --tbt: #F2FFFB;
  --tc: #7A1F3D; --tct: #FFF3E0;
  --td: #C8553D; --tdt: #FFF6EE;
  --wm: .12; --shadow: 0 6px 20px rgba(122, 31, 61, .16);
  --radius: 18px;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Cormorant Garamond', Georgia, serif;
}
[data-theme="night"] {
  --page: #1B2540; --card: #26335A; --card-2: #2F3E6B; --line: rgba(226, 190, 130, .30);
  --ink: #F7EFDD; --ink-2: #BFC8DC; --field: #1B2540;
  --hd: #121A31; --hdt: #F7EFDD;
  --accent: #E8C98F; --on-accent: #1B2540;
  --gold: #E2BE82; --gold-ink: #2A1D08;
  --hero: linear-gradient(145deg, #34478A 0%, #1F2B52 70%); --hero-ink: #F7EFDD; --hero-accent: #E8C98F;
  --ta: #E2BE82; --tat: #2A1D08;
  --tb: #647668; --tbt: #FFFBF2;  /* NightOwl brand sage, sampled from the logo banner */
  --tc: #A03556; --tct: #FFF1F3;
  --td: #B8553A; --tdt: #FFF3EA;
  --wm: .09; --shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
[data-theme="forest"] {
  --page: #2F4235; --card: #3B5443; --card-2: #476351; --line: rgba(212, 180, 132, .32);
  --ink: #F5EFE3; --ink-2: #CAD4C5; --field: #2F4235;
  --hd: #22322A; --hdt: #F5EFE3;
  --accent: #E6CA98; --on-accent: #22322A;
  --gold: #D4B484; --gold-ink: #2E2208;
  --hero: linear-gradient(145deg, #55765F 0%, #2F4235 75%); --hero-ink: #F5EFE3; --hero-accent: #E6CA98;
  --ta: #D4B484; --tat: #2E2208;
  --tb: #2C8C86; --tbt: #EFFFFD;
  --tc: #8E3049; --tct: #FFF1F3;
  --td: #F5EFE3; --tdt: #2F4235;
  --wm: .10; --shadow: 0 8px 24px rgba(0, 0, 0, .30);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {   /* gold owl watermark behind everything */
  content: ''; position: fixed; z-index: 0; pointer-events: none;
  right: -70px; bottom: 70px; width: min(86vw, 400px); aspect-ratio: 1;
  background: url('../img/owl-watermark.png') center / contain no-repeat; opacity: var(--wm);
}
a { color: var(--accent); }
button { font: inherit; color: inherit; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- header + tab bar ---------- */
.top {
  position: sticky; top: 0; z-index: 30; background: var(--hd); color: var(--hdt); border-bottom: 2px solid var(--gold);
  display: flex; align-items: center; gap: 10px; padding: calc(8px + env(safe-area-inset-top)) 12px 8px 14px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; text-decoration: none; color: inherit; }
.brand img { width: 34px; height: 34px; flex: none; }
.brand b { font-family: var(--font-head); font-size: 19px; font-weight: 600; letter-spacing: .01em; line-height: 1.1; white-space: nowrap; }
.brand small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--hero-accent); }
.iconbtn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--gold); background: transparent; color: var(--hdt);
  display: grid; place-items: center; cursor: pointer; flex: none;
}
.tabs {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: var(--hd); border-top: 2px solid var(--gold);
  display: flex; padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
}
.tab {
  flex: 1; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .02em;
  color: color-mix(in srgb, var(--hdt) 72%, transparent); border-top: 3px solid transparent; margin-top: -2px;
}
.tab[aria-current="page"] { color: var(--hdt); border-top-color: var(--gold); }
.tab[aria-current="page"] .ic { stroke: var(--gold); }
.sidelinks { display: none; }

/* ---------- views ---------- */
.views { position: relative; z-index: 1; padding: 16px 14px calc(96px + env(safe-area-inset-bottom)); }
.wrap { max-width: 720px; margin: 0 auto; }
.view[hidden] { display: none; }
.view { animation: rise .22s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .view { animation: none; } }

.vhead {   /* every page opens with a colour band; colour matches its Home tile */
  position: relative; overflow: hidden; border-radius: 24px; padding: 18px 18px 16px; margin: 0 0 16px;
  background: var(--hero); color: var(--hero-ink); box-shadow: var(--shadow);
}
.vhead::after { content: ''; position: absolute; right: -26px; top: -26px; width: 130px; height: 130px; background: url('../img/owl-watermark.png') center / contain no-repeat; opacity: .2; }
.vhead--a { background: var(--ta); color: var(--tat); }
.vhead--b { background: var(--tb); color: var(--tbt); }
.vhead--c { background: var(--tc); color: var(--tct); }
.vhead--d { background: var(--td); color: var(--tdt); }
.vhead .k { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, currentColor 80%, transparent); position: relative; z-index: 1; }
h1.vt { font-family: var(--font-head); font-weight: 600; font-size: 34px; line-height: 1.08; margin: 0 0 4px; position: relative; z-index: 1; }
.vhead .lead { margin: 0; color: color-mix(in srgb, currentColor 88%, transparent); position: relative; z-index: 1; }
h2.st { font-family: var(--font-head); font-weight: 600; font-size: 25px; line-height: 1.12; margin: 0 0 4px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 14px; }
.card p { margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--ink-2); font-size: 15px; }

/* ---------- buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 12px 18px;
  border-radius: 14px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; text-align: center;
}
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); box-shadow: 0 4px 14px color-mix(in srgb, var(--gold) 45%, transparent); }
.btn--gold.btn--soon, .btn--soon { background: transparent; border: 1.5px dashed var(--gold); color: var(--ink-2); box-shadow: none; cursor: default; font-weight: 500; }
.btn--sm { min-height: 48px; width: auto; padding: 8px 14px; font-size: 15px; }
.btn:active { transform: scale(.98); }
.btn--soon:active { transform: none; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.row > .btn { flex: 1 1 140px; }
.linkbtn { background: none; border: 0; padding: 8px 0 8px 8px; min-height: 44px; color: var(--accent); font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ---------- home: weekly quote + tiles ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: 26px; padding: 22px 20px 20px; margin: 0 0 14px;
  background: var(--hero); color: var(--hero-ink); box-shadow: var(--shadow);
}
.hero::after { content: ''; position: absolute; right: -34px; top: -30px; width: 190px; height: 190px; background: url('../img/owl-watermark.png') center / contain no-repeat; opacity: .22; }
.hero .k { position: relative; z-index: 1; margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--hero-accent); }
.hero blockquote { position: relative; z-index: 1; margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 29px; line-height: 1.14; max-width: 94%; }
.hero .by { position: relative; z-index: 1; margin: 12px 0 0; font-size: 14px; color: var(--hero-accent); }
.hero .by:empty { display: none; }
.hero .rule { position: relative; z-index: 1; display: block; width: 46px; height: 3px; border-radius: 2px; background: var(--hero-accent); margin: 14px 0 0; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 122px; padding: 14px; border-radius: 22px;
  text-decoration: none; font-weight: 600; font-size: 18px; line-height: 1.15; box-shadow: var(--shadow);
}
.tile .badge { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, currentColor 16%, transparent); }
.tile small { display: block; font-weight: 400; font-size: 13px; margin-top: 3px; }
.tile--a { background: var(--ta); color: var(--tat); }
.tile--b { background: var(--tb); color: var(--tbt); }
.tile--c { background: var(--tc); color: var(--tct); }
.tile--d { background: var(--td); color: var(--tdt); }

/* ---------- today's top 3 (a strip that opens) ---------- */
.t3 { padding: 6px 12px; border-color: var(--gold); border-width: 1.5px; }
.t3bar { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 6px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink); }
.t3bar .ttl { flex: 1; min-width: 0; }
.t3bar b { display: block; font-family: var(--font-head); font-size: 23px; font-weight: 600; line-height: 1.1; }
.t3bar small { display: block; font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t3count { font-weight: 600; font-size: 14px; padding: 4px 11px; border-radius: 999px; background: var(--card-2); color: var(--accent); flex: none; }
.t3chev { color: var(--accent); transition: transform .2s; }
.t3bar[aria-expanded="true"] .t3chev { transform: rotate(90deg); }
.t3body { padding: 4px 0 8px; }
.t3body[hidden] { display: none; }
.t3date { margin: 0 0 8px; font-size: 13px; color: var(--ink-2); }
.t3row { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; }
.tick {
  margin-top: 3px; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 2px solid var(--accent); background: transparent;
  color: transparent; display: grid; place-items: center; cursor: pointer; padding: 0;
}
.tick .ic { width: 22px; height: 22px; stroke-width: 2.4; }
.t3row.is-done .tick { background: var(--accent); color: var(--on-accent); }
.t3row textarea {
  flex: 1; min-width: 0; min-height: 46px; padding: 11px 12px; resize: none; overflow: hidden; line-height: 1.3; border-radius: 12px; border: 1px solid var(--line);
  background: var(--field); color: var(--ink); font: 500 17px var(--font-body);
}
.t3row.is-done textarea { text-decoration: line-through; color: var(--ink-2); }
.t3foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.banner { background: var(--card-2); border: 1px solid var(--gold); border-radius: 12px; padding: 10px 12px; margin: 0 0 10px; font-size: 14px; }
.banner ul { margin: 4px 0 8px; padding-left: 18px; }

/* ---------- contacts ---------- */
.crow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; margin: 0 0 8px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.crow b { display: block; font-size: 16px; }
.crow small { display: block; font-size: 13px; color: var(--ink-2); }
.cacts { display: flex; gap: 8px; flex: none; }
.cbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--accent); color: var(--accent); text-decoration: none; }
.cbtn--fill { background: var(--accent); color: var(--on-accent); }
.cbtn .ic { width: 21px; height: 21px; }
.person { display: flex; flex-direction: column; gap: 10px; }
.person h3 { font-family: var(--font-head); font-size: 23px; font-weight: 600; margin: 0; line-height: 1.1; }
.person .role { font-size: 14px; color: var(--ink-2); margin: 0; }
.person .help { font-size: 13px; color: var(--ink-2); margin: 0; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.act {
  flex: 1 1 96px; min-height: 46px; padding: 8px 10px; display: flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 12px; border: 1.5px solid var(--accent); color: var(--accent); background: transparent; font-weight: 600; font-size: 14px; text-decoration: none;
}
.act .ic { width: 20px; height: 20px; }
.act--fill { background: var(--accent); color: var(--on-accent); }

/* ---------- book ---------- */
.opt--default { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.chip { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); }
.chip--soft { background: var(--card-2); color: var(--accent); }
.tbc { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; border: 1px dashed #B9770E; color: #7A4A06; background: #FFF4DD; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 10px 0 14px; font-size: 14px; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 500; }
.qr { display: none; }

/* ---------- lists (more) ---------- */
.list { list-style: none; margin: 0 0 14px; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.list li + li { border-top: 1px solid var(--line); }
.list a, .list .li-off { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; padding: 10px 16px; color: var(--ink); text-decoration: none; font-weight: 500; }
.list small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-2); }
.list .li-off { color: var(--ink-2); }
.list .ic { width: 20px; height: 20px; color: var(--accent); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.sw { flex: 1 1 100px; min-height: 50px; border-radius: 14px; border: 2px solid var(--line); background: var(--field); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; padding: 6px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sw i { width: 20px; height: 20px; border-radius: 50%; display: block; border: 1px solid rgba(0, 0, 0, .25); }
.sw[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }

/* ---------- forms (ora-lite) ---------- */
.field { margin: 0 0 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 4px; }
.field .hint { font-size: 13px; color: var(--ink-2); margin: 0 0 6px; }
.field textarea, .field input[type="text"], .field input[type="date"] {
  width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--ink);
  font: 400 17px var(--font-body); color-scheme: light dark;
}
.field textarea { min-height: 84px; resize: vertical; }
.acts-in { display: flex; flex-direction: column; gap: 8px; }

/* ---------- accordions (how-to, partnership incentive detail) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc:first-of-type { border-top: 0; }
.acc summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 600; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ''; width: 9px; height: 9px; flex: none; margin-right: 4px; transition: transform .2s; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
.acc[open] summary::after { transform: rotate(-135deg); }
.acc-b { padding: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.acc-b p { margin: 0 0 10px; }
.acc-b b { color: var(--ink); }
.plain { margin: 0; padding-left: 18px; }
.plain li { margin: 0 0 6px; }
h3.mini { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 14px 0 6px; }

/* ---------- partnership incentive ---------- */
.big { display: flex; align-items: center; gap: 14px; }
.big .n { font-family: var(--font-head); font-size: 64px; font-weight: 600; line-height: .9; color: var(--accent); }
.big p { margin: 0; }
.points { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; }
.points li { padding-left: 14px; border-left: 3px solid var(--gold); }
.points b { display: block; color: var(--ink); font-size: 15px; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; align-items: start; }
.steps li::before { content: counter(step); grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; font-weight: 700; }
.steps b { font-size: 15px; color: var(--ink); }
.kpis { display: grid; gap: 16px; margin-top: 14px; }
.kpi-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.kpi-h b { font-size: 16px; }
.kpi-h span { font-family: var(--font-head); font-size: 28px; font-weight: 600; color: var(--accent); line-height: 1; }
.bar-w { height: 8px; border-radius: 4px; background: var(--card-2); overflow: hidden; margin: 4px 0 6px; }
.bar-w i { display: block; height: 100%; background: var(--gold); border-radius: 4px; }
.kpi p { margin: 0; font-size: 14px; color: var(--ink-2); }
.kpi.is-ldr { background: var(--card-2); border: 1px solid var(--gold); border-radius: 14px; padding: 10px 12px; margin: 0 -4px; }
.tiers { display: grid; gap: 10px; margin: 8px 0; }
.tier { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--card-2); }
.tier b { display: block; margin: 8px 0 4px; font-size: 16px; color: var(--ink); }
.tier ul { margin: 0; padding-left: 18px; }

/* ---------- sheet (dialogs) + toast ---------- */
dialog.sheet { border: 0; padding: 0; width: 100%; max-width: 560px; margin: auto auto 0; border-radius: 24px 24px 0 0; background: var(--page); color: var(--ink); max-height: 90dvh; overflow: auto; }
dialog.sheet::backdrop { background: rgba(10, 12, 20, .6); }
.sheet-in { padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); }
.sheet-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet-hd .iconbtn { color: var(--ink); border-color: var(--line); }
#toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 60;
  background: var(--ink); color: var(--page); padding: 10px 16px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; max-width: 90vw; text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- desktop: bottom bar becomes a left menu ---------- */
@media (min-width: 900px) {
  body::before { right: 40px; bottom: 30px; width: 420px; }
  .tabs { top: 62px; right: auto; bottom: 0; width: 214px; flex-direction: column; justify-content: flex-start; gap: 4px; padding: 18px 12px; border-top: 0; border-right: 2px solid var(--gold); overflow-y: auto; }
  .tab { flex: none; flex-direction: row; justify-content: flex-start; gap: 14px; min-height: 48px; padding: 0 14px; font-size: 16px; border-top: 0; margin-top: 0; border-left: 3px solid transparent; border-radius: 10px; }
  .tab[aria-current="page"] { border-left-color: var(--gold); background: color-mix(in srgb, var(--hdt) 12%, transparent); }
  .sidelinks { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--hdt) 25%, transparent); }
  .sidelinks h3 { margin: 0 0 6px 14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hero-accent); }
  .sidelinks a + h3, .sidelinks span + h3 { margin-top: 16px; }
  .sidelinks a, .sidelinks span { display: block; padding: 8px 14px; border-radius: 8px; font-size: 15px; text-decoration: none; color: var(--hdt); }
  .sidelinks span { color: color-mix(in srgb, var(--hdt) 55%, transparent); }
  .sidelinks a:hover { background: color-mix(in srgb, var(--hdt) 12%, transparent); }
  .views { margin-left: 214px; padding: 28px 28px 60px; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .tiers { grid-template-columns: 1fr 1fr; }
  .qr { display: block; width: 150px; border-radius: 10px; background: #fff; padding: 6px; margin-top: 10px; }
  dialog.sheet { margin: auto; border-radius: 24px; }
  #toast { bottom: 28px; }
}

.t3hint { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }

/* Colour-filled cards: same four colours as the Home tiles, so each screen has its own colour moments */
.card--a, .card--b, .card--c, .card--d { border-color: transparent; box-shadow: var(--shadow); }
.card--a { background: var(--ta); color: var(--tat); }
.card--b { background: var(--tb); color: var(--tbt); }
.card--c { background: var(--tc); color: var(--tct); }
.card--d { background: var(--td); color: var(--tdt); }
.card--a .muted, .card--b .muted, .card--c .muted, .card--d .muted,
.card--a dt, .card--b dt, .card--c dt, .card--d dt { color: color-mix(in srgb, currentColor 82%, transparent); }
.card--a .eyebrow, .card--b .eyebrow, .card--c .eyebrow, .card--d .eyebrow { color: color-mix(in srgb, currentColor 75%, transparent); }
.card--a .btn, .card--a .btn--gold { background: #1B2540; border-color: #1B2540; color: #F7EFDD; box-shadow: none; }
.card--b .btn, .card--c .btn, .card--d .btn { background: #F7EFDD; border-color: #F7EFDD; color: #1B2540; box-shadow: none; }
.card--a .btn--soon, .card--b .btn--soon, .card--c .btn--soon, .card--d .btn--soon { background: transparent; border: 1.5px dashed currentColor; color: inherit; }
.card--a .tbc, .card--b .tbc, .card--c .tbc, .card--d .tbc { background: rgba(255,255,255,.22); border-color: currentColor; color: inherit; }
.card--a .chip, .card--b .chip, .card--c .chip, .card--d .chip { background: rgba(255,255,255,.22); color: inherit; }
.card--a a:not(.btn), .card--b a:not(.btn), .card--c a:not(.btn), .card--d a:not(.btn) { color: inherit; }

.card--a .acc, .card--b .acc, .card--c .acc, .card--d .acc { border-top-color: color-mix(in srgb, currentColor 25%, transparent); }
.card--a .acc summary::after, .card--b .acc summary::after, .card--c .acc summary::after, .card--d .acc summary::after { border-color: currentColor; }
.card--a .acc-b, .card--b .acc-b, .card--c .acc-b, .card--d .acc-b, .card--a .acc-b b, .card--b .acc-b b, .card--c .acc-b b, .card--d .acc-b b { color: inherit; }
.card--a .big .n, .card--b .big .n, .card--c .big .n, .card--d .big .n { color: inherit; }

/* ORA and Today's top 3 are the open white panels on the navy screen */
.t3, #ora, .card--paper {
  --card: #FFFFFF; --card-2: #F0E8D6; --line: #E2D6BC; --field: #FFFFFF;
  --ink: #1B2540; --ink-2: #566180; --accent: #1F2B52; --on-accent: #F7EFDD;
  background: #FFFFFF; color: var(--ink); border-color: var(--gold);
}
#ora .eyebrow { color: #8C5A23; }
.t3 .t3chev, .t3 .t3count { color: var(--ink); }
.t3 .t3count { background: var(--card-2); }

.seg { display: flex; gap: 6px; }
.seg button { flex: 1 1 0; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--field); color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ---------- progress: coins, medal, sheet ---------- */
.progbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px 0 8px; border: 0; border-radius: 999px; background: var(--card-2); color: var(--ink); cursor: pointer; font-weight: 600; font-size: 14px; }
.progbtn .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); stroke-width: 3; }
.progbtn small { font-weight: 500; font-size: 13px; color: var(--ink-2); }
.t3foot { align-items: center; }

#fx { position: fixed; inset: 0; z-index: 70; pointer-events: none; overflow: hidden; }
.coin {
  position: absolute; top: -40px; width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF0C2 0 18%, #F0C75E 45%, #C8942E 100%);
  box-shadow: inset 0 0 0 3px #E9BB4B, inset 0 0 0 5px rgba(122, 78, 10, .35), 0 3px 8px rgba(0, 0, 0, .35);
  animation: coinfall 2s cubic-bezier(.3, .1, .6, 1) forwards;
}
@keyframes coinfall { 0% { transform: translateY(0) rotateY(0); opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(112vh) rotateY(900deg); opacity: 0; } }

#medal {
  position: fixed; left: 50%; top: 42%; z-index: 71; width: min(78vw, 300px); text-align: center; padding: 22px 18px 18px;
  background: var(--card); color: var(--ink); border: 2px solid var(--gold); border-radius: 24px; box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.6);
}
#medal.show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); animation: medalpop .55s cubic-bezier(.2, 1.4, .4, 1); }
#medal h2 { margin: 6px 0 2px; font-family: var(--font-head); font-size: 28px; line-height: 1.1; }
#medal p { margin: 0; font-size: 15px; color: var(--ink-2); }
@keyframes medalpop { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }

.pg-top { display: flex; gap: 8px; margin: 0 0 12px; }
.pg-top > div { flex: 1; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 6px; }
.pg-big { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 600; line-height: 1; color: var(--gold); }
.pg-top small { font-size: 12px; color: var(--ink-2); letter-spacing: .06em; text-transform: uppercase; }
.pg-next { margin: 0 0 6px; font-weight: 600; }
.pg-bar { height: 10px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.pg-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #C8942E, #F0C75E); }
.pg-h { margin: 18px 0 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pg-week { display: flex; justify-content: space-between; gap: 6px; }
.wd { flex: 1; display: grid; justify-items: center; gap: 4px; font-size: 12px; color: var(--ink-2); }
.wd i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-style: normal; font-weight: 700; color: var(--gold-ink); }
.wd.some i { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 35%, transparent); }
.wd.all i { border-color: var(--gold); background: var(--gold); }
.wd.today { color: var(--ink); font-weight: 700; }
.pg-owls { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.owl { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; opacity: .55; }
.owl .dot { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%; border: 2px dashed var(--line); display: grid; place-items: center; font-weight: 700; color: var(--gold-ink); }
.owl b { font-size: 14px; line-height: 1.2; }
.owl small { color: var(--ink-2); font-size: 12px; }
.owl.got { opacity: 1; border-color: var(--gold); }
.owl.got .dot { border: 0; background: var(--gold); }
.pg-note { font-size: 13px; margin: 16px 0 8px; }
@media (prefers-reduced-motion: reduce) {
  .coin { display: none; }
  #medal.show { animation: none; }
}
.pg-big, .big .n, .t3count { font-variant-numeric: lining-nums; }
.hero blockquote.long { font-size: 23px; line-height: 1.2; }
#medal .ask { margin: 12px 0 8px; font-weight: 600; color: var(--ink); font-size: 16px; line-height: 1.3; }
#medal .row { justify-content: center; gap: 8px; }
#medal .row > .btn { flex: 1 1 0; }

.pg-sub { margin: 8px 0 0; font-size: 14px; }
.pg-hist { list-style: none; margin: 0; padding: 0; }
.pg-hist li { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.pg-hist li:first-child { border-top: 0; }
.pg-hist b { color: var(--gold); font-weight: 600; }

.owl .dot img { width: 24px; height: 24px; }
.owl .dot img.lock { opacity: .25; filter: invert(1); }

/* sage for the celebration card and the progress sheet */
#medal { background: #647668; color: #FFFBF2; border-color: #F0CFA0; }
#medal h2 { color: #FFFBF2; }
#medal p { color: rgba(245, 239, 227, .86); }
#medal .ask { color: #F5EFE3; }
#medal .btn:not(.btn--gold) { background: transparent; border-color: rgba(245, 239, 227, .7); color: #F5EFE3; }
#medal.grand { width: min(88vw, 340px); border-color: #F5D87A; background: linear-gradient(180deg, #7A8D7D, #647668); box-shadow: 0 0 0 3px rgba(245, 216, 122, .35), 0 0 70px rgba(245, 216, 122, .5), 0 18px 50px rgba(0, 0, 0, .55); }
#medal.grand h2 { color: #F7E2A8; font-size: 32px; letter-spacing: .02em; }
.spark { transform-box: fill-box; transform-origin: center; animation: twinkle 1s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .15; transform: scale(.4); } to { opacity: 1; transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .spark { animation: none; } }
dialog#progress { background: #647668; --card: #586A5B; --card-2: #738574; --line: rgba(245, 239, 227, .28); --ink: #FFFBF2; --ink-2: #E8EEE2; --gold: #F0CFA0; }
dialog#progress .btn { border-color: rgba(245, 239, 227, .7); color: #F5EFE3; }
.owl.plat.got { border-color: #CFE4F5; box-shadow: 0 0 12px rgba(207, 228, 245, .35); }

/* more colour: stripes on More lists, coloured rows on Values and story, coloured contact cards */
.tone-a a, .tone-a .li-off { border-left: 6px solid var(--ta); }
.tone-b a, .tone-b .li-off { border-left: 6px solid var(--tb); }
.tone-c a, .tone-c .li-off { border-left: 6px solid var(--tc); }
.tone-d a, .tone-d .li-off { border-left: 6px solid var(--td); }
.list--rows { background: none; border: 0; border-radius: 0; overflow: visible; }
.list--rows li { margin: 0 0 10px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.list--rows li + li { border-top: 0; }
.list--rows a, .list--rows .li-off { color: inherit; min-height: 68px; }
.list--rows small { color: color-mix(in srgb, currentColor 78%, transparent); }
.r-a { background: var(--ta); color: var(--tat); }
.r-b { background: var(--tb); color: var(--tbt); }
.r-c { background: var(--tc); color: var(--tct); }
.r-d { background: var(--td); color: var(--tdt); }
.r-n { background: var(--card); color: var(--ink); border: 1px solid var(--gold); }
.card--a .role, .card--b .role, .card--c .role, .card--d .role,
.card--a .help, .card--b .help, .card--c .help, .card--d .help { color: color-mix(in srgb, currentColor 82%, transparent); }
.card--a .act, .card--b .act, .card--c .act, .card--d .act { border-color: currentColor; color: inherit; }
.card--a .act--fill { background: #1B2540; border-color: #1B2540; color: #F7EFDD; }
.card--b .act--fill, .card--c .act--fill, .card--d .act--fill { background: #F7EFDD; border-color: #F7EFDD; color: #1B2540; }
.card--b a.act.act--fill, .card--c a.act.act--fill, .card--d a.act.act--fill { background: #F7EFDD; border-color: #F7EFDD; color: #1B2540; }
.card--a a.act.act--fill { background: #1B2540; border-color: #1B2540; color: #F7EFDD; }
.card--a a.act:not(.act--fill), .card--b a.act:not(.act--fill), .card--c a.act:not(.act--fill), .card--d a.act:not(.act--fill) { color: inherit; }
.list--rows li a .ic, .list--rows li .li-off .ic { color: inherit; stroke: currentColor; }

.card--paper .eyebrow { color: #8C5A23; }
.card--paper .bar-w { background: #EBE3D2; }

/* More: whole groups in a solid colour instead of navy */
.tone-a, .tone-b, .tone-c, .tone-d { border: 0; box-shadow: var(--shadow); }
.tone-a { background: var(--ta); color: var(--tat); } .tone-b { background: var(--tb); color: var(--tbt); }
.tone-c { background: var(--tc); color: var(--tct); } .tone-d { background: var(--td); color: var(--tdt); }
.tone-a a, .tone-b a, .tone-c a, .tone-d a, .tone-a .li-off, .tone-b .li-off, .tone-c .li-off, .tone-d .li-off { border-left: 0; color: inherit; }
.tone-a li + li, .tone-b li + li, .tone-c li + li, .tone-d li + li { border-top-color: color-mix(in srgb, currentColor 25%, transparent); }
.tone-a small, .tone-b small, .tone-c small, .tone-d small { color: color-mix(in srgb, currentColor 78%, transparent); }
.tone-a .ic, .tone-b .ic, .tone-c .ic, .tone-d .ic { color: inherit; }
.tone-a .li-off, .tone-b .li-off, .tone-c .li-off, .tone-d .li-off { opacity: .8; }

/* each page gets a soft glow of its own colour behind it, so no screen is one flat navy */
body[data-view="book"], body[data-view="contacts"] { --glow: var(--ta); }
body[data-view="ldr"], body[data-view="more"] { --glow: var(--tc); }
body[data-view="ora"] { --glow: var(--td); }
body[data-view="pi"], body[data-view="story"] { --glow: var(--tb); }
body[data-view]:not([data-view="home"]) { background: linear-gradient(180deg, color-mix(in srgb, var(--glow) 30%, var(--page)) 0, var(--page) 520px) no-repeat, var(--page); }

/* slide-out menu */
.menubtn { margin-right: -2px; }
#drawerBack { position: fixed; inset: 0; z-index: 80; background: rgba(8, 11, 22, .6); }
#drawerBack[hidden] { display: none; }
#drawer {
  position: fixed; z-index: 81; top: 0; bottom: 0; left: 0; width: min(86vw, 330px); overflow-y: auto;
  background: var(--hd); color: var(--hdt); border-right: 2px solid var(--gold); box-shadow: 8px 0 40px rgba(0, 0, 0, .5);
  transform: translateX(-104%); transition: transform .28s ease; visibility: hidden;
  padding: calc(10px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom));
}
#drawer.open { transform: none; visibility: visible; }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.drawer-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.drawer-brand img { width: 32px; height: 32px; }
.drawer-brand b { font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 1.1; }
.drawer-brand small { display: block; font: 600 11px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--hero-accent); }
.drawer-nav h3 { margin: 18px 0 6px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.drawer-nav a, .drawer-nav .off { display: block; padding: 11px 14px; margin: 0 0 6px; border-radius: 12px; min-height: 48px; color: inherit; text-decoration: none; font-weight: 600; background: color-mix(in srgb, var(--hdt) 8%, transparent); }
.drawer-nav small { display: block; font-weight: 400; font-size: 12.5px; opacity: .8; }
.drawer-nav .off { opacity: .55; font-weight: 500; }
.drawer-nav a.dt-a { background: var(--ta); color: var(--tat); } .drawer-nav a.dt-b { background: var(--tb); color: var(--tbt); }
.drawer-nav a.dt-c { background: var(--tc); color: var(--tct); } .drawer-nav a.dt-d { background: var(--td); color: var(--tdt); }
.drawer-nav a.dt-n { background: color-mix(in srgb, var(--hdt) 14%, transparent); }
@media (prefers-reduced-motion: reduce) { #drawer { transition: none; } }
@media (min-width: 900px) { .menubtn, #drawer, #drawerBack { display: none !important; } }
@media (max-width: 420px) { .top { gap: 8px; padding-left: 10px; padding-right: 10px; } .brand { gap: 8px; } .brand img { width: 28px; height: 28px; } .brand b { font-size: 17px; } }

.scorecard summary { padding: 6px 0; align-items: flex-start; }
.sc-sum { display: block; }
.sc-sum .eyebrow { display: block; margin-bottom: 2px; }
.sc-sum b { display: block; font-family: var(--font-head); font-size: 24px; font-weight: 600; line-height: 1.15; }
.sc-weights { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.scorecard .acc-b { padding-top: 10px; }

.act--soon { flex: 1; min-height: 48px; display: grid; place-items: center; border: 1.5px dashed currentColor; border-radius: 12px; font-size: 14px; opacity: .85; }

.pick-hint { margin: 0 0 10px; font-size: 14px; }
.opt .acc { border-top: 0; }
.opt .acc summary { min-height: 76px; padding: 6px 0; }
.opt-sum { display: block; }
.opt-sum .eyebrow { display: block; margin: 0 0 2px; }
.opt-sum b { display: block; font-family: var(--font-head); font-size: 25px; font-weight: 600; line-height: 1.12; }
.opt-sum small { display: block; margin-top: 4px; font-size: 14px; opacity: .85; }
.opt .acc-b { padding: 4px 0 6px; }
.opt .acc-b p { margin: 0 0 12px; font-size: 16px; }
.opt .acc-b .qr { margin-top: 12px; }

/* Book: one bar, the options open only when it is pressed */
.bookall { margin: 0 0 14px; }
.bookall > summary { list-style: none; cursor: pointer; }
.bookall > summary::-webkit-details-marker { display: none; }
.bookbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 96px; padding: 18px 20px; border-radius: var(--radius); background: var(--ta); color: var(--tat); box-shadow: var(--shadow); }
.bookbar b { display: block; font-family: var(--font-head); font-size: 32px; font-weight: 600; line-height: 1.05; }
.bookbar small { display: block; margin-top: 4px; font-size: 14px; opacity: .8; }
.bookbar::after { content: ''; width: 12px; height: 12px; flex: none; margin-right: 6px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.bookall[open] > .bookbar::after { transform: rotate(-135deg); }
.bookall[open] > .bookbar { margin-bottom: 14px; }
.bookall[open] > .bookbar small { visibility: hidden; }
.bookopts .meta { margin: 0 0 6px; font-weight: 600; font-size: 14px; opacity: .85; }
.bookopts .opt .st { margin-bottom: 2px; }
html { min-height: 100%; }
body { min-height: 100vh; min-height: 100dvh; }

/* closed Book bar: a fuller welcome */
.bb-main { display: block; }
.bookbar { align-items: flex-start; min-height: 0; padding: 22px 20px 20px; }
.bookbar::after { margin-top: 10px; }
.bb-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.bb-pills i { font-style: normal; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(27, 37, 64, .12); }
.bb-go { display: inline-block; margin-top: 16px; padding: 11px 18px; border-radius: 999px; background: #1B2540; color: #F7EFDD; font-weight: 600; font-size: 15px; }
.bookall[open] > .bookbar .bb-pills, .bookall[open] > .bookbar .bb-go { display: none; }
.bookall[open] > .bookbar small { visibility: visible; }
.bookall[open] > .bookbar { align-items: center; padding: 16px 20px; }
.bookall[open] > .bookbar::after { margin-top: 0; }
.btn--pulse { margin-top: 8px; background: transparent !important; border: 1.5px solid currentColor !important; color: inherit !important; box-shadow: none !important; }
.pulse-note { margin: 6px 0 0 !important; font-size: 13px !important; opacity: .85; text-align: center; }
.btn--pulse.btn--soon { border-style: dashed !important; font-weight: 500; }

/* the menu button says what it is */
.menubtn { width: auto; min-width: 54px; height: 50px; padding: 4px 8px 3px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; background: color-mix(in srgb, var(--gold) 16%, transparent); }
.menubtn .ic { width: 22px; height: 22px; }
.menubtn span { font: 600 11px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }

/* LDR, Core values and 7 Forces pages */
.sec-sum { display: block; }
.sec-sum .eyebrow { display: block; margin: 0 0 2px; }
.sec-sum b { display: block; font-family: var(--font-head); font-size: 23px; font-weight: 600; line-height: 1.15; }
.sec-sum small { display: block; margin-top: 3px; font-size: 13.5px; opacity: .85; }
.card .acc-b p { margin: 0 0 10px; }
.card .acc-b ul.plain { margin: 6px 0 12px; }
.mini { margin: 16px 0 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.big-quote { margin: 0; font-family: var(--font-head); font-size: 24px; line-height: 1.2; text-align: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.stats .card { margin: 0; padding: 14px 8px; text-align: center; }
.stats b { display: block; font-family: var(--font-head); font-size: 44px; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }
.stats span { font-size: 13px; opacity: .9; }
.cv-img img { width: 100%; display: block; border-radius: 12px; }
.cv .cv-num { margin: 0 0 2px; font-family: var(--font-head); font-size: 46px; line-height: 1; opacity: .5; font-variant-numeric: lining-nums; }
.cv .cv-line { font-weight: 600; font-size: 17px; }
.cv-no { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cv-no li { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, currentColor 16%, transparent); }
.lvl .lvl-n { margin: 0; font-family: var(--font-head); font-size: 38px; line-height: 1; font-variant-numeric: lining-nums; }
.lvl .lvl-roles { margin: 6px 0 8px; font-weight: 600; font-size: 15px; }
.rdl { list-style: none; margin: 12px 0 0; padding: 0; }
.rdl li { padding: 10px 0; border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.rdl b { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.rdl span { font-size: 15px; opacity: .92; }
.score { list-style: none; margin: 10px 0; padding: 0; }
.score li { padding: 12px 14px; margin: 0 0 8px; border-radius: 12px; border-left: 6px solid; background: color-mix(in srgb, currentColor 12%, transparent); }
.score .s-g { border-left-color: #7BD389; } .score .s-a { border-left-color: #F2C14E; } .score .s-r { border-left-color: #F07070; }
.score b { display: block; }
.score span { font-size: 15px; }
body[data-view="ldr-model"], body[data-view="ldr-levels"], body[data-view="ldr-faq"], body[data-view="values"] { --glow: var(--tc); }
body[data-view="forces"] { --glow: var(--tb); }

/* ORA runs down the page: O, R, A beside their sections */
.ora-f { display: grid; grid-template-columns: 46px 1fr; gap: 10px; margin: 0 0 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.ora-l { font-family: var(--font-head); font-size: 64px; font-weight: 600; line-height: .85; color: #B88A3C; }
.ora-b { min-width: 0; }
.ora-b .field:last-child { margin-bottom: 8px; }
.ora-b label { font-size: 16px; }

/* Core values and 7 Forces: whole page in the logo sage, picture first, one tab each */
body[data-view="values"] { background: #657165; --page: #657165; }
body[data-view="forces"] { background: #6D7863; --page: #6D7863; }
.view--sage .sage-pic { display: block; width: 100%; height: auto; border-radius: 14px; margin: 0 0 12px; }
.view--sage .sage-pic-link { display: block; }
.sage-intro { margin: 0 0 12px; color: #FFFBF2; font-size: 16px; text-align: center; }
.sage-tab {
  --line: rgba(255, 251, 242, .3); --ink: #FFFBF2; --ink-2: #EEF2E8; --accent: #F0CFA0;
  margin: 0 0 10px; padding: 8px 18px; border-radius: 16px; color: #FFFBF2;
  background: rgba(28, 40, 32, .32); border: 1.5px solid rgba(240, 207, 160, .6);
}
.sage-tab .acc { border-top: 0; }
.sage-tab .acc summary { min-height: 68px; }
.sage-tab .acc-b { color: #FFFBF2; }
.sage-tab .eyebrow { color: #F0CFA0; }
.sage-tab .cv-no li { background: rgba(255, 251, 242, .16); }
.sage-dl { margin: 6px 0 14px; }
.sage-dl .btn { background: #FFFBF2; border-color: #FFFBF2; color: #2C3A2F; }

/* ORA: a blue frame so the white and gold stand out */
body[data-view="ora"] { --glow: #3E58B4; }
#ora { border: 9px solid #3B54A8; box-shadow: 0 0 0 2px #F0CFA0, 0 12px 34px rgba(8, 12, 32, .55); }

/* Core values and 7 Forces stay pure sage (no coloured glow behind the picture) */
body[data-view="values"]:not([data-view="home"]) { background: #657165; }
body[data-view="forces"]:not([data-view="home"]) { background: #6D7863; }

/* the tab you open turns gold, with dark green writing */
.sage-tab.is-open { background: #F0CFA0; border-color: #F0CFA0; color: #1F2E22; --line: rgba(31, 46, 34, .25); --accent: #1F2E22; --ink: #1F2E22; box-shadow: 0 6px 18px rgba(20, 30, 22, .28); }
.sage-tab.is-open .acc-b, .sage-tab.is-open .acc-b p, .sage-tab.is-open .acc-b b { color: #1F2E22; }
.sage-tab.is-open .eyebrow { color: #3A4A3C; }
.sage-tab.is-open .cv-no li { background: rgba(31, 46, 34, .12); color: #1F2E22; }
.sage-tab.is-open summary::after { border-color: #1F2E22; }

.see-all { text-align: center; margin: 4px 0 10px; font-size: 15px; }
.see-all a { color: var(--gold); font-weight: 600; }

/* Book: compact cards. Two everyday ones, two slim rows. */
.bookopts .opt--main { padding: 14px 16px 12px; margin-bottom: 10px; }
.bookopts .opt--main .st { font-size: 22px; line-height: 1.12; margin: 0 0 2px; }
.bookopts .opt--main .meta { margin: 0 0 4px; font-size: 13px; }
.bookopts .opt--main .muted { margin: 0 0 10px; font-size: 14.5px; line-height: 1.4; }
.pair { display: flex; gap: 8px; }
.pair .btn { min-height: 48px; margin: 0; padding: 8px 12px; font-size: 15px; width: auto; }
.pair .btn--book { flex: 1 1 0; }
.pair .btn--pulse { flex: 2 1 0; margin: 0; }
.bookopts .opt--main .pulse-note { margin: 6px 0 0 !important; font-size: 12.5px !important; text-align: left; }
.opt--slim { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 10px; }
.opt--slim .slim-text { min-width: 0; }
.opt--slim .st { font-size: 19px; line-height: 1.12; margin: 0; }
.opt--slim .meta { margin: 2px 0 0; font-size: 12.5px; font-weight: 500; }
.opt--slim .eyebrow { margin: 0 0 1px; font-size: 11px; }
.opt--slim .btn { flex: none; width: auto; min-width: 92px; min-height: 48px; margin: 0; padding: 8px 16px; }

/* Book: white bar, gold Performance Strategy Meetings, sage Leadership and Performance Call with a gold edge and white writing */
.bookbar { background: #FFFFFF; color: #1B2540; border: 2px solid #D4B484; }
.bookbar b { font-weight: 700; color: #1B2540; }
.bookbar small { opacity: 1; color: #3A4468; font-weight: 600; }
.bookopts .opt--lp { border: 2px solid #D4B484; color: #FFFFFF; }
.bookopts .opt--lp .st { color: #FFFFFF; }
.bookopts .opt--lp .meta, .bookopts .opt--lp .muted, .bookopts .opt--lp .pulse-note { color: #FFFFFF; opacity: 1; }
.bookopts .opt--lp .btn--pulse { border-color: #D4B484 !important; color: #FFFFFF !important; }

/* contact cards: gold rim all round, stronger text */
.person { border: 2px solid var(--gold); }
.person.card--a { border-color: #A87B2A; }
.person.card--a .role, .person.card--b .role, .person.card--c .role,
.person.card--a .help, .person.card--b .help, .person.card--c .help { color: inherit; font-weight: 500; }
.person .role { font-size: 15px; }
.person .help { font-size: 14px; line-height: 1.4; }

/* contacts header: white with a gold rim so it stands apart from the cards */
#view-contacts .vhead { background: #FFFFFF; color: #1B2540; border: 2px solid var(--gold); }
#view-contacts .vhead .k { color: #6B5420; font-weight: 700; }
#view-contacts .vhead .vt { color: #1B2540; }
#view-contacts .vhead .lead { color: #1B2540; font-weight: 500; }

/* contact cards: scope tags */
.ptags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ptags li { font-size: 13px; font-weight: 600; line-height: 1.2; padding: 6px 11px; border-radius: 999px; border: 1.5px solid currentColor; background: rgba(255,255,255,.14); }
.person.card--a .ptags li { background: rgba(58,38,6,.08); }
/* gold card: lighter gold tags so they stand out from the card */
.person.card--a .ptags li { background: #F8EDCF; border-color: #A87B2A; color: #3A2606; }

/* ORA reason chips */
.why-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.chipbtn { font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--gold); background: transparent; color: inherit; cursor: pointer; }
.chipbtn:active { background: var(--gold); color: var(--gold-ink); }

/* ORA outcome picker: dot shows an outcome that already has something in it */
.seg button.has::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--gold); vertical-align: middle; }

/* ORA idea prompts */
.ideas-help { margin: 0 0 8px; }
.ideas-help summary { cursor: pointer; font-size: 14px; font-weight: 600; padding: 6px 0; }
.idea-chips { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 4px; }
.idea-chips .chipbtn { text-align: left; border-radius: 12px; }

/* State page */
.st-card { background: #FFFFFF; color: #1B2540; border: 2px solid var(--gold); --ink: #1B2540; --ink-2: #566180; --accent: #1F2B52; --on-accent: #F7EFDD; --line: #E2D6BC; --field: #FFFFFF; }
.st-title-l { font-size: 14px; font-weight: 600; display: block; margin: 0 0 4px; }
.st-card input[type=text] { width: 100%; }
.st-title { font-family: var(--font-head); font-size: 30px; line-height: 1.1; margin: 14px 0 0; text-align: center; color: #1B2540; }
.tri { position: relative; width: 100%; max-width: 360px; margin: 6px auto 0; aspect-ratio: 340 / 330; }
.tri-svg { position: absolute; left: 0; top: 0; width: 100%; height: auto; }
.tri-shape { fill: #FFF7E3; stroke: none; }
.tri-edge { stroke: #B88A2E; stroke-width: 5; stroke-linecap: round; }
.tri-edge.on { stroke: #7A1F3D; stroke-width: 8; }
.tri-lab { position: absolute; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.15; padding: 8px 12px; border-radius: 999px; border: 2px solid #B88A2E; background: #FFFFFF; color: #1B2540; cursor: pointer; max-width: 46%; }
.tri-lab[aria-pressed="true"] { background: #1B2540; color: #F7EFDD; border-color: #1B2540; }
.tri-lab--l { left: 0; top: 24%; text-align: center; }
.tri-lab--r { right: 0; top: 24%; text-align: center; }
.tri-lab--b { left: 50%; bottom: 0; transform: translateX(-50%); }
.tri-mid { position: absolute; left: 50%; top: 59%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid #1B2540; background: #F0E3C4; color: #1B2540; overflow: hidden; padding: 0; cursor: pointer; display: grid; place-items: center; font: inherit; font-size: 13px; font-weight: 700; }
.tri-mid video, .tri-mid canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tri-mid video { transform: scaleX(-1); }
.tri-mid span { position: relative; padding: 6px; text-align: center; line-height: 1.2; }
.st-hint { text-align: center; font-size: 14px; color: #566180; margin: 10px 0 0; }
.st-info { margin: 12px 0 0; padding: 14px; border-radius: 14px; background: #1B2540; color: #F7EFDD; }
.st-info h3 { margin: 0 0 6px; font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.st-info p { margin: 0; font-size: 15px; line-height: 1.5; }
.st-priv { margin: 12px 0 0; font-size: 13px; }
.tri { margin-bottom: 44px; }
.st-hint { margin-top: -30px; }
.st-info ul { margin: 10px 0 0; padding-left: 18px; font-size: 15px; line-height: 1.45; }
.st-info li { margin: 0 0 5px; }
/* State: bigger triangle and selfie circle, use more of the screen */
.st-card { padding-left: 8px; padding-right: 8px; }
.st-card > .eyebrow, .st-card > .field, .st-card > .st-priv, .st-card > .st-hint { padding-left: 8px; padding-right: 8px; }
.st-info { margin-left: 8px; margin-right: 8px; }
.tri { max-width: 560px; margin-bottom: 40px; }
.tri-mid { width: 44%; top: 56%; font-size: 15px; }
.tri-lab { font-size: 14px; }
/* State page in NightOwl colours: sage, gold and white */
.st-card { background: #647668; color: #FFFFFF; border: 2px solid #D4B484; --ink: #FFFFFF; --ink-2: #F1EBDD; --line: rgba(255,255,255,.35); }
.st-card .eyebrow { color: #F0CFA0; }
.st-card .field label { color: #FFFFFF; }
.st-card input[type=text] { background: #FFFFFF; color: #1B2540; border-color: #D4B484; }
.st-title { color: #FFFFFF; }
.tri-shape { fill: #FFFFFF; }
.tri-edge { stroke: #D4B484; }
.tri-edge.on { stroke: #3E5444; stroke-width: 8; }
.tri-lab { background: #FFFFFF; color: #2F4235; border-color: #D4B484; }
.tri-lab[aria-pressed="true"] { background: #D4B484; color: #2A1D08; border-color: #D4B484; }
.tri-mid { background: #F4F1E6; border-color: #647668; color: #2F4235; }
.st-hint { color: #F1EBDD; }
.st-info { background: #FFFFFF; color: #1B2540; border: 2px solid #D4B484; }
.st-info h3 { color: #3E5444; }
.st-priv { color: #F1EBDD; }

/* State triangle: gold with a slow shimmer */
.tri-shape { fill: url(#triGold); }
.tri-shim { fill: url(#triShim); pointer-events: none; }
.tri-edge { stroke: #A87B2A; }
.tri-mid { box-shadow: 0 0 0 4px rgba(255,255,255,.55); }
@media (prefers-reduced-motion: reduce) { .tri-shim { display: none; } }
.tri-edge { stroke: #8A5E08; }
.tri-shape { filter: drop-shadow(0 0 6px rgba(255,224,138,.55)); }

/* State: full-screen camera */
.st-cam { position: fixed; inset: 0; z-index: 200; background: #000; color: #fff; overflow: hidden; }
.st-cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.st-cam-ring { position: absolute; left: 50%; top: 40%; width: min(82vw, 340px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 5px solid #E8B84A; box-shadow: 0 0 0 100vmax rgba(0,0,0,.45), 0 0 26px rgba(232,184,74,.9); pointer-events: none; }
.st-cam-top { position: absolute; left: 0; right: 0; top: 0; padding: 22px 56px 40px; text-align: center; background: linear-gradient(rgba(0,0,0,.7), transparent); }
.st-cam-title { margin: 0; font-family: var(--font-head); font-size: 28px; line-height: 1.1; }
.st-cam-sub { margin: 6px 0 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #F0CFA0; }
.st-cam-x { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #F0CFA0; background: rgba(0,0,0,.4); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.st-cam-count { position: absolute; left: 0; right: 0; top: 40%; transform: translateY(-50%); margin: 0; text-align: center; font-family: var(--font-head); font-size: 140px; line-height: 1; color: #FFE08A; text-shadow: 0 2px 18px rgba(0,0,0,.7); pointer-events: none; }
.st-cam-help { position: absolute; left: 0; right: 0; bottom: 130px; margin: 0; text-align: center; padding: 0 24px; font-size: 15px; text-shadow: 0 1px 8px #000; }
.st-cam-btn { position: absolute; left: 50%; bottom: 40px; width: 76px; height: 76px; margin-left: -38px; border-radius: 50%; background: #fff; border: 5px solid #E8B84A; box-shadow: 0 0 0 4px rgba(0,0,0,.45); cursor: pointer; }
.tri-mid.pop { animation: stPop .7s cubic-bezier(.2,.9,.3,1.2); }
@keyframes stPop { from { transform: translate(-50%, -50%) scale(1.7); opacity: .2; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tri-mid.pop { animation: none; } }

/* State: one-screen layout */
.tri-n { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: #647668; color: #fff; font-size: 12px; font-weight: 800; vertical-align: middle; }
.tri-lab[aria-pressed] , .tri-lab { cursor: default; }
.tri-mid #stMidTxt { display: grid; justify-items: center; gap: 4px; }
.tri-mid #stMidTxt .tri-n { margin: 0; }
.st-lists { display: grid; gap: 10px; margin: 6px 8px 0; }
.st-lists > div { background: #FFFFFF; color: #1B2540; border: 2px solid #D4B484; border-radius: 14px; padding: 10px 14px; }
.st-lists h4 { margin: 0 0 4px; font-family: var(--font-head); font-size: 20px; font-weight: 600; color: #3E5444; }
.st-lists ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.45; }
.st-entry .st-row { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.st-entry h3 { margin: 0 0 4px; font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.st-ins { display: grid; gap: 8px; }
.st-ins input { width: 100%; }
.st-ex .st-title--ex { color: #1B2540; }
.st-ex .tri { background: #647668; border-radius: 16px; padding: 4px; max-width: 420px; }
.tri-mid--ex { display: block; }
.tri-mid--ex img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-lists--ex { margin: 12px 0 0; }
/* State fixes: hidden label really hides; entry boxes styled like the other fields */
#stMidTxt[hidden] { display: none; }
.st-ins input[type="text"] { min-height: 48px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--ink); font: 400 17px var(--font-body); }
.st-entry .hint { font-size: 14px; color: var(--ink-2); margin: 0 0 8px; }

.st-ex-tabs { display: flex; gap: 8px; margin: 0 0 12px; }
.chipbtn.on { background: var(--gold); color: var(--gold-ink); }
.st-ex[hidden] { display: none; }
/* State triangle on narrow phones: keep labels clear of the selfie circle */
.tri-lab { font-size: 13px; padding: 6px 10px; max-width: 40%; }
.tri-lab--l, .tri-lab--r { top: 17%; }
.tri-mid { width: 42%; top: 59%; }
/* camera countdown sits below the ring so it never covers the face */
.st-cam-count { top: calc(40% + min(41vw, 170px) + 62px); font-size: 96px; }

/* ---------- desktop (900px and up): calm app column, short menu ---------- */
@media (min-width: 900px) {
  /* short menu: only the five main items, everything else lives in More */
  .sidelinks { display: none; }
  .tabs { justify-content: flex-start; }

  /* every page except Home and LDR sits in a calm, centred app column */
  .wrap { max-width: 580px; }
  .views:has(#view-home:not([hidden])) .wrap { max-width: 1040px; }
  .views:has(#view-ldr:not([hidden])) .wrap { max-width: 940px; }

  /* Home: big thought, top 3 open beside it, four large tiles */
  #view-home:not([hidden]) { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: start; }
  #view-home .hero { margin: 0; align-self: stretch; min-height: 280px; display: flex; flex-direction: column; justify-content: center; padding: 36px 38px; }
  #view-home .hero blockquote { font-size: 34px; line-height: 1.22; }
  #view-home .t3 { margin: 0; }
  #view-home .tiles { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; }
  #view-home .tile { min-height: 200px; padding: 24px; }
  #view-home .tile span:last-child { font-size: 22px; }

  /* LDR: a tidy two-column grid of short cards */
  #view-ldr:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
  #view-ldr > .vhead, #view-ldr > .eyebrow { grid-column: 1 / -1; }
  #view-ldr > .eyebrow { margin: 4px 0 -4px; }
  #view-ldr > [data-menu="ldr"] { grid-column: 1 / -1; }
  #view-ldr > [data-menu="ldr"] .list--rows { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  #view-ldr > [data-menu="ldr"] .list--rows li { margin: 0; }
  #view-ldr > .card { margin: 0; }

  .st-cam-ring { width: min(60vh, 420px); }
}
body[data-view="state"], body[data-view="disc"] { --glow: var(--tb); }
@media (min-width: 900px) {
  #view-state .tri { max-width: 440px; }
  #view-ldr > .card--paper { align-self: start; }
}
body[data-view="support"] { --glow: var(--ta); }
.view .card .plain { margin-bottom: 8px; }
#view-support .ptags { margin-bottom: 14px; }

/* Our story and Culture */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.stats > div { background: #FFFFFF; color: #1B2540; border: 2px solid #D4B484; border-radius: 16px; padding: 12px 14px; }
.stats b { display: block; font-family: var(--font-head); font-size: 32px; line-height: 1; color: #3E5444; }
.stats span { font-size: 13px; }
.tl { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 3px solid #D4B484; }
.tl li { position: relative; margin: 0 0 16px; padding-left: 14px; }
.tl li::before { content: ''; position: absolute; left: -23px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #647668; border: 2px solid #D4B484; }
.tl-d { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8C5A23; }
.tl b { display: block; font-size: 17px; }
.tl p { margin: 2px 0 0; font-size: 15px; line-height: 1.45; }
.mem-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 10px; margin: 0 -4px 6px; }
.mem { flex: 0 0 78%; max-width: 340px; margin: 0; scroll-snap-align: start; }
.mem img { width: 100%; height: 300px; object-fit: cover; border-radius: 14px; border: 2px solid #D4B484; display: block; }
.mem figcaption { font-size: 13px; margin-top: 6px; color: var(--ink-2); }
.vid video { width: 100%; border-radius: 14px; background: #000; display: block; }
body[data-view="timeline"], body[data-view="culture"] { --glow: var(--tb); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } .mem { flex-basis: 220px; } .mem img { height: 240px; } .views:has(#view-timeline:not([hidden])) .wrap { max-width: 760px; } }

.how { margin: 8px 0 0; padding-left: 22px; }
.how li { margin: 0 0 10px; line-height: 1.45; }

/* Our story: horizontal timeline (best sideways), photos in a closed album */
.tl-card { overflow: hidden; }
.tl-hint { display: none; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #F4EAD2; color: #3A2606; font-size: 14px; font-weight: 600; }
@media (orientation: portrait) and (max-width: 700px) { .tl-hint { display: block; } }
.tlh { margin: 0 0 18px; }
.tlh h2 { margin: 0 0 8px; }
.tlr { list-style: none; margin: 0; padding: 22px 6px 10px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; position: relative; -webkit-overflow-scrolling: touch; }
.tlr::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 3px; background: #D4B484; min-width: 100%; }
.tlr li { flex: 0 0 min(250px, 72%); scroll-snap-align: start; position: relative; background: #FFF7E3; border: 2px solid #D4B484; border-radius: 14px; padding: 12px 14px; }
.tlr li::before { content: ''; position: absolute; left: 14px; top: -15px; width: 12px; height: 12px; border-radius: 50%; background: #647668; border: 2px solid #D4B484; }
.tlr .tl-d { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8C5A23; }
.tlr b { display: block; font-size: 17px; margin-top: 2px; }
.tlr p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; }
@media (orientation: landscape) and (max-height: 520px) { .tlr li { flex-basis: 260px; } }
@media (min-width: 900px) { .tlr li { flex-basis: 270px; } .tlr { cursor: grab; } }

/* memories: a pile of photos */
.pile { position: relative; width: min(100%, 300px); height: 350px; margin: 8px auto 6px; cursor: pointer; }
.pc { position: absolute; left: 50%; top: 0; width: 250px; margin: 0 0 0 -125px; padding: 10px 10px 8px; background: #FFFFFF; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.35); transform: rotate(var(--r, 0deg)); transition: transform .32s ease, opacity .32s ease; }
.pc img { display: block; width: 100%; height: 270px; object-fit: cover; object-position: 50% 30%; border-radius: 2px; }
.pc figcaption { margin-top: 8px; font-family: var(--font-head); font-size: 17px; color: #1B2540; text-align: center; line-height: 1.15; }
.pc.fly { transform: translate(120%, -10%) rotate(18deg); opacity: 0; }
.pile-hint { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 4px 0 10px; }
@media (min-width: 900px) { .pile { width: 340px; height: 390px; } .pc { width: 290px; margin-left: -145px; } .pc img { height: 310px; } }
@media (prefers-reduced-motion: reduce) { .pc { transition: none; } }

/* Core values card: big gold owl and a gold plaque */
.cv-card { align-items: center; }
.cv-owl { width: min(78%, 280px); height: auto; margin: 4px auto 6px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.25)); }
.plaque { width: 100%; max-width: 380px; margin: 6px auto 10px; padding: 18px 16px 16px; border-radius: 10px; text-align: center; color: #3A2606;
  background: linear-gradient(135deg, #F6E1B0 0%, #D9B76E 38%, #C39B5E 62%, #E8CC98 100%);
  border: 3px solid #A87B2A; box-shadow: inset 0 0 0 4px #F3DDA8, inset 0 0 0 6px #A87B2A, 0 8px 20px rgba(0,0,0,.35); }
.pl-k { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #5A3E0A; }
.pl-t { margin: 0 0 4px; font-family: var(--font-head); font-size: 34px; font-weight: 700; line-height: 1.05; color: #2A1D08; text-shadow: 0 1px 0 rgba(255,255,255,.45); }
.pl-s { margin: 0; font-size: 16px; font-weight: 600; color: #3A2606; }
.cv-card .btn { width: 100%; max-width: 380px; }
@media (max-width: 899px) { #view-culture > .cv-card { justify-content: center; } }
@media (max-width: 899px) { #view-culture > .cv-card .pl-t { font-size: 34px; } #view-culture > .cv-card .pl-s { font-size: 16px; } #view-culture > .cv-card .pl-k { font-size: 12px; } }

.cv-card .plaque .pl-t { font-family: var(--font-head); font-size: 38px; font-weight: 700; line-height: 1.05; color: #2A1D08; margin: 2px 0 6px; }
.cv-card .plaque .pl-s { font-size: 15px; }
.cv-card .cv-owl { width: min(88%, 320px); filter: brightness(1.12) saturate(1.2) drop-shadow(0 0 10px rgba(246,225,176,.35)) drop-shadow(0 4px 12px rgba(0,0,0,.25)); }

/* Who we are page: white header, new row colours, rows fill the screen on phones */
.vhead--w { background: #FFFFFF; color: #1B2540; border: 2px solid var(--gold); }
.vhead--w .k { color: #6B5420; font-weight: 700; }
.vhead--w .lead { color: #1B2540; font-weight: 500; }
.vhead--w::after { opacity: .12; }
.r-blue { background: #3E58B4; color: #FFFFFF; }
@media (max-width: 899px) {
  #view-story:not([hidden]) { display: flex; flex-direction: column; min-height: calc(100dvh - 62px - 96px - env(safe-area-inset-bottom) - 32px); }
  #view-story > [data-menu] { flex: 1 1 auto; display: flex; }
  #view-story > [data-menu] .list--rows { flex: 1; display: flex; flex-direction: column; width: 100%; }
  #view-story > [data-menu] .list--rows li { flex: 1 1 0; min-height: 78px; margin-bottom: 10px; display: flex; }
  #view-story > [data-menu] .list--rows li a { flex: 1; font-size: 22px; font-weight: 600; }
  #view-story > [data-menu] .list--rows li a small { font-size: 14px; font-weight: 400; }
}

/* Book page: three separate cards, shown straight away */
.bookall .vhead { margin-bottom: 14px; }
.bookopts .opt--main .pair { margin-top: 10px; }
.bookopts .see-all a { font-weight: 700; }
@media (max-width: 899px) { .bookopts { display: flex; flex-direction: column; } .bookopts > .opt--main { margin-bottom: 14px; padding: 18px 18px 16px; } .bookopts .opt--main .st { font-size: 26px; } .bookopts .opt--main .muted { font-size: 15px; } }
.bookall > .vhead { background: #FFFFFF; color: #1B2540; border: 2px solid var(--gold); }
.bookall > .vhead .k { color: #6B5420; font-weight: 700; }
.bookall > .vhead .lead { color: #1B2540; font-weight: 500; }

/* LDR: calm learn list */
.ldr-learn { margin: 6px 0 0; }
.ldr-learn li a small { color: var(--ink-2); }
@media (min-width: 900px) { #view-ldr:not([hidden]) { grid-template-columns: 1fr 1fr; } #view-ldr > .vhead { grid-column: 1 / -1; } }

.pg-game { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: #F4EAD2; color: #3A2606; font-size: 14px; font-weight: 600; }

.r-w { background: #FFFFFF; color: #1B2540; border: 2px solid var(--gold); }
.list--rows .r-w small { color: #566180; }
.list--rows .r-w a { color: #1B2540; }

.contactbtn { min-width: 62px; text-decoration: none; border: 1.5px solid var(--gold); margin-right: 0; margin-left: 0; }
.contactbtn span { font-size: 10.5px; }
@media (min-width: 900px) { .contactbtn { display: flex !important; } }
@media (max-width: 380px) { .contactbtn { min-width: 56px; } .contactbtn span { font-size: 10px; letter-spacing: .03em; } }

/* Home: This week prompt */
.thisweek { margin: 0 0 14px; background: linear-gradient(135deg, #F7F9FB 0%, #C8CED8 30%, #EEF1F5 52%, #AEB6C2 78%, #E4E8EE 100%); color: #1B2540; border: 2px solid #8E98A6; box-shadow: inset 0 1px 0 #FFFFFF, 0 8px 20px rgba(0,0,0,.35); --ink: #1B2540; --ink-2: #3C4658; }
.thisweek .eyebrow { color: #3C4658; }
.thisweek .btn { background: #1B2540; border-color: #1B2540; color: #F7EFDD; }
.thisweek .st { margin: 2px 0 6px; font-size: 26px; color: #1B2540; }
.thisweek p { margin: 0 0 12px; font-size: 16px; line-height: 1.45; }
.thisweek .btn { width: 100%; }
@media (min-width: 900px) { #view-home .thisweek { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center; } #view-home .thisweek .eyebrow, #view-home .thisweek .st, #view-home .thisweek p { grid-column: 1; } #view-home .thisweek .btn { grid-column: 2; grid-row: 1 / span 3; width: auto; min-width: 220px; } }

/* Book page: each meeting title sits on a white header band, the rest of the card stays gold */
.bookopts > .opt--main { padding: 0 !important; overflow: hidden; }
.bookopts > .opt--main > .st { margin: 0 !important; padding: 14px 18px 12px; background: #FFFFFF; color: #1B2540; border-bottom: 3px solid #A87B2A; font-size: 26px; line-height: 1.12; }
.bookopts > .opt--main > :not(.st) { margin-left: 18px; margin-right: 18px; }
.bookopts > .opt--main > .meta { margin-top: 12px; }
.bookopts > .opt--main > .pair { margin-top: 10px; }
.bookopts > .opt--main > :last-child { margin-bottom: 16px; }
@media (max-width: 899px) { .bookopts > .opt--main { margin-bottom: 14px; } .bookopts > .opt--main > .st { font-size: 25px; } }
.bookopts > .opt--main > .pulse-note { margin: 8px 18px 16px !important; }
.bookopts > .opt--main > .pair { margin: 10px 18px 0 !important; }
.bookopts > .opt--main > .pair:last-child { margin-bottom: 18px !important; }

/* State: the patterns sit around the triangle as chips (left, right, underneath) so they are in the screenshot */
.tri-items { list-style: none; margin: 0; padding: 0; display: flex; gap: 5px; }
.tri-items li { background: rgba(255,255,255,.96); color: #1B2540; border: 1.5px solid #A87B2A; border-radius: 10px; padding: 3px 8px; font-size: 12px; font-weight: 600; line-height: 1.25; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.tri-items--l, .tri-items--r { position: absolute; top: 34%; width: 27%; flex-direction: column; z-index: 3; }
.tri-items--l { left: 0; align-items: flex-start; }
.tri-items--r { right: 0; align-items: flex-end; text-align: right; }
.tri-items--b { flex-wrap: wrap; justify-content: center; margin: 4px 8px 12px; }
.tri-items--b li { font-size: 13px; padding: 4px 10px; }
.tri-items:empty { display: none; }
#view-state .tri { margin-bottom: 8px; }
.st-ex .tri { margin-bottom: 8px; }
.st-ex .tri-items--b { margin-top: 6px; }
.st-ex .tri-items li { font-size: 11.5px; }
@media (min-width: 900px) { .tri-items li { font-size: 13px; } .tri-items--l, .tri-items--r { width: 29%; } }

.t3hint { font-size: 14px; line-height: 1.4; }

.thisweek .tw-note { white-space: normal; }
/* Film-strip edge for the skit challenge week (THISWEEK item with c: 'tw-film') */
.thisweek.tw-film { position: relative; overflow: hidden; border-color: #1B2540; padding-top: 34px; padding-bottom: 34px; }
.thisweek.tw-film::before, .thisweek.tw-film::after { content: ""; position: absolute; left: 0; right: 0; height: 22px; background-color: #1B2540; background-image: repeating-linear-gradient(90deg, transparent 0 8px, #EEF1F5 8px 20px, transparent 20px 28px); background-size: 28px 10px; background-repeat: repeat-x; background-position: 4px center; }
.thisweek.tw-film::before { top: 0; }
.thisweek.tw-film::after { bottom: 0; }
@media (min-width: 900px) { .thisweek .tw-note { display: block; margin-top: 2px; } }
/* State chips: a loose, slightly tilted stack, like a pile of notes */
.tri-items--l li:nth-child(odd), .tri-items--r li:nth-child(even) { transform: rotate(-1.8deg); }
.tri-items--l li:nth-child(even), .tri-items--r li:nth-child(odd) { transform: rotate(1.6deg); }
.tri-items--l li + li, .tri-items--r li + li { margin-top: -2px; }
.tri-items--b li:nth-child(odd) { transform: rotate(-1.2deg); }
.tri-items--b li:nth-child(even) { transform: rotate(1.2deg); }

.t3bar small { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }

/* Team video: vertical (phone) clips stay narrow and centred */
.vid--tall video { max-width: 320px; max-height: 70vh; margin: 0 auto; }
/* Home teaser for the newest team video */
.meet { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; margin: 0 0 14px; padding: 10px; text-decoration: none; color: inherit; border: 2px solid #D4B484; }
.meet[hidden] { display: none; }
.meet img { width: 84px; height: 150px; object-fit: cover; border-radius: 10px; display: block; }
.meet-t { display: grid; gap: 6px; justify-items: start; }
.meet-t b { font-size: 18px; line-height: 1.25; }
.meet-t > span:not(.eyebrow):not(.btn) { font-size: 14px; opacity: .85; }
.meet-t .eyebrow { margin: 0; }
@media (min-width: 900px) { #view-home .meet { grid-column: 1 / -1; margin: 0; grid-template-columns: 96px 1fr; } }

/* Team videos: a tab per venue or department, with the videos listed underneath */
.tv { margin: 0 0 14px; }
.tvg { padding: 0; overflow: hidden; margin: 0 0 12px; }
.tvg summary { list-style: none; display: grid; grid-template-columns: 1fr auto 22px; gap: 10px; align-items: center; padding: 16px; cursor: pointer; }
.tvg summary::-webkit-details-marker { display: none; }
.tvg-n { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 600; line-height: 1.15; }
.tvg-c { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.28); white-space: nowrap; }
.tvg-ch { width: 22px; height: 22px; transition: transform .2s; }
.tvg[open] .tvg-ch { transform: rotate(90deg); }
.tvg-l { display: grid; gap: 10px; padding: 0 12px 12px; }
.tvr { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; text-align: left; width: 100%; padding: 10px; border: 0; border-radius: 14px; background: rgba(255,255,255,.2); color: inherit; font: inherit; cursor: pointer; }
.tvr:hover, .tvr:focus-visible { background: rgba(255,255,255,.34); }
.tvr-th { position: relative; display: block; width: 64px; height: 114px; border-radius: 10px; overflow: hidden; background: #000; }
.tvr-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tvr-pl { position: absolute; inset: 0; display: grid; place-items: center; }
.tvr-pl .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(27,37,64,.82); color: #F7EFDD; fill: #F7EFDD; stroke: #F7EFDD; }
.tvr-tx { display: grid; gap: 4px; }
.tvr-tx b { font-size: 16px; line-height: 1.25; }
.tvr-tx > span { font-size: 14px; line-height: 1.35; opacity: .9; }
.tvr-tx small { font-size: 12px; opacity: .8; letter-spacing: .02em; }
/* Full-screen player */
body.vp-open { overflow: hidden; }
.vplayer { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: rgba(10,14,28,.92); padding: 16px; }
.vplayer[hidden] { display: none; }
.vp-in { width: 100%; max-width: 380px; max-height: 100%; overflow-y: auto; position: relative; color: #F7EFDD; }
.vp-in video { width: 100%; max-height: 68vh; border-radius: 14px; background: #000; display: block; }
.vp-x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #D4B484; background: rgba(27,37,64,.85); color: #F7EFDD; display: grid; place-items: center; cursor: pointer; }
.vp-x .ic { width: 20px; height: 20px; }
.vp-g { margin: 14px 0 2px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #D4B484; }
.vp-t { margin: 0 0 6px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; line-height: 1.15; }
.vp-s { margin: 0 0 8px; font-size: 15px; line-height: 1.4; opacity: .9; }

/* Culture page: the challenge and the team videos read as one block */
.tv-lead { margin-bottom: 18px; }
.tv-h { margin: 4px 2px 10px; }
.tvr-owl { background: #647668; }
.tvr-owl img { object-fit: contain; padding: 8px; }
.how-d { margin: 0 0 12px; }
.how-d summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.how-d .how { margin: 6px 0 0; }

/* End card shown over the player the first time someone finishes a video */
.vp-box { position: relative; }
.vp-end { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 8px; padding: 20px; border-radius: 14px; background: rgba(20,26,48,.98); }
.vp-end[hidden] { display: none; }
.vp-end .vp-g { margin: 0; }
.vp-end .vp-t { margin: 0; font-size: 30px; }
.vp-end .btn { width: 100%; max-width: 280px; }
.vp-alt { background: transparent; border: 1.5px solid #D4B484; color: #F7EFDD; }
.vp-cl { color: #D4B484; }

/* Team videos strip inside the film-strip This week card */
.thisweek .tw-meet { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; margin: 16px 0 0; padding: 14px 0 0; border-top: 2px dashed rgba(27,37,64,.35); color: #1B2540; text-decoration: none; }
.thisweek .tw-meet img { width: 72px; height: 128px; object-fit: cover; border-radius: 10px; display: block; border: 2px solid #1B2540; }
.thisweek .tw-meet .meet-t { display: grid; gap: 4px; justify-items: start; }
.thisweek .tw-meet .meet-t b { font-size: 18px; line-height: 1.25; }
.thisweek .tw-meet .meet-t > span:not(.eyebrow):not(.btn) { font-size: 14px; color: #3C4658; }
.thisweek .tw-meet .btn { width: auto; min-height: 44px; padding: 8px 16px; margin-top: 4px; }
@media (min-width: 900px) { #view-home .thisweek .tw-meet { grid-column: 1 / -1; } }
@media (min-width: 900px) { #view-home .thisweek .tw-meet .btn { min-width: 0; grid-column: auto; grid-row: auto; width: auto; } }
