/* kaizenoftheday.com, local build of 17 Nov 2026. The K design: the kaizencoaching.co.nz tokens, with the measured
   contrast fixes from the Kettei and KOTD sites spec (section 4.3) and its type scale (section 4.1).
   Red is for the one action and the K. Small red text uses --red-text. Nothing is under 14 px. No motion. */
@font-face { font-family: "Literata"; src: url(/fonts/literata-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(/fonts/open-sans-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --red: #EB1C24;        /* button fill, the K, large marks; text on black only */
  --red-text: #B3141A;   /* any red text under 24 px on bone: 5.78:1 */
  --red-on-black: #FF4A50;
  --bone: #EFEAE0;
  --black: #000000;
  --card-dark: #1E1E1E;
  --text: #1A1A1A;       /* 14.52:1 on bone */
  --grey: #5C5C5C;       /* 5.58:1 on bone */
  --muted: #B9B1A3;      /* on black only: 9.88:1 */
  --rule: rgba(0,0,0,.14);
  --serif: "Literata", Georgia, serif;
  --sans: "Open Sans", system-ui, sans-serif;
  --wrap: 1140px;
  --gutter: clamp(20px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bone); color: var(--text); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 84px); }
h2 { font-size: clamp(30px, 3.6vw, 48px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }
p { margin: 0 0 18px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 46rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #000; padding: 12px 18px; z-index: 100; font-weight: 600; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
.on-black :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
.eyebrow { margin: 0 0 14px; font: 600 14px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.on-black .eyebrow { color: var(--bone); }
.text-link { color: var(--red-text); font-weight: 600; text-underline-offset: 4px; }
.on-black .text-link { color: var(--bone); }
.text-link:hover { color: #000; }
.on-black .text-link:hover { color: var(--red-on-black); }
.ext::after { content: " \2197"; font-size: .85em; }

/* buttons: the shared button system is the last block in this file */
.btn-row { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; }   /* one link per line (Gareth, review B) */

/* header: a solid bar */
.site-header { position: sticky; top: 0; z-index: 50; background: #000; color: #fff; }
.bar { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: 76px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font: 500 22px/1 var(--serif); white-space: nowrap; }
.brand img { width: auto; height: 40px; }
.primary-nav { display: flex; gap: 30px; margin-left: auto; }
.primary-nav a { color: #fff; text-decoration: none; font: 500 17px/1 var(--serif); padding: 14px 0; border-bottom: 2px solid transparent; }
.primary-nav a:hover { color: var(--red-on-black); }
.primary-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.menu-toggle { display: none; margin-left: auto; background: none; color: #fff; border: 1.5px solid rgba(255,255,255,.6); min-height: 48px; padding: 0 16px; font: 600 16px/1 var(--sans); align-items: center; gap: 10px; cursor: pointer; }
.menu-icon { display: inline-grid; gap: 5px; width: 18px; }
.menu-icon span { display: block; height: 2px; background: currentColor; }
.mobile-menu { background: #000; padding: 4px var(--gutter) 28px; }
.mobile-menu nav { display: grid; margin-bottom: 24px; }
.mobile-menu nav a { color: #fff; text-decoration: none; font: 500 24px/1.2 var(--serif); padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.mobile-menu nav a[aria-current="page"] { color: var(--red-on-black); }
.mobile-menu .btn { width: 100%; justify-content: flex-start; }

/* hero */
.hero { background: #000; color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero.no-art .hero-grid { grid-template-columns: 1fr; }
.hero-copy { max-width: 40rem; }
.hero h1 { margin-bottom: 22px; }
.lede { font: 400 clamp(20px, 1.9vw, 24px)/1.45 var(--sans); margin: 0; }
.hero .lede { color: var(--bone); }
.cover { justify-self: center; width: min(100%, 380px); background: var(--bone); padding: clamp(14px, 2vw, 26px); border-radius: 2px; }
.cover img { width: 100%; box-shadow: 0 10px 26px rgba(0,0,0,.45); }
.launch { display: inline-block; margin: 0 0 22px; padding: 8px 14px; border: 2px solid var(--red); color: #fff; font: 600 16px/1.3 var(--sans); letter-spacing: .04em; }
.jump { display: grid; gap: 2px; margin: 26px 0 0; padding: 0; list-style: none; }   /* one link per line */
.jump a { color: var(--bone); font: 600 16px/1.3 var(--sans); text-underline-offset: 5px; display: inline-block; padding: 6px 0; }
.jump a:hover { color: var(--red-on-black); }

/* the daily invitation band */
.invite { background: var(--red); color: #000; padding: clamp(36px, 5vw, 60px) 0; }
.invite-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.invite h2 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 8px; }
.invite p { margin: 0; font-size: 20px; }
.invite .eyebrow { color: #000; margin-bottom: 10px; }

/* sections */
.sec { padding: clamp(56px, 7vw, 96px) 0; }
.sec + .sec { padding-top: 0; }   /* no hairline between sections: space does the work */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.cols2 .prose + .prose { margin-top: 0; }
.stack > * + * { margin-top: 44px; }
.sec-head { max-width: 46rem; margin: 0 0 36px; }
.sec-head h2 { margin-bottom: 16px; }
.sec-head p { margin: 0; color: var(--grey); font-size: 20px; }
.prose p { max-width: 42rem; }
.prose h2 { margin-bottom: 20px; }
.pair { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pair.flip { grid-template-columns: 5fr 6fr; }
.pair figure img { width: 100%; border-radius: 3px; }
.credit, figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--grey); }

/* the 4 phases on the home page: title and subtitle above the image */
.phase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.phase { display: block; text-decoration: none; color: inherit; }
.phase h3 { font-size: 26px; margin-bottom: 2px; }
.phase .sub { margin: 0 0 14px; font: 500 17px/1.4 var(--serif); color: var(--text); }
.phase img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.phase:hover h3 { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 6px; }

/* three ways: the ebook, the daily newsletter, the weekly essays */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way { background: var(--card-dark); color: var(--bone); padding: 28px 26px 26px; border-radius: 2px; display: flex; flex-direction: column; }
.way-first { background: #000; }
.way h3 { margin-bottom: 4px; }
.way .when { margin: 0 0 14px; font: 600 14px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.way p { font-size: 17px; }
.way .go { margin: auto 0 0; padding-top: 8px; }
.way .text-link { color: #fff; display: inline-block; padding: 6px 0; }
.way .text-link:hover { color: var(--red-on-black); }
.way .btn { margin-top: 4px; }

/* the practice page: a phase and its 5 themes */
.phase-block { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 56px); padding: 34px 0; align-items: start; }
.phase-block img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.phase-block h3 { font-size: clamp(28px, 3vw, 40px); }
.phase-block .jp { display: block; margin-top: 6px; font: 600 14px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red-text); }
.phase-block .sub { font: 500 20px/1.4 var(--serif); margin: 4px 0 14px; }
.phase-block .what { max-width: 40rem; }
.themes { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: th; max-width: 44rem; }
.themes li { counter-increment: th; display: grid; grid-template-columns: 30px 1fr; gap: 6px; padding: 10px 0; }
.themes li::before { content: counter(th); font: 600 16px/1.6 var(--sans); color: var(--red-text); }
.themes strong { font: 500 19px/1.4 var(--serif); display: block; }
.themes span { color: var(--grey); font-size: 17px; }

/* start where the problem is */
.starts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; max-width: 56rem; }
.starts a { display: block; height: 100%; background: #fff; background: rgba(255,255,255,.55); padding: 18px 20px; text-decoration: none; border-left: 4px solid var(--red); }
.starts a:hover { background: #fff; }
.starts strong { display: block; font: 500 20px/1.3 var(--serif); }
.starts span { color: var(--grey); font-size: 17px; }

/* plain lists and the daily and weekly comparison */
.facts { margin: 0; padding: 0; list-style: none; max-width: 42rem; }
.facts li { padding: 12px 0 12px 30px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 23px; width: 14px; height: 3px; background: var(--red); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare > div { padding: 28px 26px; border-radius: 2px; }
.compare .a { background: #000; color: var(--bone); }
.compare .b { background: var(--card-dark); color: var(--bone); }
.compare h3 { margin-bottom: 14px; }
.compare dl { margin: 0; }
.compare dt { font: 600 14px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.compare dd { margin: 2px 0 0; font-size: 17px; }
.inside { margin: 0; padding: 0; list-style: none; max-width: 46rem; }
.inside li { padding: 8px 0; }
.inside strong { font: 500 19px/1.4 var(--serif); }
.inside a { text-underline-offset: 4px; }

/* closing band */
.closing { background: #000; color: #fff; padding: clamp(48px, 6vw, 80px) 0; }
.closing-grid { display: grid; grid-template-columns: 130px 1fr; gap: 40px; align-items: center; max-width: 760px; }
.closing img { border: 1px solid #3a3a3a; }
.closing h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 6px; }
.closing p { margin: 0; color: var(--bone); }

/* footer */
.site-footer { background: #000; color: #fff; padding: 56px 0 30px; border-top: 1px solid #2a2a2a; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font: 600 14px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0; }
.footer-grid a { display: inline-block; padding: 7px 0; font: 500 17px/1.35 var(--serif); text-decoration: none; }
.footer-grid a:hover, .footer-grid a[aria-current="page"] { color: var(--red-on-black); }
.footer-legal { margin-top: 40px; }
.family { margin: 0 0 14px; font: 500 17px/1.6 var(--serif); }
.family a { color: #fff; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.45); display: inline-block; padding: 4px 0; }
.family a:hover { color: var(--red-on-black); }
.family span[aria-hidden] { margin: 0 6px; color: var(--muted); }
.legal { margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); font-size: 14px; line-height: 1.55; color: var(--muted); }

/* 404 */
.nf { min-height: 46vh; }

@media (max-width: 1000px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .phase-grid { grid-template-columns: 1fr 1fr; }
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .bar { height: 68px; gap: 14px; }
  .brand { font-size: 19px; gap: 10px; }
  .brand img { height: 34px; }
  .hero { padding: 36px 0 48px; }
  .hero-grid, .pair, .pair.flip, .invite-grid, .compare, .starts, .cols2 { grid-template-columns: 1fr; }
  .hero .btn-row .btn, .invite .btn, .closing .btn { width: 100%; justify-content: flex-start; }
  .cover { width: 170px; justify-self: start; padding: 10px; }
  .sec { padding: 36px 0; }
  .invite { padding: 28px 0; }
  .site-footer { padding: 40px 0 24px; }
  .footer-legal { margin-top: 26px; }
  .closing { padding: 36px 0; }
  .sec-head { margin-bottom: 24px; }
  .way { padding: 20px 20px 16px; }
  .way p { margin-bottom: 10px; }
  .ways { gap: 12px; }
  .pair.flip figure { max-width: 170px; }
  .pair.flip { gap: 18px; }
  .btn-row { margin-top: 22px; }
  .phase-grid { gap: 22px 14px; }
  .phase h3 { font-size: 22px; }
  .phase .sub { font-size: 16px; margin-bottom: 10px; }
  .phase-block { grid-template-columns: 1fr; padding: 30px 0; gap: 18px; }
  .phase-block img { max-width: 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .closing-grid { grid-template-columns: 1fr; gap: 22px; }
  .closing img { display: none; }
  .pair figure { max-width: 520px; }
}
@media (max-width: 400px) {
  .brand { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media print { .site-header, .site-footer, .invite, .closing { display: none; } }

/* [button-system 2026-11-17] One button for all four sites (Gareth, 17 Nov 2026: "have them all the same which toggles/magnifies when
   you hover over ... with different toggling colours for inserted spiral and pill shape"). Drop-in: paste at the END of the site's
   stylesheet, set the 3 variables for the site, and use the markup below for every button. Full notes: button-system.md.

   <a class="btn" href="..."><span class="sp" aria-hidden="true"></span><span class="lbl">Label</span></a>

   --btn-a     fill at rest; label, disc-mark swap to it on hover and focus
   --btn-b     label, border and disc at rest; fill on hover and focus
   --btn-mark  the site's own mark as a mask image (a black-on-transparent PNG or SVG), relative to this stylesheet            */

/* ---- per-site pairs: keep ONE of these three on :root (measured contrast in button-contrast.txt) ---- */
:root { --btn-a: #EB1C24; --btn-b: #000000; --btn-mark: url(img/k-mask.png); }             /* K (KOTD and KCNZ): red and black, 4.72:1 */

/* ---- the component: one size, one shape ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  box-sizing: border-box; min-height: 48px; padding: 5px 24px 5px 5px;
  font: 600 15px/1.2 var(--sans, system-ui, sans-serif); letter-spacing: .01em; text-align: left; text-decoration: none;
  background: var(--btn-a); color: var(--btn-b);
  border: 1.5px solid currentColor; border-radius: 999px; box-shadow: none; cursor: pointer;
  transform: none; transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.btn .sp {
  flex: none; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%;
  background: var(--btn-b); transition: background-color .18s ease; perspective: none;
}
.btn .sp::before {
  content: ""; display: block; width: 46%; height: 58%; background: var(--btn-a);
  -webkit-mask: var(--btn-mark) center / contain no-repeat; mask: var(--btn-mark) center / contain no-repeat;
  transform: none; animation: none; transition: background-color .18s ease;
}
.btn .lbl { line-height: 1.2; }

/* hover and keyboard focus: the pair swaps and the button grows by 4% */
.btn:hover, .btn:focus-visible { background: var(--btn-b); color: var(--btn-a); box-shadow: none; transform: scale(1.04); }
.btn:hover .sp, .btn:focus-visible .sp { background: var(--btn-a); }
.btn:hover .sp::before, .btn:focus-visible .sp::before { background: var(--btn-b); transform: none; }
.btn:active { transform: scale(1); }
/* focus ring in both colours of the pair, so one of them contrasts with any ground on the site */
.btn:focus-visible { outline: 2px solid var(--btn-b); outline-offset: 2px; box-shadow: 0 0 0 6px var(--btn-a); }

/* reduced motion: the colour swap only */
@media (prefers-reduced-motion: reduce) {
  .btn, .btn .sp, .btn .sp::before { transition: none; }
  .btn:hover, .btn:focus-visible, .btn:active { transform: none; }
}

/* layout hooks after the button system (they place a button; they never change its size, shape or colours) */
@media (max-width: 1000px) { .site-header .bar .header-cta { display: none; } }
