/* Coach Kiko AI: bullet journal style */
:root {
  --desk: #E9E7E3;
  --paper: #FDFCF8;
  --dot: #C9C6BF;
  --ink: #1B1B1B;
  --ink-soft: #4A4744;
  --yellow: #FFD400;
  --yellow-hl: rgba(255, 212, 0, .55);
  --orange: #FF7A45;
  --orange-hl: rgba(255, 122, 69, .45);
  --teal: #3FA7A0;
  --hand: "Patrick Hand", "Segoe Print", "Comic Sans MS", cursive;
  --marker: "Londrina Solid", "Impact", sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 20px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* paper + dots */
.paper {
  background-color: var(--paper);
  background-image: radial-gradient(circle, var(--dot) 1.1px, transparent 1.4px);
  background-size: 20px 20px;
  background-position: 10px 10px;
}

/* highlighter strokes */
.hl { background: linear-gradient(transparent 52%, var(--yellow-hl) 52%, var(--yellow-hl) 92%, transparent 92%); padding: 0 .18em; }
.hl-o { background: linear-gradient(transparent 52%, var(--orange-hl) 52%, var(--orange-hl) 92%, transparent 92%); padding: 0 .18em; }
.hl-block { background: var(--orange-hl); padding: 0 .35em; border-radius: 2px; }

/* top nav */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(233, 231, 227, .92); backdrop-filter: blur(8px); }
.topbar .inner { width: min(1200px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { font-family: var(--marker); font-size: 30px; letter-spacing: .02em; text-decoration: none; line-height: 1; white-space: nowrap; }
.brand span { background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 90%, transparent 90%); padding: 0 4px; }
.menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; font-size: 20px; padding: 0 3px; background-image: linear-gradient(transparent 55%, var(--yellow-hl) 55%, var(--yellow-hl) 90%, transparent 90%); background-size: 0% 100%; background-repeat: no-repeat; transition: background-size .25s ease; }
.menu a:hover, .menu a[aria-current="page"] { background-size: 100% 100%; }
.menu-toggle { display: none; }
.menu-btn { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--marker); font-size: 22px; letter-spacing: .03em; text-decoration: none; color: var(--ink); background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 10px 14px 9px 13px / 13px 9px 14px 10px; padding: 8px 20px; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; cursor: pointer; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn.alt { background: var(--paper); }

/* footer */
.foot { width: min(1200px, 100% - 32px); margin: 0 auto; padding: 28px 0 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--ink-soft); font-size: 17px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .disclaimer { flex-basis: 100%; margin: 4px 0 0; font-size: 15px; line-height: 1.4; }
.foot .disclaimer a { text-decoration: underline; }

