/* Art Of YouTube blog. Flat: 1px lines, no shadows, glows, tilts or gradients. Brand = start.theartofyt.com (Inter, #0b0b0d, orange #f98125). */
:root{--ink:#16161a;--muted:#5d5d66;--line:#e6e6ea;--bg:#fff;--soft:#f6f6f7;--dark:#0b0b0d;--orange:#f98125;--orange-d:#d96a15;--green:#0f3b27;--lime:#92ff5f;--r:12px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:400 18px/1.7 Inter,system-ui,-apple-system,sans-serif}
img{max-width:100%;height:auto;display:block}
a{color:var(--orange-d);text-underline-offset:3px}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}

/* header */
.top{background:var(--dark);border-bottom:1px solid #222;position:sticky;top:0;z-index:20}
.top .wrap{display:flex;align-items:center;gap:24px;height:60px}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:700;font-size:17px}
.hnav{display:flex;gap:20px;margin-left:auto}
.hnav a{color:#c9c9cf;text-decoration:none;font-size:15px;font-weight:500}
.hnav a:hover{color:#fff}
.happly{background:var(--orange);color:#111;text-decoration:none;font-weight:700;font-size:15px;padding:8px 16px;border-radius:999px}
.happly:hover{background:#ff9640}

/* article */
.crumbs{font-size:14px;color:var(--muted);margin:28px auto 0;max-width:760px;display:flex;gap:8px}
.crumbs a{color:var(--muted)}
.art{max-width:760px;margin:0 auto}
.ahead{margin:12px 0 8px}
.kick{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--orange-d)}
h1{font-size:44px;line-height:1.12;letter-spacing:-.02em;margin:8px 0 16px;font-weight:800}
.meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:15px;margin:0}
.meta img{width:28px;height:28px;border-radius:50%}
.meta a{color:var(--ink)}
.prose h2{font-size:30px;line-height:1.25;letter-spacing:-.01em;margin:48px 0 12px;font-weight:800}
.prose h3{font-size:22px;line-height:1.3;margin:32px 0 8px;font-weight:700}
.prose p,.prose ul,.prose ol{margin:0 0 20px}
.prose li{margin:6px 0}
.prose blockquote{margin:24px 0;padding:4px 0 4px 20px;border-left:3px solid var(--orange);color:#333}
.prose code{background:var(--soft);padding:2px 6px;border-radius:6px;font-size:.9em}
.tbl{overflow-x:auto;margin:24px 0}
table{border-collapse:collapse;width:100%;font-size:16px}
th,td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
th{background:var(--soft);font-weight:700}
figure{margin:28px 0}
figcaption{font-size:14px;color:var(--muted);margin-top:8px}
.cover img{border-radius:var(--r);border:1px solid var(--line)}

/* video facade */
.yt{position:relative;border-radius:var(--r);overflow:hidden;background:#000;aspect-ratio:16/9;cursor:pointer;border:1px solid var(--line)}
.yt img{width:100%;height:100%;object-fit:cover}
.yt button{position:absolute;inset:0;margin:auto;width:76px;height:54px;border:0;background:none;padding:0;cursor:pointer}
.yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* toc */
.toc{border:1px solid var(--line);border-radius:var(--r);padding:16px 20px;margin:28px 0;background:var(--soft)}
.toc summary{font-weight:700;cursor:pointer}
.toc ol{margin:10px 0 0;padding-left:22px;font-size:16px}
.toc a{color:var(--ink)}

/* banners */
.nbc{display:grid;grid-template-columns:200px 1fr;gap:0;background:var(--green);color:#fff;border-radius:var(--r);overflow:hidden;margin:36px 0}
.nbc-ph{width:100%;height:100%;object-fit:cover}
.nbc-copy{padding:24px 26px}
.nbc .kick{color:var(--lime)}
.nbc h3{font-size:24px;line-height:1.25;margin:6px 0 8px;color:#fff}
.nbc p{font-size:16px;line-height:1.6;margin:0 0 16px;color:#dfeee4}
.aoy{background:var(--dark);color:#fff;border-radius:var(--r);padding:26px;margin:36px 0}
.aoy .kick{color:var(--orange)}
.aoy h3{font-size:24px;line-height:1.25;margin:6px 0 8px;color:#fff}
.aoy p{font-size:16px;line-height:1.6;margin:0 0 16px;color:#c9c9cf}
.btn{display:inline-block;background:var(--orange);color:#111;font-weight:700;font-size:16px;text-decoration:none;padding:12px 22px;border-radius:999px}
.btn:hover{background:#ff9640}
.btn.green{background:var(--lime);color:#0b2a1b}
.btn.green:hover{background:#a9ff80}
.vc{border:1px solid var(--line);border-radius:var(--r);padding:16px;margin:32px 0}
.vc .yt{margin-top:10px}
.vc-foot{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:10px;font-size:15px}
.vc-foot b{font-weight:600}

/* end + author */
.endcta{border-top:1px solid var(--line);margin-top:48px;padding-top:8px}
.endcta h2{margin-top:12px}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 0}
.author{display:flex;gap:18px;align-items:flex-start;border:1px solid var(--line);border-radius:var(--r);padding:20px;margin:40px 0}
.author img{width:72px;height:72px;border-radius:50%;flex:none}
.author p{margin:4px 0 0;font-size:16px;line-height:1.6;color:var(--muted)}

/* cards */
.more{margin:56px 0}
.more h2,.sec{font-size:26px;font-weight:800;letter-spacing:-.01em;margin:48px 0 16px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{display:block;text-decoration:none;color:var(--ink);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff}
.card:hover{border-color:#c9c9cf}
.card img{aspect-ratio:16/9;object-fit:cover;width:100%}
.card .kick{margin:14px 16px 0;font-size:12px}
.card h3{font-size:18px;line-height:1.35;margin:6px 16px 6px;font-weight:700}
.card p{font-size:14px;line-height:1.55;color:var(--muted);margin:0 16px 10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.card time{display:block;font-size:13px;color:var(--muted);margin:0 16px 16px}

/* index */
.bhead{max-width:760px;margin:40px 0 8px}
.bhead h1{font-size:46px}
.bhead p{font-size:19px;color:#333}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.tags a{border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-size:14px;color:var(--ink);text-decoration:none;font-weight:500}
.tags a:hover{border-color:var(--ink)}

/* footer + sticky */
.foot{background:var(--dark);color:#9a9aa3;margin-top:64px;padding:32px 0 96px;font-size:14px}
.foot nav{display:flex;flex-wrap:wrap;gap:18px;margin-bottom:14px}
.foot a{color:#d6d6db;text-decoration:none}
.foot p{margin:6px 0}
.sticky{position:fixed;left:12px;right:12px;bottom:12px;z-index:30;display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--green);color:#fff;text-decoration:none;border-radius:999px;padding:10px 10px 10px 20px;font-size:15px;font-weight:600;border:1px solid #1d5a3d}
.sticky b{background:var(--lime);color:#0b2a1b;border-radius:999px;padding:8px 14px;font-size:14px;white-space:nowrap}
@media(min-width:900px){.sticky{display:none!important}}

@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){
  body{font-size:17px}
  h1,.bhead h1{font-size:32px}
  .prose h2{font-size:25px}
  .hnav{display:none}
  .happly{margin-left:auto}
  .grid{grid-template-columns:1fr}
  .nbc{grid-template-columns:1fr}
  .nbc-ph{height:220px;object-position:50% 25%}
  .vc-foot{flex-direction:column;align-items:flex-start}
  .author{flex-direction:column}
}
