/* NFLBOB.COM — personal hub */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #12141a;
  --bg-2: #1b1e26;
  --bg-3: #242833;
  --text: #f4f0e6;
  --muted: #c9c2b3;
  --soft: #b3ab9c;
  --brass: #e4c29a;
  --ink: #1a140c;
  --line: rgba(244, 240, 230, 0.14);
  --line-strong: rgba(244, 240, 230, 0.28);
  --serif: "Newsreader", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, "Liberation Serif", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, "Liberation Sans", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", "Liberation Mono", Consolas, monospace;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  min-height: 100%;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background-color: #07080b;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text);
  background-color: transparent;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page-bg {
  position: fixed;
  z-index: 0;
  left: 0;
  right: 0;
  top: 0;
  width: auto;
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  min-height: 100lvh;
  pointer-events: none;
  background-color: #07080b;
  background-image: url("../images/backgrounds/bg-04.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

html[data-bg="04"] .page-bg { background-image: url("../images/backgrounds/bg-04.jpg"); }
html[data-bg="05"] .page-bg { background-image: url("../images/backgrounds/bg-05.jpg"); }
html[data-bg="06"] .page-bg { background-image: url("../images/backgrounds/bg-06.jpg"); }
html[data-bg="07"] .page-bg { background-image: url("../images/backgrounds/bg-07.jpg"); }
html[data-bg="08"] .page-bg { background-image: url("../images/backgrounds/bg-08.jpg"); }
html[data-bg="11"] .page-bg { background-image: url("../images/backgrounds/bg-11.jpg"); }
html[data-bg="12"] .page-bg { background-image: url("../images/backgrounds/bg-12.jpg"); }
html[data-bg="13"] .page-bg { background-image: url("../images/backgrounds/bg-13.jpg"); }
html[data-bg="14"] .page-bg { background-image: url("../images/backgrounds/bg-14.jpg"); }
html[data-bg="15"] .page-bg { background-image: url("../images/backgrounds/bg-15.jpg"); }
html[data-bg="16"] .page-bg { background-image: url("../images/backgrounds/bg-16.jpg"); }
html[data-bg="17"] .page-bg { background-image: url("../images/backgrounds/bg-17.jpg"); }
html[data-bg="18"] .page-bg { background-image: url("../images/backgrounds/bg-18.jpg"); }
html[data-bg="19"] .page-bg { background-image: url("../images/backgrounds/bg-19.jpg"); }
html[data-bg="20"] .page-bg { background-image: url("../images/backgrounds/bg-20.jpg"); }

.hero-space {
  display: none;
}

.sheet {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: calc(100vh - 12rem) auto auto;
  grid-template-rows: calc(100svh - 12rem) auto auto;
  grid-template-rows: calc(100dvh - 12rem) auto auto;
  flex: 1 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  background: transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.sheet > * {
  min-width: 0;
  max-width: 100%;
}

.sheet .flag {
  text-shadow: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

img,
iframe,
video,
svg,
canvas,
pre,
table {
  max-width: 100%;
}

img,
video {
  height: auto;
}

p,
li,
a,
h1,
h2,
h3,
td,
th,
.lede,
.hint,
.card-text,
.footer-contact,
.footer-sub,
.item-link,
.bookmark-url,
.social-url {
  overflow-wrap: anywhere;
  word-break: break-word;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

::selection {
  background: var(--brass);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-160%);
  background: var(--brass);
  color: var(--ink);
  font-weight: 700;
  padding: 0.55rem 0.8rem;
  z-index: 5;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: 100%;
  max-width: 70rem;
  min-width: 0;
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 1.75rem 0 3.25rem;
}

main:focus,
main:focus-visible {
  outline: none;
}

/* Header */

.site-header {
  border-top: 3px solid var(--brass);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-top: env(safe-area-inset-top);
}

.masthead {
  display: none;
}

.brand-name {
  display: inline-block;
  max-width: 100%;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 7.2vw, 3.25rem);
  letter-spacing: 0.12em;
  padding-left: 0.12em;
  line-height: 1.05;
  text-decoration: none;
  color: var(--text);
}

a.brand-name:hover {
  color: var(--brass);
}

.subtitle {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.subtitle a:hover {
  color: var(--brass);
}

.primary {
  border-block: 1px solid var(--line);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.2rem;
  list-style: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0.3rem max(0.35rem, env(safe-area-inset-right)) 0.3rem max(0.35rem, env(safe-area-inset-left));
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.site-nav > li {
  min-width: 0;
  max-width: 100%;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  text-align: center;
  white-space: normal;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(7, 8, 11, 0.22);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--brass);
}

/* Home */

.block + .block {
  margin-top: 2.4rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.social-grid,
.hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.social-grid > *,
.hub > * {
  min-width: 0;
  max-width: 100%;
}

.social-card,
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(244, 240, 230, 0.55);
  border-radius: 8px;
  padding: 1rem 1.05rem 1.05rem;
  min-height: 44px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.social-card {
  justify-content: space-between;
  min-height: 9.25rem;
  padding: 1.15rem 1.15rem 1rem;
  border-top: 2px solid var(--brass);
}

.social-card:hover,
.card:hover {
  border-color: var(--brass);
  background: rgba(7, 8, 11, 0.22);
}

.social-kicker,
.card-title {
  font-family: var(--serif);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.social-kicker {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
}

.social-handle {
  font-size: 1.05rem;
}

.social-url,
.card-text {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.social-url {
  margin-top: auto;
  padding-top: 0.85rem;
  overflow-wrap: anywhere;
  color: var(--soft);
  font-size: 0.92rem;
}

.card {
  min-height: 7.25rem;
}

.card-title {
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .social-grid,
  .hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1020px) {
  .hub {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .hub .card {
    grid-column: span 3;
  }

  .hub .card:nth-child(n + 5) {
    grid-column: span 4;
  }
}

/* Inner pages */

.page-head {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.page-title {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(2rem, 4vw, 2.65rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lede {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hint {
  margin-top: 0.65rem;
  color: var(--soft);
  font-size: 0.98rem;
}

.panel + .panel,
.album + .album,
.news-section + .news-section {
  margin-top: 2rem;
}

.panel h2,
.album h2,
.news-section h2,
.category h2 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.kicker {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.text-link {
  color: var(--brass);
}

.back-top {
  margin-top: 2rem;
}

/* Blog */

.measure {
  max-width: 40rem;
}

.post-list {
  border-top: 1px solid var(--line);
}

.post {
  padding: 1.25rem 0 1.35rem;
  border-bottom: 1px solid var(--line);
}

.flag {
  display: inline-block;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: var(--brass);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post time {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.post h2 {
  margin-top: 0.3rem;
  font-family: var(--serif);
  font-weight: 550;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.post p,
.post ul {
  margin-top: 0.55rem;
}

.post ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.post li + li {
  margin-top: 0.2rem;
}

.post li::marker {
  color: var(--brass);
}

.prompt-box {
  background: transparent;
  border: 1px solid rgba(244, 240, 230, 0.55);
  border-top: 2px solid var(--brass);
  border-radius: 8px;
  padding: 1.1rem 1.15rem 1.2rem;
  margin-bottom: 2rem;
}

.prompt-box h2 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.prompt-sub {
  margin: 1.2rem 0 0;
  font-size: 1.15rem;
  font-weight: 650;
}

.prompt-copy {
  margin: 0.85rem 0 0;
  padding: 0.9rem 1rem;
  max-width: 100%;
  min-width: 0;
  background: rgba(7, 8, 11, 0.22);
  border: 1px solid rgba(244, 240, 230, 0.55);
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow: none;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
}

.checklist,
.checks {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.checklist > li,
.checks > li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.checklist label,
.check-row {
  display: block;
  font-weight: 650;
}

.checklist textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  min-height: 4.25rem;
  padding: 0.6rem 0.7rem;
  font: inherit;
  color: var(--text);
  background: rgba(7, 8, 11, 0.5);
  border: 1px solid rgba(244, 240, 230, 0.55);
  text-shadow: none;
  border-radius: 6px;
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 550;
  min-height: 44px;
}

.check-row input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--brass);
  flex: 0 0 auto;
}

.replace-note {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Stocks */

.scroll-hint {
  display: none;
  margin-top: 0.45rem;
  color: var(--soft);
  font-size: 0.95rem;
}

.table-wrap {
  margin-top: 0.85rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  border-color: rgba(244, 240, 230, 0.55);
}

table {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

thead th {
  border-top: none;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

tbody th {
  font-weight: 650;
  white-space: normal;
}

.blank {
  color: var(--soft);
}

@media (max-width: 700px) {
  .scroll-hint {
    display: block;
  }
}

/* Photos */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 0.75rem;
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
}

.frame {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  min-width: 0;
  max-width: 100%;
  text-align: center;
  padding: 0.5rem;
  color: var(--muted);
  background-color: transparent;
  background-image:
    linear-gradient(var(--line-strong), var(--line-strong)),
    linear-gradient(var(--line-strong), var(--line-strong));
  background-size: 28% 1px, 1px 28%;
  background-position: center, center;
  background-repeat: no-repeat;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.frame:has(img) {
  padding: 0;
  border-style: solid;
  background-image: none;
  overflow: hidden;
}

.frame:has(img) span {
  display: none;
}

@media (min-width: 800px) {
  .photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Bookmarks */

.categories {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 0.85rem;
}

.category {
  min-width: 0;
  max-width: 100%;
  background: transparent;
  border: 1px solid rgba(244, 240, 230, 0.55);
  border-radius: 8px;
  padding: 0.95rem 1rem 0.35rem;
}

.bookmark-list {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
}

.bookmark-list li {
  display: grid;
  gap: 0.12rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.bookmark-title {
  font-size: 1.05rem;
}

.bookmark-url {
  color: var(--soft);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.ext-link {
  display: grid;
  gap: 0.12rem;
  text-decoration: none;
}

.ext-link:hover .bookmark-title {
  color: var(--brass);
}

.link-note {
  margin-top: 0.2rem;
  color: var(--soft);
  font-size: 0.95rem;
}

@media (min-width: 800px) {
  .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-layout .categories {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* News */

.news-section {
  scroll-margin-top: 1rem;
}

.news-list {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
}

.news-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.news-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.news-list h3 {
  margin-top: 0.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.item-link {
  margin-top: 0.15rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.news-section:target h2 {
  color: var(--brass);
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.8rem;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(244, 240, 230, 0.55);
  border-radius: 999px;
}

.jump a:hover {
  border-color: var(--brass);
}

@media (min-width: 960px) {
  .news-layout {
    display: grid;
    grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .news-layout > * {
    min-width: 0;
    max-width: 100%;
  }

  .jump {
    position: sticky;
    top: 1rem;
    flex-direction: column;
    margin-bottom: 0;
  }

  .jump a {
    border-radius: 8px;
  }
}

/* Footer */

.site-footer {
  margin-top: auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 calc(1.6rem + env(safe-area-inset-bottom));
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 1rem 2rem;
}

.footer-grid > * {
  min-width: 0;
  max-width: 100%;
}

.footer-brand {
  font-family: var(--serif);
  letter-spacing: 0.12em;
  padding-left: 0.12em;
  color: var(--text);
  font-size: 0.95rem;
}

.footer-sub {
  margin-top: 0.2rem;
  font-size: 0.98rem;
}

.footer-contact {
  margin-top: 0.15rem;
  font-size: 0.98rem;
}

.footer-contact a {
  color: var(--text);
}

.footer-sub a:hover,
.footer-contact a:hover {
  color: var(--brass);
}

.footer-social,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.9rem;
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.footer-social a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.footer-social a:hover,
.footer-links a:hover {
  color: var(--text);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    align-items: end;
  }

  .footer-links {
    justify-content: flex-end;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media (forced-colors: active) {
  :focus-visible {
    outline-color: CanvasText;
  }

  .card,
  .social-card,
  .category,
  .frame,
  .table-wrap,
  .jump a {
    border: 1px solid CanvasText;
  }
}

@media print {
  :root {
    --bg: #fff;
    --bg-2: #fff;
    --bg-3: #fff;
    --text: #111;
    --muted: #222;
    --soft: #333;
    --brass: #111;
    --line: rgba(0, 0, 0, 0.2);
    --line-strong: rgba(0, 0, 0, 0.45);
  }

  body {
    background: #fff;
    background-image: none;
  }

  .skip,
  .jump,
  .page-bg,
  .hero-space {
    display: none;
  }

  .sheet {
    display: block;
    background: #fff;
    text-shadow: none;
  }
}
