* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, Helvetica, sans-serif; background: #fff; color: #111; line-height: 1.5; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
a { color: #111; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Top band — Hariz's own image; the header text sits on its black top, no separate black bar */
.top-band { position: relative; width: 100%; aspect-ratio: 2048 / 208; background: url(images/header-splash-v8.jpg) center top / 100% 100% no-repeat; }
.site-header { background: transparent; color: #fff; padding: 4px 0 0; position: absolute; top: 0; left: 0; right: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { color: #fff; font-size: 28px; font-weight: 900; letter-spacing: -1px; line-height: 1; text-decoration: none; }
.wordmark:hover { text-decoration: none; }
.site-nav { display: flex; gap: 30px; font-size: 16px; font-weight: 700; }
.site-nav a { color: #fff; }
.site-nav a:hover { text-decoration: underline; }

/* Bottom band — Hariz's own image flipped; the footer text sits on its black bottom, no separate black bar */
.bottom-band { position: relative; width: 100%; aspect-ratio: 2048 / 208; background: url(images/footer-splash-v8.jpg) center top / 100% 100% no-repeat; }

/* Hero — big bold headline left, photo right */
.hero { display: flex; gap: 32px; align-items: center; padding: 44px 0 8px; }
.hero-text { flex: 1 1 45%; }
.hero-media { flex: 1 1 55%; }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-radius: 4px; }
.hero h1 { font-size: 44px; font-weight: 900; line-height: 1.08; letter-spacing: -1px; margin-bottom: 20px; }
.btn { display: inline-block; font-size: 17px; font-weight: 700; padding: 13px 26px; border-radius: 999px; text-decoration: none; }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: #222; text-decoration: none; }
.btn-light { background: #fff; color: #000; border: 1px solid #000; }
.btn-light:hover { background: #f0f0f0; text-decoration: none; }

/* Sections — white heading on a wide black brush banner */
.section { padding: 18px 0 8px; margin-top: 22px; }
.brush-title { background: url(images/brush-stroke.png) left center / 100% 100% no-repeat; color: #fff; font-size: 40px; font-weight: 900; padding: 8px 26px; margin-bottom: 22px; letter-spacing: -.5px; display: block; }
.section-intro { font-size: 16px; color: #333; margin: -6px 0 20px; max-width: 760px; }
.meta { font-size: 13px; color: #777; }
.more-videos { font-size: 15px; margin-top: 14px; font-weight: 700; }
.more-videos a { color: #111; }

/* Video cards */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video-card a { color: #111; display: block; }
.video-card a:hover { text-decoration: none; }
.video-card a:hover h3 { text-decoration: underline; }
.thumb { position: relative; border-radius: 6px; overflow: hidden; }
.thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.88); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.video-card h3 { font-size: 19px; font-weight: 800; margin: 10px 0 4px; line-height: 1.25; }
.video-card .meta { font-size: 14px; }

/* Post cards — horizontal: thumb left, text right */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card a { color: #111; display: flex; gap: 14px; align-items: flex-start; }
.post-card a:hover { text-decoration: none; }
.post-card a:hover h3 { text-decoration: underline; }
.card-thumb { flex: 0 0 42%; border-radius: 6px; overflow: hidden; }
.card-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.card-thumb img.card-logo { object-fit: contain; background: #000; padding: 6px 0; }
.card-body { flex: 1; min-width: 0; }
.card-body h3 { font-size: 19px; font-weight: 800; line-height: 1.2; margin-bottom: 6px; }
.excerpt { font-size: 14px; color: #444; line-height: 1.45; margin-bottom: 8px; }
.card-body .meta { display: flex; align-items: center; gap: 5px; font-size: 13px; }
.card-body .meta svg { flex: none; }

/* Pagination */
.pagination { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 26px 0 6px; }
.pg-btn { background: #fff; color: #000; border: 1px solid #000; border-radius: 6px; padding: 8px 14px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: Arial, Helvetica, sans-serif; }
.pg-btn:hover { background: #f0f0f0; }
.pg-btn.active { background: #000; color: #fff; }
.pg-btn:disabled { opacity: .35; cursor: default; }
.pg-status { font-size: 14px; color: #555; margin-left: 8px; }

/* Links */
.links { border-top: 1px solid #e5e5e5; }
.link-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* Full post page */
.post-page { padding: 30px 0 10px; max-width: 760px; margin: 0 auto; }
.post h3 { font-size: 28px; font-weight: 900; margin: 6px 0 12px; line-height: 1.2; }
.post p { margin-bottom: 12px; font-size: 17px; line-height: 1.6; }
.post-img { width: 100%; height: auto; display: block; margin-bottom: 14px; border-radius: 8px; }
.back-link { font-size: 15px; margin-top: 22px; font-weight: 700; }

/* Footer — text on the black bottom of Hariz's flipped image */
.site-footer { background: transparent; color: #ddd; position: absolute; bottom: 0; left: 0; right: 0; padding: 0 0 6px; font-size: 13px; }
.site-footer a { color: #fff; }
.site-footer p { margin-bottom: 2px; }

@media (max-width: 860px) {
  .video-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero h1 { font-size: 32px; }
  .brush-title { font-size: 32px; }
  /* Narrow screens: keep the bands tall enough for the text on the image (cover crops the texture sides only, no squash) */
  .top-band { aspect-ratio: auto; height: 92px; background-size: cover; background-position: center top; }
  .bottom-band { aspect-ratio: auto; height: 88px; background-size: cover; background-position: center bottom; }
}
@media (max-width: 560px) {
  .wordmark { font-size: 22px; }
  .site-nav { gap: 12px; font-size: 14px; }
  .site-sub { font-size: 9px; letter-spacing: 2px; }
  .video-grid, .post-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 30px; }
  .hero h1 { font-size: 26px; }
  .brush-title { font-size: 26px; padding: 6px 20px; }
  .card-thumb { flex-basis: 38%; }
}

/* Header brand — logo circle + wordmark */
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-text { display: flex; flex-direction: column; }
.site-sub { font-size: 10px; letter-spacing: 2.5px; color: #ddd; }
.site-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
@media (max-width: 560px) {
  .site-logo { width: 32px; height: 32px; }
}

/* Section headings — Hariz's own brush images */
.brush-img { width: 80%; height: auto; display: block; margin-bottom: 22px; }

/* Sticky footer — footer stays at the bottom even on short pages */
main { flex: 1 0 auto; }
.top-band, .bottom-band { flex: none; }
