/* gogga.com */
:root {
  --red: #ED1C24;
  --red-deep: #B8121A;
  --ink: #231F20;
  --muted: #5A5455;
  --line: #E7E3E3;
  --wash: #F6F4F4;
  --white: #FFFFFF;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 16px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Header: logo, then the two sections */
.site-header { padding: 36px 16px 24px; text-align: center; }
.site-header .logo { display: block; max-width: 720px; margin: 0 auto; }
.site-nav { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--ink);
}
.site-nav a:hover { background: var(--wash); }
.site-nav a[aria-current="page"] { background: var(--ink); color: var(--white); }

/* Banner */
.banner { display: block; max-width: 1600px; margin: 0 auto; }
.banner img { width: 100%; max-height: 68vh; object-fit: cover; object-position: center 38%; }
@media (min-width: 1660px) { .banner img { border-radius: 16px; } }

/* Sections */
.section { padding: 64px 0 80px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section h1, .section h2 { margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.01em; }
.channel-link { color: var(--red-deep); font-weight: 600; text-decoration: none; }
.channel-link:hover { text-decoration: underline; }

/* Video grid */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 32px 24px; list-style: none; margin: 0; padding: 0; }
.video a { display: block; text-decoration: none; }
.video .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--wash); }
.video .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.video .thumb::after {
  content: "";
  position: absolute; inset: 0;
  margin: auto;
  width: 64px; height: 44px;
  border-radius: 12px;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 26px no-repeat;
  opacity: 0;
  transition: opacity .2s ease;
}
.video a:hover .thumb img, .video a:focus-visible .thumb img { transform: scale(1.04); }
.video a:hover .thumb::after, .video a:focus-visible .thumb::after { opacity: .95; }
.video h3 {
  margin: 14px 0 4px;
  font-size: 1.05rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video time { color: var(--muted); font-size: 0.9rem; }

.status { color: var(--muted); padding: 24px 0; }
.status a { color: var(--red-deep); font-weight: 600; }

/* Placeholder copy */
.coming-soon { color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.35rem); font-weight: 500; margin: 16px 0 0; }
.page-center { text-align: center; padding: 72px 16px 120px; }

/* Tools I use */
.tools-head { text-align: center; margin-bottom: 48px; }
.tools-intro { color: var(--muted); margin: 12px auto 0; max-width: 52ch; }
.tool-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.tool-filters button {
  font: inherit; font-weight: 600; font-size: 0.95rem;
  padding: 7px 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--wash); color: var(--ink);
}
.tool-filters button:hover { background: var(--line); }
.tool-filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 42vw), 1fr)); gap: 28px 20px; list-style: none; margin: 0; padding: 0; }
.tool-image { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: var(--white); padding: 16px; }
.tool-image img { width: 100%; height: 100%; object-fit: contain; }
.tool-image:hover { border-color: var(--red); }
.fav-badge { position: absolute; top: 10px; left: 10px; background: var(--red); color: var(--white); font-size: 0.75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tool-filters button.fav-filter { color: var(--red-deep); }
.tool-filters button.fav-filter[aria-pressed="true"] { background: var(--red); color: var(--white); }
.tool-category { margin: 12px 0 0; color: var(--red-deep); font-size: 0.8rem; font-weight: 600; }
.tool h3 { margin: 4px 0 0; font-size: 1rem; line-height: 1.4; font-weight: 600; }
.tool-name { text-decoration: none; }
.tool-name:hover { color: var(--red-deep); text-decoration: underline; }
.disclosure { color: var(--muted); font-size: 0.85rem; text-align: center; margin: 24px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .site-header { padding-top: 24px; }
  .section { padding: 48px 0 64px; }
  .tool-filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 20px -16px 0; padding: 0 16px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tool-filters::-webkit-scrollbar { display: none; }
  .tool-filters button { flex: 0 0 auto; }
  .tools-head { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .video .thumb img, .video .thumb::after { transition: none; }
}
