/* Own Your Tyme — v2 "The Planner". Brand: Guidelines v2.0 (Strategy/Branding/_OYT_BrandGuidelines_v2_CURRENT.md)
   Previous "week" design: Archive/Website_v1.1_week_2026-10-11.
   the whole page is one paper planner lying on a navy desk. Light-first for reading,
   divider tabs instead of a nav bar, a highlighter-yellow key for the one action that matters. */
@font-face { font-family: "Nove"; src: url("fonts/nove.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibmplexmono-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibmplexmono-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #0B0047; --lila: #9E8AFF; --indigo: #6256C1; --lavender: #C29DFF; --lav-paper: #ECE5FF;
  --blue: #78BAD6; --blue-light: #E4F1F7; --pen: #4a3cb0; --red-pen: #D9363E;
  --hi: #FFE45E;          /* highlighter yellow — the only warm colour, reserved for "do this" */
  --hi-side: #c9a800;
  --paper: #FBF7EE; --card: #FFFEFA; --ink: #120a3d;
  --edge: 2px solid var(--navy);
  --f-head: "Nove", "Arial Narrow", sans-serif;
  --f-body: "Source Sans 3", system-ui, sans-serif;
  --f-mono: "Plex Mono", ui-monospace, Menlo, monospace;
  --sheet: 1120px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .04 0 0 0 0 0 0 0 0 0 .28 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; color: var(--ink); font: 400 20px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  /* the desk at night: a few pinprick stars, no gradients */
  background-color: var(--navy);
  background-image:
    radial-gradient(1.2px 1.2px at 20px 30px, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 140px 90px, rgba(194,157,255,.8), transparent),
    radial-gradient(1.4px 1.4px at 260px 170px, rgba(120,186,214,.8), transparent),
    radial-gradient(1px 1px at 80px 220px, rgba(255,255,255,.5), transparent);
  background-size: 320px 260px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 400; text-transform: uppercase; line-height: 1.02; margin: 0 0 .45em; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(44px, 4.8vw, 72px); }
h2 { font-size: clamp(36px, 4.6vw, 64px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
p { margin: 0 0 1em; text-wrap: pretty; max-width: 62ch; }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- The key: one action, one colour ---------- */
.key {
  --face: var(--hi); --side: var(--navy);
  position: relative; display: inline-flex; align-items: center; gap: .6em; min-height: 60px; padding: 0 30px;
  border: var(--edge); border-radius: 12px; background: var(--face); color: var(--navy);
  font: 600 17px/1 var(--f-mono); text-decoration: none; cursor: pointer;
  box-shadow: 5px 5px 0 var(--side); rotate: -1deg;
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease, rotate .2s ease;
}
.key::after { content: "→"; transition: translate .15s ease; }
.key:hover { background: var(--lila); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--side); rotate: 0deg; }
.key:hover::after { translate: 5px 0; }
.key:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--side); }
.key--small { min-height: 44px; padding: 0 18px; font-size: 15px; box-shadow: 3px 3px 0 var(--side); }
.key--small::after { content: none; }
.desk .key { --side: #000; }
.textlink { font: 600 16px/1 var(--f-mono); color: var(--pen); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.textlink:hover { color: var(--navy); }

/* ---------- Desk header ---------- */
.desk-top { max-width: var(--sheet); margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 20px/1 var(--f-head); text-transform: uppercase; }

/* ---------- The sheet: a punched planner page ---------- */
.sheet {
  position: relative; z-index: 2; max-width: var(--sheet); margin: 8px auto 0; padding-left: 56px;
  background-color: var(--paper); background-image: var(--grain);
  border: var(--edge); border-radius: 6px 14px 14px 6px; box-shadow: 14px 14px 0 #000;
}
.sheet::before { /* punch holes down the binding edge — you see the desk through them */
  content: ""; position: absolute; top: 0; bottom: 0; left: 14px; width: 22px;
  background: radial-gradient(circle at 11px 11px, var(--navy) 9px, var(--navy) 9px, transparent 10px) 0 30px / 22px 92px repeat-y;
}
.sheet::after { /* margin rule */
  content: ""; position: absolute; top: 0; bottom: 0; left: 50px; width: 2px; background: rgba(217, 54, 62, .4);
}
.page { position: relative; padding: clamp(56px, 7vw, 100px) clamp(22px, 5vw, 72px); border-bottom: 2px dashed rgba(11, 0, 71, .18); }
.page:last-child { border-bottom: 0; }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 22px; font: 600 14px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--pen); }
.eyebrow b { padding: 6px 9px; border: 2px solid currentColor; border-radius: 6px; }
.lede { font-size: clamp(21px, 1.2vw + 14px, 25px); line-height: 1.5; max-width: 40ch; }

