/* ════════════════════════════════════════════
   C,Watts — centralized site
   Merged from cwattsince88 + mostlyapipedream
   Tumblr theme code. Colors:
   body #363636 · black #101010 · grey #eeeeee
   ════════════════════════════════════════════ */

@import url('https://rsms.me/inter/inter-ui.css');

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; }
@supports (font-variation-settings: normal) {
  html.inter { font-family: 'Inter UI var alt', sans-serif; }
}
html.inter { font-family: 'Inter UI', sans-serif; }

body {
  background: #ffffff;
  color: #363636;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-size: .8rem;
  line-height: 1.8rem;
}
::selection { background: #cccccc; }
a { text-decoration: none; color: #888; transition: color .2s; }
a:hover { color: #101010; }
ul { list-style: none; }

/* ─── Sidebar ─── */
#sidebar {
  position: fixed;
  top: 0; left: 0;
  height: 100%;
  width: 240px;
  background: rgba(255,255,255,0.92);
  z-index: 9998;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
#sidebar.open { transform: translateX(0); }
#sidebar-inner { padding: 90px 30px 40px; }
#sidebar h2 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #101010;
  margin-bottom: 8px;
}
#sidebar h2 a { color: #101010; }
#sidebar .desc {
  font-size: .78rem;
  color: #888;
  line-height: 1.7;
  margin-bottom: 20px;
  word-break: break-word;
}
#sidebar-links {
  border-top: 1px solid #eeeeee;
  padding-top: 14px;
}
#sidebar-links a {
  display: block;
  font-size: .78rem;
  color: #888;
  border-left: 2px solid #eeeeee;
  padding: 2px 14px;
  margin-bottom: 10px;
  transition: color .2s, border-color .2s;
}
#sidebar-links a:hover,
#sidebar-links a.here { color: #101010; }
#sidebar-links a:hover,
#sidebar-links a.here { border-left-color: #101010; }

/* ─── Logo trigger ─── */
#logo-trigger {
  position: fixed;
  top: 28px; left: 32px;
  z-index: 9999;
  cursor: pointer;
  display: flex;
  align-items: center;
}
#logo-trigger img {
  max-width: 110px;
  max-height: 38px;
  width: auto; height: auto;
  object-fit: contain;
  opacity: .75;
  transition: opacity .25s;
  display: block;
}
#logo-trigger:hover img,
#logo-trigger.active img { opacity: 1; }

/* ─── Home: main / stage / nav / ask ─── */
#main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 32px 60px;
}
.shell { width: 100%; max-width: 1080px; }
.stage { width: 100%; }
.slot { display: none; width: 100%; }
.slot.on { display: block; }
.slot iframe { width: 100%; border: none; display: block; }
.slot iframe[src*="youtube"] { aspect-ratio: 16/9; height: auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  opacity: 0;
  transition: opacity .3s;
}
.shell:hover .nav,
.shell:focus-within .nav,
.nav.peek { opacity: 1; }
.nav.solo { display: none; }
.nav button {
  background: none; border: none; cursor: pointer;
  color: #cccccc; padding: 6px; font-size: 18px; line-height: 1;
  transition: color .2s; -webkit-tap-highlight-color: transparent;
}
.nav button:hover { color: #101010; }
.nav span { font-size: 10px; letter-spacing: .12em; color: #cccccc; }

.ask-bar {
  margin-top: 40px; padding-top: 16px;
  display: flex; align-items: center;
}
.ask-bar input {
  flex: 1; border: none;
  border-bottom: 1px solid #eeeeee;
  outline: none; background: transparent;
  font-family: inherit; font-size: 11px; color: #101010;
  letter-spacing: .04em; padding: 4px 0;
  -webkit-appearance: none; border-radius: 0;
  transition: border-color .2s;
}
.ask-bar input::placeholder { color: #dddddd; }
.ask-bar input:focus { border-bottom-color: #101010; }
.ask-bar button {
  background: none; border: none; cursor: pointer;
  color: #dddddd; padding: 4px 0 4px 12px;
  font-family: inherit; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  transition: color .2s; -webkit-tap-highlight-color: transparent;
}
.ask-bar button:hover { color: #101010; }

/* ─── Horizontal pages ─── */
body.hpage { overflow: hidden; height: 100vh; }
#hscroll {
  height: 100vh;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
#hscroll::-webkit-scrollbar { display: none; }
#hscroll .lead-space { display: inline-block; width: 140px; height: 1px; }
#hscroll .tail-space { display: inline-block; width: 80px; height: 1px; }

#hscroll article {
  display: inline-block;
  vertical-align: top;
  white-space: normal;
  height: 100vh;
  margin: 0 20px;
  color: #363636;
  font-size: 1rem;
}
#hscroll article .post_inner {
  position: relative;
  padding: 0 20px;
  margin-top: 15vh;
}
#hscroll article figure { text-align: center; }
#hscroll article img,
#hscroll article video {
  width: auto; height: auto;
  max-height: 50vh;
  max-width: 80vw;
  vertical-align: baseline;
  display: block;
}
#hscroll article .post-footer {
  padding-left: 12px;
  margin: 6px 0;
  border-left: solid 2px #363636;
  font-size: .9rem;
  line-height: 1.8;
}
#hscroll article .post-footer a { color: #888; }
#hscroll article .post-footer a:hover { color: #101010; }

/* page heading, bottom-left (from refs theme tag pages) */
.page-heading {
  position: fixed;
  bottom: 60px; left: 40px;
  border-left: solid 2px #eeeeee;
  padding-left: 12px;
  line-height: 1.6rem;
  font-size: .78rem;
  color: #888;
  z-index: 10;
}

/* ─── Works panels ─── */
#hscroll article.panel { white-space: normal; }
#hscroll article.panel .post_inner { width: min(80vw, 640px); }
#hscroll article.panel iframe { width: 100%; border: none; display: block; }
.sc-credit {
  font-size: 10px; color: #cccccc;
  line-break: anywhere; word-break: normal;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-weight: 100;
}
.sc-credit a { color: #cccccc; }
.link-card { display: block; }
.link-card a {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .04em;
  color: #888;
  border-left: 2px solid #eeeeee;
  padding: 2px 14px;
  transition: color .2s, border-color .2s;
}
.link-card a:hover { color: #101010; border-left-color: #101010; }

/* ─── Objects (Big Cartel look) ─── */
#hscroll article.product .post_inner { text-align: center; }
#hscroll article.product img {
  max-height: 46vh;
  margin: 0 auto 48px;
  transition: opacity .25s;
}
#hscroll article.product a:hover img { opacity: .8; }
.product .name {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: #101010; margin-bottom: 8px;
}
.product .price { font-size: .72rem; letter-spacing: .12em; color: #444; }
.product .price.strike { text-decoration: line-through; color: #999; }
.product .status { font-size: .72rem; letter-spacing: .12em; color: #999; margin-top: 4px; }

/* ─── Mobile ─── */
@media (max-width: 600px) {
  #logo-trigger { top: 20px; left: 16px; }
  #logo-trigger img { max-width: 88px; max-height: 30px; }
  #sidebar { width: 100vw; }
  #main { padding: 80px 16px 48px; }
  #hscroll .lead-space { width: 60px; }
  #hscroll article { margin: 0 12px; }

  /* Works: one clean panel size on phones */
  #hscroll article.panel .post_inner { width: 86vw; }
  #hscroll article.panel iframe { width: 100% !important; }
  #hscroll article.panel iframe:not([src*="youtube"]) { height: 440px !important; }
  #hscroll article.panel iframe[src*="youtube"] { aspect-ratio: 16/9; height: auto !important; }
}
