/* ============================================================
   Georgia Smits — personal site styles
   UW palette:
     Husky Purple    #4b2e83   (primary)
     Spirit Purple   #32006e   (darker alt)
     Heritage Gold   #85754d   (warm accent, hover, strong)
     Spirit Gold     #ffc700   (bright accent, active state)
     Husky Gold web  #e8e3d3   (soft divider)
   ============================================================ */

:root {
  --uw-husky-purple:   #4b2e83;
  --uw-spirit-purple:  #32006e;
  --uw-heritage-gold:  #85754d;
  --uw-spirit-gold:    #ffc700;
  --uw-husky-gold-web: #e8e3d3;
  --text:              #222;
  --text-muted:        #555;
  --nav-height:        50px;
  --container-max:     940px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: #fff;
  padding-top: var(--nav-height);
}

/* ---------- navbar ---------- */
.site-nav {
  background: var(--uw-husky-purple);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 8px;
}
.nav-brand {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 12px 14px 0;
  margin-right: 12px;
  letter-spacing: 0.2px;
}
.nav-brand:hover { color: #fff; text-decoration: none; }

.nav-links,
.nav-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.nav-social { margin-left: auto; }

.nav-links li a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  padding: 14px 12px;
  display: inline-block;
  font-size: 14.5px;
  box-shadow: inset 0 0 0 transparent;
  transition: color 0.15s ease, box-shadow 0.15s ease;
}
.nav-links li a:hover,
.nav-links li a:focus {
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--uw-heritage-gold);
}
.nav-links li.active a {
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--uw-spirit-gold);
}

.nav-social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  line-height: 0;
}
.nav-social li a img {
  width: 20px;
  height: 20px;
  /* tint black SVG line-art to white */
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nav-social li a:hover img,
.nav-social li a:focus img {
  opacity: 1;
  transform: translateY(-1px);
}

/* hamburger (mobile only) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 4px;
  cursor: pointer;
  padding: 6px 9px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
}

@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 16px;
    gap: 0;
  }
  .nav-brand { margin-right: 0; padding: 6px 0; }
  .nav-toggle { display: block; }
  .nav-links,
  .nav-social {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    display: none;
  }
  .nav-container.is-open .nav-links,
  .nav-container.is-open .nav-social { display: flex; }
  .nav-links li a {
    padding: 10px 6px;
    box-shadow: inset 3px 0 0 transparent;
  }
  .nav-links li a:hover,
  .nav-links li a:focus { box-shadow: inset 3px 0 0 var(--uw-heritage-gold); }
  .nav-links li.active a { box-shadow: inset 3px 0 0 var(--uw-spirit-gold); }
  .nav-social {
    flex-direction: row;
    padding-bottom: 6px;
    gap: 4px;
  }
  .nav-social li a { padding: 10px 12px; }
}

/* ---------- main layout ---------- */
.main-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px 16px 60px;
}

/* ---------- typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--uw-husky-purple);
  margin: 1.4em 0 0.5em;
  font-weight: 600;
  line-height: 1.25;
}
h1 { font-size: 32px; }
h2 {
  font-size: 24px;
  border-bottom: 1px solid var(--uw-husky-gold-web);
  padding-bottom: 6px;
  margin-top: 1.6em;
}
h3 { font-size: 19px; }
h4 { font-size: 16px; }

h1.title {
  font-size: 34px;
  margin-top: 0.4em;
  margin-bottom: 0.6em;
}

p { margin: 0 0 12px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 4px; }

a {
  color: var(--uw-husky-purple);
  text-decoration: none;
}
a:hover,
a:focus {
  color: var(--uw-heritage-gold);
  text-decoration: underline;
}

strong {
  color: var(--uw-heritage-gold);
  font-weight: 600;
}

em { color: var(--text-muted); }

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

/* ---------- home-page two-column layout ---------- */
.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  margin-top: 24px;
}
.col-left {
  flex: 0 0 38%;
  text-align: center;
}
.col-right { flex: 1 1 320px; min-width: 0; }

.profile-photo {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}
.profile-name {
  text-align: center;
  margin-top: 18px;
  font-size: 28px;
}

@media (max-width: 768px) {
  .columns { gap: 24px; }
  .col-left { flex: 1 1 100%; }
}

/* ---------- tabs ---------- */
.tabset { margin-top: 18px; }

.tabset-tabs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--uw-husky-gold-web);
  gap: 2px;
}
.tabset-tabs button {
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  padding: 9px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--uw-husky-purple);
  cursor: pointer;
  margin-bottom: -1px;
  position: relative;
}
.tabset-tabs button:hover {
  background: #faf8f1;
}
.tabset-tabs button.active {
  background: #fff;
  border-color: var(--uw-husky-gold-web);
  font-weight: 600;
  box-shadow: inset 0 3px 0 var(--uw-spirit-gold);
}

.tabset-panel {
  display: none;
  padding: 18px 4px 4px;
}
.tabset-panel.active { display: block; }

/* ---------- footer note ---------- */
.footer-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 60px;
  font-style: italic;
}