/* Highlighter + pen marks */
mark { background: linear-gradient(transparent 40%, var(--hi) 40% 90%, transparent 90%); color: inherit; padding: 0 .1em; }
.circled { position: relative; display: inline-block; white-space: nowrap; }
.circled svg { position: absolute; left: -8%; top: -14%; width: 116%; height: 128%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--red-pen); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s .5s cubic-bezier(.6, 0, .3, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.struck { position: relative; white-space: nowrap; }
.struck::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 5px; background: var(--red-pen); border-radius: 3px; rotate: -3deg; }

/* ---------- Divider tabs (desktop): they stick out of the right edge of the planner ---------- */
.tabs { position: fixed; z-index: 1; top: 96px; right: calc((100vw - var(--sheet)) / 2 - 50px); display: flex; flex-direction: column; gap: 6px; }
.tabs a {
  display: grid; place-items: center; width: 60px; height: 70px; padding-left: 10px;
  border: var(--edge); border-radius: 0 12px 12px 0; text-decoration: none;
  font: 600 14px/1 var(--f-mono); letter-spacing: .08em; color: var(--navy); writing-mode: vertical-rl;
  transition: translate .2s ease; box-shadow: 4px 4px 0 #000;
}
.tabs a:nth-child(7n+1) { background: var(--lav-paper); } .tabs a:nth-child(7n+2) { background: var(--blue-light); }
.tabs a:nth-child(7n+3) { background: #F3E9FF; } .tabs a:nth-child(7n+4) { background: var(--lila); }
.tabs a:nth-child(7n+5) { background: var(--blue-light); } .tabs a:nth-child(7n+6) { background: var(--lav-paper); }
.tabs a:nth-child(7n+7) { background: #F3E9FF; }
.tabs a:hover, .tabs a.is-active { translate: 10px 0; }
.tabs a.is-active { background: var(--hi); }
@media (max-width: 1260px) {
  body { padding-bottom: 64px; }
  .tabs { top: auto; bottom: 0; left: 0; right: 0; z-index: 20; flex-direction: row; justify-content: center; gap: 4px; padding: 0 6px;
    background: linear-gradient(transparent calc(100% - 8px), var(--navy) 0); border-bottom: 0; }
  .tabs a { writing-mode: horizontal-tb; flex: 0 1 64px; min-width: 0; width: auto; height: 50px; padding: 0 0 6px; border-bottom: 0; border-radius: 12px 12px 0 0; box-shadow: none; font-size: 13px; translate: 0 6px; }
  .tabs a:hover, .tabs a.is-active { translate: 0 0; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 .circled { color: var(--indigo); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 30px; }
/* A mini week planner, Thursday flagged */
.week {
  position: relative; display: grid; grid-template-columns: repeat(7, 1fr); rotate: 2deg;
  background: var(--card); border: var(--edge); border-radius: 10px; box-shadow: 8px 8px 0 var(--navy);
}
.week > div { min-height: 230px; padding: 10px 7px; border-right: 1.5px solid rgba(11, 0, 71, .18); font: 400 12px/1.35 var(--f-mono); }
.week > div:last-child { border-right: 0; }
.week b { display: block; padding-bottom: 6px; margin-bottom: 8px; border-bottom: var(--edge); font: 400 18px/1 var(--f-head); color: var(--navy); }
.week s { color: #6a6490; text-decoration-color: var(--pen); text-decoration-thickness: 2px; }
.week p { margin: 0 0 8px; }
.week .thu { background: var(--lav-paper); }
.week .sticky {
  margin-top: 6px; padding: 8px 6px; background: var(--hi); border: 1.5px solid var(--navy); rotate: -4deg; box-shadow: 2px 2px 0 var(--navy);
  font-weight: 600; color: var(--navy);
}
.week__joey { position: absolute; left: -34px; top: -62px; width: 96px; rotate: -10deg; filter: drop-shadow(3px 3px 0 var(--navy)); }
.week__cap { margin: 22px 0 0; text-align: right; font: 400 15px/1.4 var(--f-mono); color: var(--pen); }

/* ---------- Problem: sticky-note pile vs one page ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pile { position: relative; height: 340px; }
.pile span {
  position: absolute; padding: 14px 14px; width: 150px; min-height: 92px; border: 1.5px solid var(--navy); box-shadow: 3px 3px 0 var(--navy);
  font: 600 14px/1.3 var(--f-mono); color: var(--navy);
}
.pile span:nth-child(odd) { background: var(--lav-paper); } .pile span:nth-child(even) { background: var(--blue-light); }
.pile span:nth-child(3n) { background: #F3E9FF; }
.pile .is-noise { background: #fff !important; border-style: dashed; color: #8a3a12; border-color: #c06a3d; box-shadow: none; }

/* ---------- Four blocks as a spec sheet ---------- */
.spec { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 12px; background: var(--card); border: var(--edge); border-radius: 12px; box-shadow: 8px 8px 0 var(--navy); overflow: hidden; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1.5px solid rgba(11, 0, 71, .15); }
.spec thead th { font: 600 13px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--pen); background: var(--lav-paper); border-bottom: var(--edge); }
.spec tbody th { width: 30%; }
.spec tbody th span { display: block; font: 600 13px/1 var(--f-mono); color: var(--pen); margin-bottom: 6px; }
.spec tbody th strong { font: 400 24px/1.05 var(--f-head); text-transform: uppercase; color: var(--navy); }
.spec td { font-size: 18px; }
.spec td.tools { font: 600 15px/1.5 var(--f-mono); color: var(--navy); width: 22%; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec tr.is-star { background: linear-gradient(90deg, rgba(255, 228, 94, .55), rgba(255, 228, 94, .25)); }
.spec tr.is-star th strong::after { content: " ★"; color: var(--indigo); }

/* ---------- Thursday: the desk calendar, big ---------- */
.deskcal { position: relative; width: min(100%, 360px); justify-self: center; rotate: -2deg; isolation: isolate; }
.deskcal::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px;
  box-shadow: 0 8px 0 -3px var(--card), 0 8px 0 -1px var(--navy), 0 16px 0 -6px var(--card), 0 16px 0 -4px var(--navy), 10px 24px 0 -4px var(--navy); }
.deskcal__page { position: relative; border: var(--edge); border-radius: 16px; background: var(--card); overflow: visible; }
.deskcal__coil { position: absolute; z-index: 2; top: -18px; left: 18px; right: 18px; height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='36'%3E%3Crect x='8' y='2' width='10' height='32' rx='5' fill='%23ECE5FF' stroke='%230B0047' stroke-width='2'/%3E%3Cpath d='M11.5 6v10' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 26px 36px repeat-x; }
.deskcal__head { padding: 32px 20px 16px; background: var(--navy); color: #fff; border-radius: 14px 14px 0 0; text-align: center; font: 400 34px/1 var(--f-head); text-transform: uppercase; letter-spacing: .02em; }
.deskcal__n { display: block; padding: 18px 0 4px; text-align: center; font: 400 150px/.9 var(--f-head); color: var(--navy); }
.deskcal__m { display: block; text-align: center; font: 600 15px/1 var(--f-mono); color: var(--pen); text-transform: uppercase; letter-spacing: .16em; }
.deskcal__entry { margin: 18px 20px 22px; padding: 12px 14px; border-top: 1.5px dashed rgba(11,0,71,.25); display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--navy); }
.deskcal__entry time { padding: 6px 8px; border: 2px solid var(--navy); border-radius: 6px; background: var(--blue-light); font: 600 14px/1 var(--f-mono); }
.deskcal__entry span { background: linear-gradient(transparent 42%, var(--hi) 42% 92%, transparent 92%); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 16px; align-items: center; font-size: 21px; font-weight: 600; color: var(--navy); }
.checks svg { flex: 0 0 auto; width: 34px; height: 34px; overflow: visible; }
.checks rect { fill: var(--card); stroke: var(--navy); stroke-width: 2.5; }
.checks path { fill: none; stroke: var(--pen); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.quote { margin: clamp(48px, 6vw, 80px) 0 0; font: 400 clamp(30px, 3.8vw, 52px)/1.1 var(--f-head); text-transform: uppercase; color: var(--navy); max-width: 24ch; }
.quote mark { background: linear-gradient(transparent 55%, var(--hi) 55% 92%, transparent 92%); }

/* ---------- Dolores ---------- */
.polaroid { margin: 0; padding: 14px 14px 0; background: var(--card); border: var(--edge); box-shadow: 10px 10px 0 var(--navy); rotate: 2deg; }
.polaroid img { border: 1.5px solid var(--navy); }
.polaroid figcaption { padding: 14px 4px 16px; text-align: center; font: 400 16px/1.3 var(--f-mono); }
.beats { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.beats li { padding-left: 28px; position: relative; font-size: 19px; }
.beats li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--indigo); }
.beats b { color: var(--navy); }

/* ---------- Offer ---------- */
.ticket { display: grid; grid-template-columns: 1fr 300px; margin: 36px 0 48px; background: var(--card); border: var(--edge); border-radius: 18px; box-shadow: 10px 10px 0 var(--navy); }
.ticket__main { padding: clamp(22px, 3vw, 36px); }
.ticket__main ol { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.ticket__main li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; font-size: 18px; }
.ticket__main li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border: var(--edge); border-radius: 50%; background: var(--blue-light); font: 400 20px/1 var(--f-head); color: var(--navy); }
.ticket__main li b { color: var(--navy); }
.ticket__stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px 20px; text-align: center; border-left: 2px dashed var(--navy); background: var(--lav-paper); border-radius: 0 16px 16px 0; }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: var(--edge); }
.ticket__stub::before { top: -16px; } .ticket__stub::after { bottom: -16px; }
.ticket__stub .price { font: 400 72px/1 var(--f-head); color: var(--navy); }
.ticket__stub .price small { display: block; font: 600 13px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pen); }
.ticket__stub p { margin: 0; font: 400 14px/1.4 var(--f-mono); }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit > div { padding: 24px 26px; border: var(--edge); border-radius: 14px; background: var(--card); }
.fit > div + div { background: transparent; border-style: dashed; }
.fit ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; font-size: 18px; }

