
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --parchment:  #f0ecf8;   /* page background */
  --paper:      #fdeaff;   /* box backgrounds */
  --ink:        #1e1828;   /* body text */
  --purple:     #6b3d8a;   /* headings, links */
  --purple-lt:  #a06ec0;   /* meta text */
  --cream:      #e6dff5;   /* placeholders */
  --lilac:      #b88fd4;   /* hover colour */
  --banner-bg:  #1c1428;   /* nav bar background */
  --banner-txt: #ede6f8;   /* nav bar text */
}


/* individual styles begin here */

.site-wrap {
  max-width: 740px;
  margin: 0 auto;
  background: var(--parchment);
}

body {
  background-color: var(--parchment);
    background-image: url(images/tileconcept.png);
    background-repeat: repeat;
    background-size: auto;
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
}

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--lilac); text-decoration: underline; }


/* header */
.header-image-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--banner-bg);
}

.header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-title {
  position: absolute;
  bottom: 0.85rem;
  left: 1.25rem;
  font-family: 'Share Tech', sans-serif;
  font-size: 1.6rem;
  font-style: italic;
  letter-spacing: 0.03em;
  background: rgba(28, 20, 40, 0.58);
  padding: 0.15rem 0.7rem;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(90deg, #e8354f, #f0920a, #e8d00a, #2ebd2e, #1a9fe0, #7c4ee8, #e02eac);
  -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.75);
}

/* nav */
nav {
  background: var(--banner-bg);
  border-bottom: 3px double var(--purple-lt);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  width: 100%;
}

nav a {
  color: var(--banner-txt);
  font-family: 'Share Tech', sans-serif;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  letter-spacing: 0.05em;
  border-left: 1px solid #ffffff18;
  transition: background 0.2s, color 0.2s;
}

nav a:first-child { border-left: none; }

nav a:hover {
  background: #ffffff14;
  color: var(--lilac);
  text-decoration: none;
}

/* default */


.page-heading {
  font-family: 'Share Tech', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.2rem;
}

.page-subheading {
  font-style: italic;
  color: #5a4a6b;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.box {
  background: var(--paper);
  border: 1px solid #9b7dc088;
  outline: 3px double #9b7dc044;
  outline-offset: -6px;
  padding: 1.75rem 2rem;
  margin-bottom: 0;
  border-top: none;
}

.box + .box {
  border-top: 1px solid #9b7dc044;
}

.box h1 {
  font-family: 'Share Tech', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.3rem;
}

.box h2, .box h3 {
  font-family: 'Share Tech', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.6rem;
}

.box p {
  font-size: 0.92rem;
  color: #3a2e4a;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.box p:last-child { margin-bottom: 0; }

/* updates list for the index page */
.updates-list { list-style: none; }

.updates-list li {
  display: flex;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px dotted #9b7dc066;
  font-size: 0.9rem;
}

.updates-list li:last-child { border-bottom: none; }

.update-date {
  color: var(--purple-lt);
  white-space: nowrap;
  font-style: italic;
  min-width: 100px;
  font-size: 0.85rem;
}

/* contact list for contact.html */

.social-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.social-list a {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--purple-lt);
  letter-spacing: 0.02em;
}

.social-list a:hover { color: var(--purple); text-decoration: underline; }

.social-list .email::before   { content: '✦ Email — ';   color: var(--purple); font-style: normal; }
.social-list .tumblr::before  { content: '✦ Tumblr — ';  color: var(--purple); font-style: normal; }
.social-list .bluesky::before { content: '✦ Bluesky — '; color: var(--purple); font-style: normal; }

