/* Joimo. A record of the company, 2008–2013.
   Newsreader and Outfit are self-hosted under the SIL Open Font License. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/newsreader-400.woff2") format("woff2");
  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: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/newsreader-500.woff2") format("woff2");
  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: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/newsreader-400-italic.woff2") format("woff2");
  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: "Newsreader";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/newsreader-500-italic.woff2") format("woff2");
  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: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/outfit-400.woff2") format("woff2");
  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: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/outfit-500.woff2") format("woff2");
  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: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/outfit-600.woff2") format("woff2");
  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 {
  --paper: #f3eee4;
  --paper-deep: #e6dfd0;
  --ink: #1c1c1c;
  --ink-soft: #3d3a35;
  --muted: #5e594f;
  --line: rgba(28, 28, 28, 0.14);
  --blue: #28a8e0;
  --blue-deep: #0e6e9a;
  --grass: #164832;
  --grass-deep: #0e3324;
  --chalk: #f3eee4;
  --night: #141414;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header: 6.5rem;
  --wrap: 70rem;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
}

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

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

img { max-width: 100%; height: auto; }

p { margin: 0; }

a { color: inherit; }

.skip {
  position: fixed;
  z-index: 40;
  left: 1rem;
  top: 0.75rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}

.skip:focus { transform: none; }

.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;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 4.6rem;
  width: auto;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.header-meta .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--blue);
}

/* Hero */

.hero,
.acquired,
.pull,
.sports,
.places,
.season,
.founders,
.now {
  scroll-margin-top: calc(var(--header) + 0.5rem);
}

.hero {
  padding: 4.5rem 0 4.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 38rem) minmax(12rem, 1fr);
  gap: 2rem 3rem;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7.4vw, 6.6rem);
  max-width: 9ch;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.lede {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}

.jumps a {
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 0.1rem;
}

.jumps a:hover { color: var(--blue-deep); }

.hero-art {
  color: rgba(28, 28, 28, 0.55);
  justify-self: end;
  width: min(100%, 26rem);
}

