:root {
  --bg: #E6E0F8;        /* soft lavender background */
  --text: #1B1B1B;      /* deep charcoal text */
  --accent: #D45D5D;    /* dusty red links/buttons */
  --accent2: #C49BBB;   /* mauve headings/secondary accents */
  --highlight: #A8DAD1; /* soft mint pops */
  --divider: #F4F4F4;   /* subtle borders/dividers */
}

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

body {
  font-family: 'Georgia', serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  padding: 2rem;
  max-width: 70ch;
  margin: 0 auto;
}

/* tighten overall width a bit on desktop so 2 columns feel intentional */
@media (min-width: 900px) {
  body {
    max-width: 82ch;
  }
}

/* header & navigation */
header {
  margin-bottom: 3rem;
}

/* title container */
header h1 {
  margin: 0 0 0.35rem 0;
}

/* clickable name at top */
.site-title {
  font-family: 'Special Elite', serif;
  font-size: 2.65rem;
  letter-spacing: 0.09em;
  line-height: 1.05;
  color: var(--accent2);
  text-decoration: none;
  opacity: 0.96;
  display: inline-block;
  transition: transform 160ms ease, color 200ms ease, text-decoration-color 200ms ease;
}

.site-title:hover {
  transform: translateY(-1px);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.site-title:focus-visible {
  outline: 2px dotted var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

/* NAV: tidy, wrapping, Kaylee-adjacent */
nav {
  margin-top: 0.75rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255,255,255,0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
}

nav a {
  color: var(--accent);
  opacity: 0.85;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.12rem;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease, opacity 180ms ease;
}

nav a:hover {
  opacity: 1;
}

nav a:hover::after {
  transform: scaleX(1);
  opacity: 0.65;
}

/* optional nav descriptor whisper */
.nav-note {
  font-size: 0.75rem;
  color: var(--text);
  opacity: 0.55;
  margin-left: 0.3rem;
  font-style: italic;
}

/* base card styling (all sections are cards, except intro overrides below) */
section {
  margin-bottom: 1.75rem;

  /* smaller cards */
  padding: 0.85rem 1rem;

  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);

  transition: transform 180ms ease, box-shadow 180ms ease;
}

section:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(2px);
}

/* card titles */
section h2 {
  font-size: 1.4rem;
  color: var(--accent2);
  margin-bottom: 0.6rem;

  font-family: 'IM Fell English', serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: lowercase;

  transition: letter-spacing 200ms ease, color 200ms ease;
}

section:hover h2 {
  letter-spacing: 0.03em;
  color: var(--accent);
}

/* intro is not a card */
.intro {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 2rem;
}

.intro:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* big intro text */
.big {
  font-size: 1.6rem;
  font-weight: 500;
  max-width: 40ch;
  margin-bottom: 1rem;
  color: var(--accent2);
}

/* links */
a {
  color: var(--accent);
  text-decoration: underline dotted;
  text-underline-offset: 0.12em;
  transition: color 0.3s ease;
}

a:hover {
  color: #B24444;
}

/* section links get a slightly different treatment */
section a {
  text-decoration: none;
  border-bottom: 1px dotted var(--accent);
  padding-bottom: 0.05rem;
}

section a:hover {
  border-bottom-style: solid;
}

/* lists */
ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 1rem;
}

/* footer */
footer {
  margin-top: 6rem;
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.7;
  border-top: 1px solid var(--divider);
  padding-top: 1.5rem;
}

/* main spacing */
main {
  margin-top: 1.5rem;
}

/* two crooked columns */
.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem 1.1rem;
  align-items: start;
  justify-items: start;
}

/* grid cards: don't double-space */
.cards section {
  margin-bottom: 0;

  /* denser feel inside grid */
  line-height: 1.45;
  max-width: 20ch;
}

.cards section p {
  max-width: 34ch;
}

/* vertical staggering */
.cards section:nth-child(odd) {
  margin-top: 0.8rem;
}

.cards section:nth-child(3) {
  margin-top: 2rem;
}

.cards section:nth-child(5) {
  margin-top: 1.2rem;
}

/* tiny horizontal imperfection without fighting hover transforms */
.cards section:nth-child(even) {
  translate: 2px 0;
}

.cards section:nth-child(odd) {
  translate: -2px 0;
}

/* make the whole card clickable without making it feel huge */
.card-link {
  display: block;
  text-decoration: none;
  border-bottom: none;
}

/* center titles without <center> tags */
.card-link h2 {
  text-align: center;
  margin: 0;
}

.cards section:not(.currently) {
  padding: 0.7rem 0.9rem;
  width: fit-content;
}

.cards section.currently {
  max-width: 28ch;
}

/* CURRENTLY — intentionally different */
.currently {
  background: rgba(255,255,255,0.25);
  border: 1px dashed rgba(196,155,187,0.4);
  border-radius: 10px;

  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.02em;

  padding: 0.9rem 1.05rem;

  box-shadow: none;
  backdrop-filter: none;
}

.currently:hover {
  transform: none;
  box-shadow: none;
  background: rgba(255,255,255,0.25);
}

.currently h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  color: var(--accent2);
  text-transform: lowercase;
}

.currently ul {
  list-style: none;
  padding-left: 0;
}

.currently li {
  margin-bottom: 0.35rem;
  opacity: 0.85;
}

.currently li::before {
  content: "— ";
  opacity: 0.45;
}

/* make "currently" float slightly */
.cards .currently {
  margin-top: 0;
  translate: 0 -6px;
}

/* mobile: calm single column */
@media (max-width: 700px) {
  body {
    padding: 1rem;
  }

  .site-title {
    font-size: 2.15rem;
    letter-spacing: 0.08em;
  }

  .big {
    font-size: 1.3rem;
  }

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

  .cards section {
    margin-top: 0 !important;
    translate: 0 0 !important;
  }
}
.tagline {
  display: inline-block;

  /* pull it upward into the title’s space */
  margin-top: -0.4rem;

  padding: 0.6rem 0.9rem;

  border: 1px dashed rgba(196,155,187,0.5);
  border-radius: 10px;
  background: rgba(255,255,255,0.22);

  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;

  max-width: 58ch;

  transform: rotate(-1.2deg) translateX(4px);
  transform-origin: top left;

  position: relative;
  z-index: 1;

  opacity: 0.9;
}