/* single notebook page (inner pages) */
.sheet { width: min(860px, 100% - 32px); margin: 12px auto 0; padding: 56px 64px 64px; border-radius: 6px; box-shadow: 0 30px 50px -30px rgba(0,0,0,.45), 0 2px 0 #d8d5cf; position: relative; }
.sheet::before { content: ""; position: absolute; top: -12px; left: 50%; width: 120px; height: 28px; transform: translateX(-50%) rotate(-2deg); background: rgba(255, 212, 0, .7); }
.sheet h1 { font-family: var(--marker); font-weight: 900; font-size: clamp(44px, 7vw, 76px); line-height: .95; letter-spacing: .01em; margin: 0 0 6px; }
.sheet .meta { font-family: var(--script); font-size: 24px; color: var(--ink-soft); margin: 0 0 26px; }
.sheet h2 { font-family: var(--hand); font-weight: 400; font-size: 30px; line-height: 1.15; margin: 40px 0 10px; }
.sheet h2 .n { display: inline-block; min-width: 1.6em; font-family: var(--marker); }
.sheet h3 { font-family: var(--hand); font-weight: 400; font-size: 23px; margin: 22px 0 6px; }
.sheet p, .sheet li { font-size: 19px; }
.sheet ul { padding-left: 4px; list-style: none; margin: 8px 0 14px; }
.sheet ul li { position: relative; padding-left: 24px; margin: 4px 0; }
.sheet ul li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border: 1.6px solid var(--ink); border-radius: 50%; }
.summary { border: 2px dashed var(--ink); border-radius: 14px; padding: 16px 22px; margin: 0 0 10px; transform: rotate(-.4deg); }
.summary h3 { margin-top: 0; }
.summary ul { margin-bottom: 0; }
.fill { background: var(--orange-hl); padding: 0 .3em; border-radius: 3px; }
.toc { columns: 2; column-gap: 32px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
/* inner page components */
.sheet.wide { width: min(1000px, 100% - 32px); }
.lead { font-size: 22px; max-width: 720px; margin: 0 0 22px; }
.tag { display: inline-block; font-family: var(--marker); font-size: 16px; letter-spacing: .08em; padding: 1px 9px; background: var(--orange-hl); transform: rotate(-2deg); margin-bottom: 10px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 44px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 32px; }
.doodle-h { display: flex; align-items: center; gap: 10px; }
.doodle-h svg { width: 34px; height: 34px; flex: none; }
.squiggle { border: 0; height: 14px; margin: 38px 0 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14' viewBox='0 0 40 14'%3E%3Cpath d='M0 7 C 5 1, 15 1, 20 7 S 35 13, 40 7' fill='none' stroke='%231B1B1B' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x center; opacity: .55; }
.numbered { list-style: none; padding: 0; margin: 10px 0 0; counter-reset: n; }
.numbered li { counter-increment: n; position: relative; padding-left: 52px; margin: 0 0 16px; }
.numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-family: var(--marker); font-size: 30px; line-height: 1; }
.numbered li strong { font-weight: 400; font-size: 23px; display: block; line-height: 1.15; }
.sheet ul.checks li::before { content: "✓"; border: 0; width: auto; height: auto; top: 0; left: 2px; font-size: 18px; }
.sheet ul.crosses li::before { content: "✕"; border: 0; width: auto; height: auto; top: 0; left: 2px; font-size: 18px; }
.note { font-family: var(--script); font-size: 22px; color: var(--ink-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; }
.polaroid { width: 230px; background: #fff; padding: 10px 10px 44px; box-shadow: 0 10px 20px -8px rgba(0,0,0,.35); transform: rotate(-2.5deg); position: relative; flex: none; }
.polaroid::before { content: ""; position: absolute; top: -14px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%) rotate(3deg); background: rgba(255, 122, 69, .6); }
.polaroid .frame { aspect-ratio: 1; background: #FFF4C2; overflow: hidden; display: grid; place-items: center; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.polaroid .fallback { display: none; color: #fff; font-size: 15px; text-align: center; padding: 10px; line-height: 1.2; }
.polaroid.no-photo .fallback { display: block; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-family: var(--script); font-size: 23px; font-weight: 700; }
.intro { display: flex; gap: 44px; align-items: flex-start; }
.timeline { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 21px; }
.timeline li:not(:last-child)::after { content: "→"; margin-left: 10px; }
.timeline li.now { font-family: var(--marker); font-size: 26px; }

/* cut-out photo stickers */
.sticker { margin: 0; position: relative; }
.sticker img { width: 100%; height: auto; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 10px 12px rgba(0,0,0,.22)); }
.sticker figcaption { font-family: var(--script); font-size: 22px; font-weight: 700; text-align: center; margin-top: 6px; }
.hero-sticker { width: 170px; flex: none; transform: rotate(2deg); }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 28px 56px; margin-top: 16px; }
.gallery .sticker { flex: 0 1 260px; }
.gallery .sticker:nth-child(1) { transform: rotate(-2deg); }
.gallery .sticker:nth-child(2) { transform: rotate(1.5deg); }
.gallery .sticker:nth-child(3) { transform: rotate(-1deg); }
.gallery .sticker img { max-height: 380px; width: auto; max-width: 100%; margin: 0 auto; display: block; }

/* speaker page: topics sit beside the photo */
.speaker-top { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "text photo" "topics photo"; column-gap: 56px; align-items: start; }
.st-text { grid-area: text; }
.st-photo { grid-area: photo; margin-top: 12px; }
.st-topics { grid-area: topics; }
.st-topics h2 { margin-top: 30px; }

/* journal forms: write on the lines */
.jform { margin-top: 18px; max-width: 680px; }
.jform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.jform .field { margin: 0 0 20px; }
.jform label, .jform legend { display: block; font-size: 19px; margin-bottom: 2px; }
.jform .opt { color: var(--ink-soft); font-size: 16px; }
.jform input[type=text], .jform input[type=email], .jform input[type=tel], .jform input[type=date], .jform select, .jform textarea {
  width: 100%; font: inherit; font-size: 20px; color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 6px 2px; outline: none; transition: background .2s ease;
}
.jform select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 1 l6 7 6 -7' fill='none' stroke='%231B1B1B' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 26px; cursor: pointer; }
.jform textarea { min-height: 120px; resize: vertical; line-height: 1.5; background-image: repeating-linear-gradient(transparent 0 29px, rgba(27,27,27,.25) 29px 30px); }
.jform input:focus, .jform select:focus, .jform textarea:focus { background-color: var(--yellow-hl); }
.jform fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.jform .choices { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 4px; }
.jform .choices label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 19px; cursor: pointer; }
.jform input[type=checkbox], .jform input[type=radio] { width: 20px; height: 20px; accent-color: var(--ink); flex: none; margin: 0; }
.jform .consent { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.4; margin: 6px 0 22px; cursor: pointer; }
.jform .consent input { margin-top: 3px; }
.jform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jform .msg { margin: 14px 0 0; font-size: 18px; min-height: 1.4em; }
.jform .msg.ok { background: var(--yellow-hl); padding: 2px 8px; }
.jform .msg.err { background: var(--orange-hl); padding: 2px 8px; }
.jform button[disabled] { opacity: .6; cursor: wait; }

@media (max-width: 760px) {
  .cols, .cols-3, .jform .row { grid-template-columns: 1fr; }
  .intro { flex-direction: column; align-items: center; gap: 30px; }
  .gallery .sticker { flex-basis: 40%; }
  .hero-sticker { width: 140px; }
  .speaker-top { grid-template-columns: 1fr; grid-template-areas: "text" "photo" "topics"; }
  .st-photo { justify-self: center; margin-top: 30px; }
}
@media (max-width: 640px) {
  .sheet, .sheet.wide { width: calc(100% - 20px); padding: 40px 22px 44px; }
  .toc { columns: 1; }
  .cta-row .btn { width: 100%; justify-content: center; }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; font-family: var(--marker); font-size: 22px; border: 2.5px solid var(--ink); border-radius: 10px; padding: 4px 14px; background: var(--paper); cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
  .menu { display: none; position: absolute; top: 64px; right: 16px; left: 16px; flex-direction: column; gap: 4px; padding: 14px 18px; border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); background-color: var(--paper); }
  .menu-toggle:checked ~ .menu { display: flex; }
  .menu a { display: block; padding: 6px 4px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