.diamond {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.diamond .ink {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.diamond .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.1s cubic-bezier(.22, .7, .2, 1) forwards;
}

.diamond .draw-2 { animation-delay: 0.35s; }
.diamond .draw-3 { animation-delay: 0.7s; }

.diamond .base {
  fill: currentColor;
  opacity: 0;
  animation: appear 0.6s ease 1.5s forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* Acquisition */

.acquired {
  background: var(--blue);
  color: #082433;
  padding: 4.75rem 0 5rem;
}

.acquired .kicker { color: #083044; }

.acquired h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.acquired .lede {
  color: #083044;
  max-width: 36rem;
  margin-top: 1.35rem;
}

.buyers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 2.75rem;
  background: rgba(8, 36, 51, 0.22);
  border-top: 1px solid rgba(8, 36, 51, 0.22);
}

.buyers a {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem 1.25rem 1.5rem 0;
  text-decoration: none;
  background: var(--blue);
}

.buyers a:last-child { padding-left: 1.5rem; }

.buyers .where {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.buyers .who {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.buyers .note {
  color: #083044;
  max-width: 28rem;
}

.buyers a:hover .who { text-decoration: underline; text-underline-offset: 0.14em; }

/* Quote */

.pull {
  padding: 4.5rem 0 1rem;
}

.pull blockquote {
  margin: 0;
  max-width: 46rem;
}

.pull blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pull blockquote p::before { content: "“"; }

.pull figcaption {
  margin-top: 1.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Sports */

.sports {
  margin-top: 4rem;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(40, 168, 224, 0.22), transparent 55%),
    linear-gradient(180deg, var(--grass), var(--grass-deep));
  color: var(--chalk);
  padding: 4.75rem 0 5rem;
}

.sports .kicker { color: #8fd4f3; }

.sports h2 {
  margin: 0 0 2.25rem;
  max-width: 14ch;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
}

.roster {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  counter-reset: sport;
  border-top: 1px solid rgba(243, 238, 228, 0.22);
}

.roster li {
  counter-increment: sport;
  padding: 1.45rem 2rem 1.55rem 0;
  border-bottom: 1px solid rgba(243, 238, 228, 0.22);
}

.roster li:nth-child(odd) {
  padding-right: 2.25rem;
  border-right: 1px solid rgba(243, 238, 228, 0.18);
}

.roster li:nth-child(even) { padding-left: 2.25rem; }

.roster h3 {
  margin: 0;
  color: white;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-style: italic;
}

.roster h3::before {
  content: counter(sport, decimal-leading-zero);
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #8fd4f3;
}

.roster p {
  margin-top: 0.55rem;
  max-width: 36rem;
  color: rgba(243, 238, 228, 0.84);
}

.also {
  margin-top: 1.5rem;
  max-width: 40rem;
  color: rgba(243, 238, 228, 0.72);
  font-size: 0.98rem;
}

/* Coasts and season */

.places,
.season,
.founders {
  padding: 4.75rem 0 0;
}

.places h2,
.season h2 {
  margin: 0 0 1.75rem;
  font-size: clamp(2.5rem, 5vw, 4.15rem);
  max-width: 16ch;
}

.coasts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coasts h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-style: italic;
}

.coasts p { color: var(--ink-soft); max-width: 32rem; }

.cityline {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  counter-reset: step;
}

.steps li { counter-increment: step; }

.steps h3 {
  margin: 0;
  font-size: 1.7rem;
  font-style: italic;
  line-height: 1.1;
}

.steps h3::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--blue-deep);
}

.steps p {
  margin-top: 0.7rem;
  color: var(--ink-soft);
}

/* Founders */

.founders { padding-bottom: 5rem; }

.founders h2 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.founders h2 .small {
  display: block;
  margin: 0.75rem 0;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.founders h2 .small:first-child { margin-top: 0; }

.founders .lede { margin-top: 1.75rem; }

/* Close */

.now {
  background: var(--night);
  color: var(--chalk);
  padding: 4.75rem 0 2rem;
}

.now .kicker { color: #8fd4f3; }

.now h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  color: white;
}

.now .lede {
  color: rgba(243, 238, 228, 0.8);
  margin-top: 1.25rem;
}

.now-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 2.5rem;
  background: rgba(243, 238, 228, 0.16);
  border-top: 1px solid rgba(243, 238, 228, 0.16);
}

.now-links a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.3rem 1rem 1.4rem 0;
  text-decoration: none;
  background: var(--night);
}

.now-links a + a { padding-left: 1.5rem; }

.now-links strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.now-links span {
  color: rgba(243, 238, 228, 0.66);
  font-size: 0.95rem;
}

.now-links a:hover strong { color: #8fd4f3; }

.site-footer {
  background: var(--night);
  color: rgba(243, 238, 228, 0.66);
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid rgba(243, 238, 228, 0.12);
  font-size: 0.95rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.foot a { color: var(--chalk); text-underline-offset: 0.18em; }

.foot a:hover { color: #8fd4f3; }

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

/* 404 */

.missing {
  padding: 5rem 0 7rem;
  min-height: calc(100dvh - var(--header));
}

.missing h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.missing .back {
  display: inline-block;
  margin-top: 1.75rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 0.1rem;
}

.missing .back:hover { color: var(--blue-deep); }

@media (max-width: 860px) {
  :root { --header: 5.4rem; }

  .brand img { height: 3.7rem; }

  .hero { padding: 3rem 0 3.4rem; }

  .hero-grid { grid-template-columns: 1fr; }

  .hero-art { display: none; }

  .hero h1 { max-width: none; }

  .buyers,
  .coasts,
  .steps,
  .now-links,
  .roster {
    grid-template-columns: 1fr;
  }

  .buyers a,
  .buyers a:last-child,
  .now-links a,
  .now-links a + a,
  .roster li,
  .roster li:nth-child(odd),
  .roster li:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .header-meta { letter-spacing: 0.08em; }
}

@media (max-width: 520px) {
  .wrap { width: min(var(--wrap), calc(100% - 1.75rem)); }
}

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

  .diamond .draw,
  .diamond .base {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@media print {
  .site-header { position: static; }
  .acquired, .sports, .now, .site-footer {
    background: white;
    color: black;
  }
  .now-links a, .buyers a { background: white; }
  a { text-decoration: underline; }
}
