/* Dynasty Architect: the sales site. A college football media guide in the game's own navy and
   brass: condensed display type for headlines, a serif for reading, and one bold element, the era
   timeline. Red is only for the Buy buttons. */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-800.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-display: swap; src: url(fonts/source-serif-4.woff2) format("woff2"); }
:root {
  --navy: #13203f;
  --navy-2: #1b2b52;
  --page: #f4f6f9;
  --brass: #c9a24a;
  --brass-ink: #8a6510;
  --red: #c8302a;
  --red-hi: #dd3d36;
  --slate: #5b6680;
  --ink: #13203f;
  --rule: #d9dee8;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --read: "Source Serif 4", Georgia, serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--read); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); line-height: 0.98; margin: 0; letter-spacing: 0.005em; }
h2 { font-size: clamp(38px, 5vw, 58px); font-weight: 800; }
h3 { font-size: clamp(28px, 3vw, 36px); font-weight: 700; }
p { margin: 0 0 14px; max-width: 64ch; }

/* Buttons */
.btn { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: 0.02em; text-decoration: none; padding: 14px 26px 12px; border-radius: 4px; border: 0; cursor: pointer; }
.btn-buy { background: var(--red); color: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18); }
.btn-buy:hover { background: var(--red-hi); }
.btn-small { font-size: 18px; padding: 8px 16px 7px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 5; background: var(--navy); color: #fff; border-bottom: 3px solid var(--brass); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--brass); white-space: nowrap; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { font-family: var(--display); font-weight: 600; font-size: 19px; text-decoration: none; color: #dfe5f0; }
.top nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--brass); }

/* Hero: the cover of the media guide. */
.hero { background: var(--navy); color: #fff; padding: 64px 0 76px; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 9.09%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.hero-title-small { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--brass); margin: 0 0 10px; }
.hero h1 { font-size: clamp(48px, 5.2vw, 76px); font-weight: 800; margin-bottom: 22px; }
.lede { color: #d6dcea; font-size: 19px; }
.buy { margin-top: 28px; }
.buy-note { font-size: 15px; color: #b9c3d8; margin-top: 12px; }
.hero-shot { margin: 0; }
.hero-shot img { border-radius: 6px; box-shadow: 0 0 0 2px var(--brass), 0 28px 60px rgba(0, 0, 0, 0.45); }
.hero-shot figcaption { font-size: 15px; color: #b9c3d8; margin-top: 14px; max-width: 60ch; }

/* The era timeline: the one bold element. */
.eras { padding: 84px 0 64px; }
.section-lede { color: var(--slate); margin-top: 14px; }
.timeline { list-style: none; max-width: var(--wrap); margin: 40px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 44px; }
.timeline li { scroll-snap-align: start; position: relative; padding: 60px 22px 0 0; border-top: 4px solid var(--navy); display: grid; align-content: start; gap: 6px; }
.timeline li::before { content: ""; position: absolute; top: -12px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--page); border: 4px solid var(--navy); }
.timeline .yr { position: absolute; top: 20px; left: 0; font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--navy); }
.timeline b { font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.1; margin-top: 8px; }
.timeline li > span:last-child { font-size: 16px; color: var(--slate); line-height: 1.5; }
.timeline li.now { border-top-color: var(--brass); }
.timeline li.now::before { background: var(--brass); border-color: var(--brass); }
.timeline li.now .yr { color: var(--brass-ink); }
.eras-note { margin-top: 30px; color: var(--slate); }

/* Features */
.game { padding: 76px 0 40px; background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.game h2 { margin-bottom: 44px; }
.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 44px; align-items: center; padding: 0 0 64px; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.feature.flip .feature-copy { order: 2; }
.feature h3 { margin-bottom: 16px; }
.feature img { border-radius: 6px; box-shadow: 0 0 0 1px var(--rule), 0 18px 40px rgba(19, 32, 63, 0.18); }
.feature p { font-size: 17px; }

/* Quick facts: a media guide's facts page. */
.facts { padding: 80px 0; }
.facts-in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.facts table { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts tr:first-child th, .facts tr:first-child td { border-top: 3px solid var(--navy); }
.facts th { font-family: var(--display); font-weight: 700; font-size: 22px; width: 150px; padding-right: 18px; }
.facts td { font-size: 17px; }

/* FAQ */
.faq { padding: 76px 0; background: #fff; border-top: 1px solid var(--rule); }
.faq-in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); column-gap: 40px; row-gap: 0; align-items: start; }
.faq-in h2 { grid-row: span 6; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 3px solid var(--navy); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; font-size: 23px; padding: 14px 32px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 28px; color: var(--brass-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { font-size: 17px; color: #2c3858; }
.faq a { color: var(--navy); text-decoration-color: var(--brass); text-underline-offset: 3px; }

/* Closer and footer */
.closer { background: var(--navy); color: #fff; padding: 72px 0; text-align: center; border-top: 3px solid var(--brass); }
.closer h2 { margin-bottom: 26px; }
.closer .buy-note { margin: 14px auto 0; }
.foot { background: #0e1830; color: #b9c3d8; font-size: 15px; padding: 24px 0; }
.foot-in { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-in span { margin-right: auto; }
.foot a { color: #dfe5f0; }

/* Phones and small tablets */
@media (max-width: 900px) {
  .top nav { display: none; }
  .top .btn-small { margin-left: auto; }
  .hero { padding: 40px 0 52px; }
  .hero-in, .feature, .feature.flip, .facts-in, .faq-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature.flip .feature-copy { order: 0; }
  .feature { padding-bottom: 48px; }
  .faq-in h2 { grid-row: auto; margin-bottom: 24px; }
  .facts th { width: 110px; font-size: 19px; }
  .timeline { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 24px 18px; margin-top: 26px; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .brand span { font-size: 21px; }
  .btn { font-size: 21px; padding: 12px 20px 10px; }
  .facts th, .facts td { display: block; width: auto; }
  .facts th { padding-bottom: 0; border-bottom: 0; }
  .facts tr:first-child td { border-top: 0; }
}
