/* Shared Odd identity, matching the 3D shelf's cobalt scene. */
:root {
  color-scheme: dark;
  --odd-display: "Grandstander", "Iowan Old Style", Georgia, serif;
  --odd-body: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #355ea7;
  --paper: #355ea7;
  --ink: #f5f2ea;
  --muted: #d0d9e9;
  --accent: #ffd0ad;
  --accent-deep: #ffd0ad;
  --accent-soft: #2d508e;
  --orange: #ffad79;
  --line: #ffffff29;
  --card: #2e508b;
  --site-ink: var(--ink);
  --site-muted: var(--muted);
  --site-accent: var(--accent);
  --site-line: var(--line);
  --site-card: var(--card);
  --site-serif: var(--odd-display);
}
html { scroll-padding-top: 110px; }
body.odd-site {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 0%, #3c68b5 0%, transparent 70%), var(--bg);
  color: var(--ink);
  font-family: var(--odd-body);
  -webkit-font-smoothing: antialiased;
}
.odd-site .serif, .odd-site h1, .odd-site h2, .odd-site h3 {
  font-family: var(--odd-display);
}
.odd-site h1 { font-weight: 600; }
.odd-site a { color: var(--accent); text-underline-offset: 4px; }
.odd-site button, .odd-site input, .odd-site select { font-family: var(--odd-body); }
.odd-site a:focus-visible, .odd-site button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
}
.odd-header {
  position: sticky; top: 0; z-index: 30;
  margin: 0; padding: 0; border: 0;
  background: rgb(53 94 167 / .96);
  backdrop-filter: blur(12px);
}
.odd-header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: start; gap: 24px;
  padding: calc(24px + env(safe-area-inset-top, 0px)) 34px 24px;
}
.odd-site .odd-brand {
  display: grid; grid-template-columns: 40px auto; align-items: center;
  column-gap: 12px; justify-self: start;
  color: var(--ink); text-decoration: none;
}
.odd-brand img { display: block; width: 40px; height: 40px; border-radius: 50%; }
.odd-brand-copy { display: grid; gap: 3px; }
.odd-brand strong {
  font: 700 clamp(19px, 1.8vw, 27px)/1.1 var(--odd-display);
  letter-spacing: -.015em; white-space: nowrap;
}
.odd-brand-tagline {
  font: 500 9.3px/1.5 var(--odd-body);
  letter-spacing: .15em; text-transform: uppercase; text-align: center;
  color: var(--muted); white-space: nowrap;
}
.odd-nav {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 16px;
  font: 500 13.5px/1.4 var(--odd-body);
}
.odd-site .odd-nav a {
  color: #fafaf7; text-decoration: none; white-space: nowrap;
  text-shadow: 0 1px 3px #0006;
}
.odd-site .odd-nav a:hover, .odd-site .odd-nav a[aria-current] { color: var(--accent); }
.odd-site .odd-nav .odd-join {
  display: inline-flex; justify-content: center; align-items: center;
  width: 90px; height: 35px; flex-shrink: 0;
  color: #fff; text-shadow: none; font-weight: 600;
  background: linear-gradient(90deg, #4479c9, #599df8, #79b6ff, #599df8, #4479c9);
  background-size: 200% 100%; border: 1px solid #ffffff47;
  border-radius: 999px; box-shadow: inset 0 1px 0 #ffffff2e;
  animation: odd-join-flow 4s ease-in-out infinite;
}
.odd-site .odd-nav .odd-join:hover { color: #fff; border-color: #ffffff8c; }
.odd-edition {
  display: grid; gap: 3px; justify-self: end; text-align: right;
  font: 500 9.3px/1.5 var(--odd-body); letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted); padding-top: 5px;
}
.odd-site footer.site {
  margin: 0; padding: 36px 24px;
  background: transparent; border-top: 1px solid var(--line);
  color: var(--muted); font: 400 14px/1.6 var(--odd-body);
}
.odd-site footer.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; max-width: 1080px; margin: 0 auto;
}
.odd-site footer.site nav { display: flex; flex-wrap: wrap; gap: 16px; }
.odd-site footer.site a { color: var(--muted); }
.odd-site footer.site a:hover { color: var(--accent); }
.odd-site .btn.primary, .odd-site .store-btn:not(.soon), .odd-site a.cta:not(.secondary) {
  background: #ff9856; color: #20262c; border-color: #ff9856;
}
.odd-site .btn.ghost { color: var(--ink); }
.odd-site .eyebrow, .odd-site .text-link, .odd-site .work-links a,
.odd-site .creator-caption a, .odd-site .partnership-number { color: var(--accent); }
.odd-site .profile-heading h1 { font-size: clamp(38px, 5vw, 60px); }
.odd-site .profile-work h3 { font-size: clamp(24px, 4vw, 32px); }
.odd-site .profile-heading, .odd-site .work-card { min-width: 0; }
.odd-site .odd-legal { max-width: 46rem; }
.odd-site .odd-legal table { display: block; max-width: 100%; overflow-x: auto; }
.odd-site.odd-invite-page { display: block; padding: 0; }
.odd-invite { min-height: calc(100dvh - 160px); padding: 56px 24px; display: grid; place-items: center; }
.odd-site.odd-review-page header.top { top: 96px; }
.odd-site.odd-review-page input { background: var(--card); color: var(--ink); }
.odd-site .partnership-number { font-family: var(--odd-display); }
@keyframes odd-join-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (max-width: 1100px) {
  .odd-header-inner { grid-template-columns: 1fr auto; gap: 20px; }
  .odd-nav { grid-column: 1 / -1; grid-row: 2; }
  html { scroll-padding-top: 150px; }
  .odd-site.odd-review-page header.top { top: 144px; }
}
@media (max-width: 560px) {
  .odd-header-inner { padding: calc(22px + env(safe-area-inset-top, 0px)) 20px 18px; gap: 18px; }
  .odd-site .odd-brand { grid-template-columns: 32px auto; column-gap: 10px; }
  .odd-brand img { width: 32px; height: 32px; }
  .odd-brand-tagline { font-size: 8px; letter-spacing: .1em; }
  .odd-edition { display: none; }
  .odd-nav { gap: 8px 14px; font-size: 12.5px; }
  .odd-site .odd-nav .odd-join { width: 71px; height: 28px; }
  .odd-site.odd-review-page header.top { top: 156px; }
}
@media (prefers-reduced-motion: reduce) {
  .odd-site .odd-nav .odd-join { animation: none; }
}
