/* ============================================================
   MKT Meeting Notes — lean editorial reading system
   McDonald's Vietnam · Marketing
   ============================================================ */
:root {
  --red: #DA291C;
  --red-ink: #A81C12;
  --yellow: #FFC72C;

  --ink: #1C1813;          /* warm near-black */
  --ink-soft: #4A443B;
  --muted: #857D70;
  --faint: #A79E8F;

  --paper: #FAF7F1;        /* warm cream */
  --paper-2: #F2EDE3;
  --card: #FFFFFF;
  --line: #E7E0D2;
  --line-2: #DAD1BF;

  --measure: 46rem;        /* reading column */
  --font-ui: "Be Vietnam Pro", system-ui, sans-serif;
  --font-read: "Lora", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-read);
  font-size: 18px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* subtle paper grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
p { margin: 0; }
::selection { background: var(--yellow); color: var(--ink); }

.ui { font-family: var(--font-ui); }
.eyebrow {
  font-family: var(--font-ui); font-size: 11.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red-ink);
}
.wrap { width: 100%; max-width: 52rem; margin: 0 auto; padding: 0 24px; }
.read { max-width: var(--measure); }

/* ---------- Masthead ---------- */
.mast { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20; }
.mast__in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; display: block; }
.brand__txt { font-family: var(--font-ui); line-height: 1.15; }
.brand__txt b { font-weight: 700; font-size: 14.5px; letter-spacing: -.01em; display: block; }
.brand__txt span { font-size: 11px; color: var(--muted); }
.mast__link { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.mast__link:hover { color: var(--red); }
.mast__link svg { width: 15px; height: 15px; }

/* ---------- Homepage ---------- */
.home-hero { padding: 64px 0 28px; }
.home-hero .eyebrow { display: block; margin-bottom: 18px; }
.home-hero h1 { font-family: var(--font-read); font-weight: 500; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.14; letter-spacing: -.015em; margin: 0 0 18px; text-wrap: balance; }
.home-hero h1 em { font-style: italic; color: var(--red); }
.home-hero p { color: var(--ink-soft); font-size: 1.06rem; max-width: 38rem; }

.section-label { font-family: var(--font-ui); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 34px 0 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }

.note-list { display: flex; flex-direction: column; }
.note-row { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: baseline; padding: 26px 6px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .18s, padding .18s; }
.note-row:hover { background: color-mix(in srgb, var(--yellow) 8%, transparent); padding-left: 14px; padding-right: 14px; }
.note-row__week { font-family: var(--font-ui); font-weight: 700; font-size: 13px; color: var(--red); letter-spacing: .02em; padding-top: 5px; min-width: 42px; }
.note-row__body h3 { font-family: var(--font-read); font-weight: 600; font-size: 1.5rem; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.01em; }
.note-row__body p { color: var(--ink-soft); font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.note-row__body .facts { font-family: var(--font-ui); font-size: 12.5px; color: var(--muted); margin-top: 10px; display: flex; gap: 16px; flex-wrap: wrap; }
.note-row__body .facts b { color: var(--ink); font-weight: 700; }
.note-row__date { font-family: var(--font-ui); font-size: 12.5px; color: var(--muted); text-align: right; white-space: nowrap; padding-top: 5px; }
.note-row__arrow { align-self: center; color: var(--faint); transition: transform .2s, color .2s; }
.note-row:hover .note-row__arrow { transform: translateX(4px); color: var(--red); }
.note-row__arrow svg { width: 20px; height: 20px; }

.roster-line { font-family: var(--font-ui); display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 14px 0 0; }
.roster-chip { font-size: 12.5px; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; display: inline-flex; align-items: center; gap: 7px; }
.roster-chip i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.roster-chip b { font-weight: 600; }
.roster-chip span { color: var(--muted); }

/* ---------- Note (article) ---------- */
.article { padding: 40px 0 20px; }
.crumb { font-family: var(--font-ui); font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.crumb a:hover { color: var(--red); }
.article__head { border-bottom: 2px solid var(--ink); padding-bottom: 26px; margin-bottom: 12px; }
.article__head .eyebrow { display: block; margin-bottom: 14px; }
.article__head h1 { font-family: var(--font-read); font-weight: 600; font-size: clamp(2rem, 5.4vw, 3.1rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 20px; text-wrap: balance; }
.article__meta { font-family: var(--font-ui); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.article__meta .m { display: inline-flex; align-items: center; gap: 7px; }
.article__meta svg { width: 15px; height: 15px; color: var(--faint); }
.article__meta b { color: var(--ink); font-weight: 700; font-family: var(--font-ui); }
.who { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.who span { font-family: var(--font-ui); font-size: 12px; color: var(--ink-soft); background: var(--paper-2); border-radius: 999px; padding: 3px 10px; }

/* jump nav — subtle, not tabs */
.jump { position: sticky; top: 60px; z-index: 15; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin: 0 -24px 8px; padding: 0 24px; }
.jump ul { list-style: none; margin: 0; padding: 11px 0; display: flex; gap: 22px; overflow-x: auto; font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; }
.jump a { color: var(--muted); white-space: nowrap; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.jump a:hover { color: var(--ink); }
.jump a.on { color: var(--red); border-bottom-color: var(--red); }

/* section — each type gets its own accent + rhythm */
.sec { padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 112px; }
.sec:last-of-type { border-bottom: 0; }
.sec > h2 { font-family: var(--font-ui); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 26px; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.sec > h2::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--accent, var(--red)); }
.sec > h2 .n { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0; color: var(--muted); background: var(--paper-2); border-radius: 999px; padding: 3px 10px; text-transform: none; }
.sec--highlights { --accent: var(--red); }
.sec--summary    { --accent: var(--ink); }
.sec--tasks      { --accent: #0E9F6E; }
.sec--issues     { --accent: #E08600; }
.sec--transcript { --accent: var(--faint); }

/* HIGHLIGHTS — big editorial takeaways, serif, oversized index */
.hl { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hl li { display: grid; grid-template-columns: 3.4rem 1fr; gap: 4px 18px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.hl li:first-child { border-top: 0; padding-top: 4px; }
.hl .num { font-family: var(--font-read); font-weight: 500; font-size: 2.4rem; line-height: .9; color: var(--red); font-feature-settings: "lnum"; }
.hl p { font-family: var(--font-read); font-size: 1.32rem; line-height: 1.5; color: var(--ink); letter-spacing: -.01em; align-self: center; }

/* SUMMARY — quiet reading prose, hanging dashes */
.prose { max-width: var(--measure); margin: 0; padding: 0; }
.prose li { list-style: none; position: relative; padding-left: 1.6rem; margin-bottom: 1.15rem; color: var(--ink-soft); font-size: 1.12rem; line-height: 1.68; }
.prose li:last-child { margin-bottom: 0; }
.prose li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--faint); font-family: var(--font-read); }

/* TASKS — structured checklist cards grouped by workstream */
.ws { border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(28,24,19,.03); }
.ws:last-child { margin-bottom: 0; }
.ws__h { font-family: var(--font-ui); font-weight: 700; font-size: .9rem; color: var(--ink); margin: 0; padding: 13px 20px; background: var(--paper-2); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.ws__h::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: #0E9F6E; flex: none; }
.ws__h .c { margin-left: auto; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.task { display: grid; grid-template-columns: 1.35rem 1fr; column-gap: 13px; padding: 15px 20px; border-top: 1px solid var(--paper-2); }
.task:first-of-type { border-top: 0; }
.task__box { width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--line-2); border-radius: 6px; flex: none; }
.task__t { font-family: var(--font-ui); font-size: .98rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.task__meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.task__meta .pic, .task__meta .due { font-family: var(--font-ui); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; }
.task__meta .pic { color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); }
.task__meta .pic i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.task__meta .due { color: var(--red-ink); background: color-mix(in srgb, var(--red) 7%, transparent); }
.task__meta .due svg { width: 13px; height: 13px; }

/* ISSUES — amber attention callouts */
.iss { list-style: none; margin: 0; padding: 0; max-width: var(--measure); display: grid; gap: 12px; }
.iss li { padding: 15px 18px 15px 44px; border-radius: 12px; position: relative; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.55;
  background: color-mix(in srgb, #E08600 6%, var(--card)); border: 1px solid color-mix(in srgb, #E08600 22%, var(--line)); }
.iss li::before { content: ""; position: absolute; left: 16px; top: 1.35em; width: 14px; height: 14px;
  background: #E08600; -webkit-mask: var(--warn-mask) center/contain no-repeat; mask: var(--warn-mask) center/contain no-repeat; }
:root { --warn-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h16.9a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z' fill='black'/%3E%3Cpath d='M12 9v4M12 17h.01' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* transcript disclosure */
.tr-wrap { border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.tr-sum { font-family: var(--font-ui); cursor: pointer; list-style: none; padding: 18px 20px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.tr-sum::-webkit-details-marker { display: none; }
.tr-sum svg { width: 18px; height: 18px; flex: none; }
.tr-sum > svg:first-child { color: var(--muted); }
.tr-sum .tag { margin-left: auto; }
.tr-sum .chev { color: var(--muted); transition: transform .25s; }
details[open] .tr-sum .chev { transform: rotate(180deg); }
.tr-sum .tag { font-size: 11px; color: var(--muted); font-weight: 600; background: var(--paper-2); padding: 3px 9px; border-radius: 999px; }
.tr-body { border-top: 1px solid var(--line); padding: 8px 0; }
.tr-search { position: relative; margin: 12px 20px 6px; }
.tr-search input { width: 100%; font-family: var(--font-ui); font-size: 14px; padding: 10px 14px 10px 38px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper); color: var(--ink); }
.tr-search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 15%, transparent); }
.tr-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.tr-p { padding: 9px 20px; font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }
.tr-p + .tr-p { border-top: 1px solid var(--paper-2); }
.tr-p.hide { display: none; }
.tr-p mark { background: var(--yellow); color: var(--ink); border-radius: 2px; padding: 0 2px; }

code { font-family: var(--font-ui); font-weight: 700; font-size: .82em; background: color-mix(in srgb, var(--red) 9%, transparent); color: var(--red-ink); padding: 1px 6px; border-radius: 5px; }

.foot { font-family: var(--font-ui); border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0 46px; color: var(--muted); font-size: 12.5px; }
.foot b { color: var(--ink-soft); font-weight: 600; }

.empty { font-family: var(--font-ui); color: var(--muted); padding: 40px 0; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  .note-row { grid-template-columns: auto 1fr; gap: 14px; }
  .note-row__date, .note-row__arrow { display: none; }
  .jump { margin: 0 -18px 8px; padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