/* ---------- Closing on the desk ---------- */
.desk { max-width: var(--sheet); margin: 0 auto; padding: clamp(72px, 9vw, 120px) 20px 40px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; color: #fff; }
.note {
  max-width: 560px; padding: 34px 34px 30px; background: var(--hi); color: var(--navy); border: var(--edge); rotate: -2deg; box-shadow: 10px 10px 0 #000;
}
.note h2 { font-size: clamp(32px, 3.6vw, 48px); }
.note p { font-size: 20px; }
.note .key { --face: var(--navy); color: #fff; }
.note .key:hover { color: var(--navy); }
.desk img { width: min(300px, 70vw); }
.foot { max-width: var(--sheet); margin: 0 auto; padding: 24px 20px 48px; display: flex; flex-wrap: wrap; gap: 12px 28px; font: 400 14px/1.4 var(--f-mono); color: rgba(255,255,255,.85); }
.foot a { text-decoration: none; } .foot a:hover { color: var(--hi); }

@media (max-width: 900px) {
  .hero, .two, .fit, .ticket, .desk { grid-template-columns: 1fr; }
  .sheet { padding-left: 34px; margin: 0 8px; }
  .sheet::before { left: 6px; width: 18px; background-size: 18px 92px; background-image: radial-gradient(circle at 9px 9px, var(--navy) 7px, transparent 8px); }
  .sheet::after { left: 30px; }
  .ticket__stub { border-left: 0; border-top: 2px dashed var(--navy); border-radius: 0 0 16px 16px; }
  .ticket__stub::before, .ticket__stub::after { top: -15px; }
  .ticket__stub::before { left: -16px; } .ticket__stub::after { left: auto; right: -16px; bottom: auto; }
  .spec thead { display: none; }
  .spec tr { display: grid; } .spec th, .spec td { width: auto !important; border-bottom: 0; padding: 10px 18px; }
  .spec tbody th { padding-top: 18px; } .spec tbody tr { border-bottom: 1.5px solid rgba(11,0,71,.15); }
  .spec td.tools::before { content: "Could be: "; color: var(--pen); }
  .week { rotate: 0deg; }
  .deskcal { margin: 28px 0 24px; }
  .week > div { padding: 8px 4px; font-size: 10px; min-height: 180px; }
  .week b { font-size: 14px; }
  .week__joey { width: 60px; left: auto; right: -12px; top: -44px; rotate: 10deg; }
  .pile { height: 300px; }
}
@media (max-width: 560px) {
  body { font-size: 18px; }
  .week > div:nth-child(n+5):not(.thu) { display: none; }
  .week { grid-template-columns: repeat(4, 1fr); }
  .pile span { width: 124px; font-size: 13px; }
  .key { width: 100%; justify-content: center; }
  .key--small { width: auto; }
  .tabs { gap: 3px; padding: 0 4px; }
  .tabs a { font-size: 11px; letter-spacing: .02em; }
  .brand { white-space: nowrap; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } .circled path { stroke-dashoffset: 0; } }

/* ---------- Joey dances (closing desk) ---------- */
.joey { position: relative; padding: 0; border: 0; background: none; cursor: pointer; justify-self: center; }
.joey img { width: min(300px, 70vw); transform-origin: 50% 90%; transition: transform .3s; }
.joey:hover img { transform: rotate(-3deg) scale(1.02); }
.joey.is-dancing img { animation: dance .5s ease-in-out infinite alternate; }
@keyframes dance { 0% { transform: rotate(-7deg) translateY(0); } 100% { transform: rotate(7deg) translateY(-14px); } }
.joey__hint {
  display: block; width: max-content; margin: 14px auto 0; padding: 6px 12px; rotate: -2deg;
  background: var(--hi); color: var(--navy); border: var(--edge); border-radius: 8px; box-shadow: 3px 3px 0 #000;
  font: 600 14px/1.2 var(--f-mono);
}

/* ---------- Legal pages: a plain planner sheet ---------- */
.legal { padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 72px); max-width: 860px; margin-bottom: 64px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); }
.legal h2 { font-size: 24px; margin-top: 2em; }
.legal p, .legal li { font-size: 18px; }
.legal .todo { background: var(--hi); padding: 0 4px; border-radius: 4px; }
