/* ===== NOTEBOOK FOOTER ===== */
.nb-footer {
  width: 100%;
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
}
.nb-footer-curious {
  font-family: var(--font-display, 'Instrument Serif', serif);
  font-size: 1.85rem;
  font-weight: 500;
  text-transform: lowercase;
  color: var(--nb-text, #dceae9);
  letter-spacing: 0.01em;
  margin: 0;
}
.nb-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 0.5rem;
}
.nb-sidebar-toggle-label {
  font-size: 0.98rem;
  font-family: var(--font-ui, 'IBM Plex Sans Condensed', Arial, sans-serif);
  color: var(--nb-text, #fff);
  margin-left: 0.5em;
  letter-spacing: 0.01em;
  font-weight: 400;
  text-transform: lowercase;
  vertical-align: middle;
}
.nb-sidebar-toggle {
  display: none;
  position: static;
  background: var(--nb-nav-surface, #2d262a);
  color: var(--nb-text, #fff);
  border: 1.5px solid var(--nb-nav-line, #c9b8ab);
  border-radius: 6px;
  height: auto;
  width: auto;
  padding: 0.6em 1.3em;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  outline: none;
  gap: 0.4em;
}
.nb-sidebar-toggle:active,
.nb-sidebar-toggle:focus {
  background: var(--nb-nav-surface-2, #1a1518);
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
}
@media (max-width: 900px) {
  .nb-sidebar-toggle { display: flex; }
}
/* ===== NOTEBOOK MOBILE SIDEBAR TOGGLE ===== */
/* rectangle style for fixed/mobile toggle */
.nb-sidebar-toggle {
  display: none;
  position: fixed;
  top: 68px;
  right: 18px;
  z-index: 1002;
  background: var(--nb-nav-surface, #2d262a);
  color: var(--nb-text, #fff);
  border: 1.5px solid var(--nb-nav-line, #c9b8ab);
  border-radius: 6px;
  width: auto;
  height: auto;
  padding: 0.6em 1.3em;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  outline: none;
}
.nb-sidebar-toggle:active,
.nb-sidebar-toggle:focus {
  background: var(--nb-nav-surface-2, #1a1518);
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
}

@media (max-width: 900px) {
  .nb-sidebar-toggle { display: flex; }
  .nb-sidebar.hide-mobile { display: none !important; }
}
/* ===== FOOTER CURIOUS ===== */
.footer-curious {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #dceae9;
  text-transform: lowercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.35rem 0;
}
.nb-footer-curious {
  font-family: 'IBM Plex Sans Condensed', sans-serif;
  font-size: 2.7rem;
  font-weight: 500;
  color: #dceae9;
  text-transform: lowercase;
  letter-spacing: 0;
  margin: 0 0 0.7rem 0;
}
/* ===== SYSTEMS HIGHLIGHT ===== */
.hp-systems-highlight {
  color: #feb900;
  font-family: var(--font-display);
  font-size: 1.11em;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans+Condensed:wght@300;400;500&family=IBM+Plex+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

/*
 * holly huffman — shared design system
 * deep navy, teal, gold, mint, rust
 */

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

i, em { font-style: normal; }

:root {
  --font-body: 'IBM Plex Sans Condensed', sans-serif;
  --font-ui: 'IBM Plex Sans Condensed', sans-serif;
  --font-display: 'IBM Plex Sans Condensed', sans-serif;

  /* backgrounds */
  --bg:   #07171e;
  --bg-1: #0c222c;
  --bg-2: #13303b;
  --bg-3: #193b48;
  --bg-4: #21586e;

  /* primary accents */
  --blue-deep:  #dceae9;
  --blue:       #7fbbab;
  --blue-mid:   #447d85;
  --blue-light: #93cdbd;

  /* supporting neutrals */
  --teal-deep:  #17323b;
  --teal:       #447d85;
  --seafoam:    #5e9098;
  --sage:       #7fbbab;
  --sage-light: #a9d4c7;
  --sage-bg:    rgba(127, 187, 171, 0.14);

  /* muted */
  --tan:   #83a0a5;
  --stone: #a6bec0;
  --sand:  #dceae9;

  /* accent */
  --amber:     #feb900;
  --amber-dim: rgba(254, 185, 0, 0.56);
  --amber-bg:  rgba(254, 185, 0, 0.12);

  /* rust */
  --plum:      #21586e;
  --plum-soft: #2c5665;
  --plum-bg:   rgba(219, 111, 33, 0.16);

  /* text */
  --text:       #dceae9;
  --text-dim:   rgba(220, 234, 233, 0.82);
  --text-muted: rgba(166, 190, 192, 0.68);
  --text-dark:  rgba(166, 190, 192, 0.28);

  /* borders */
  --border:      rgba(68, 125, 133, 0.24);
  --border-mid:  rgba(254, 185, 0, 0.34);
  --border-warm: rgba(219, 111, 33, 0.3);
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top, rgba(254, 185, 0, 0.06), transparent 32%),
    radial-gradient(circle at bottom right, rgba(127, 187, 171, 0.08), transparent 28%),
    linear-gradient(180deg, #0c222c 0%, #07171e 48%, #040d11 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== SITE NAV ===== */
.site-nav {
  background: rgba(7, 23, 30, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}
.site-nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.67rem;
  font-weight: 400;
  color: var(--sand);
  text-decoration: none;
  padding: 1.1rem 0;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.nav-logo:hover { color: var(--blue-light); }
.nav-links { display: flex; list-style: none; align-items: stretch; }
.nav-links li { display: flex; align-items: stretch; }
.nav-link {
  font-family: var(--font-ui);
  font-size: 1.34rem;
  font-weight: 300;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  letter-spacing: 0.035em;
  text-transform: lowercase;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-dim); }
.nav-link.active { color: var(--stone); border-bottom-color: var(--blue-mid); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--stone);
  border-radius: 1px;
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0.08em;
  color: var(--stone);
  margin-bottom: 1.5rem;
}

/* ===== TAG PILLS ===== */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 400;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(68, 125, 133, 0.14);
  border: 1px solid rgba(68, 125, 133, 0.22);
  color: var(--blue);
  text-transform: lowercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.12s;
  user-select: none;
}
.tag:hover, .tag.active {
  background: rgba(254, 185, 0, 0.18);
  border-color: var(--blue-mid);
  color: var(--sand);
}

/* shared page flow */

.community-page,
.events-page,
.gallery-page {
  margin-top: 2.25rem;
  margin-bottom: 3rem;
  padding-top: 4rem;
  padding-bottom: 5.25rem;
}

.community-page::after,
.events-page::after,
.gallery-page::after,
.page-shell::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 234, 233, 0.12), transparent);
  z-index: -1;
}

.person-card,
.event-card,
.photo-item,
.hp-card,
.footer-link {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.person-card:hover,
.event-card:hover,
.photo-item:hover,
.hp-card:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

/* ===== FOOTER ===== */
.site-footer {
  background: rgba(0, 0, 0, 0.82);
  border-top: 1px solid rgba(68, 125, 133, 0.2);
  padding: 0.9rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.site-footer p {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: lowercase;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.footer-link {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  border: 1px solid rgba(127, 187, 171, 0.35);
  border-radius: 999px;
  background: rgba(178, 214, 205, 0.88);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.footer-link:hover {
  background: rgba(198, 226, 219, 0.98);
  border-color: rgba(127, 187, 171, 0.55);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}
.footer-link svg {
  width: 1rem;
  height: 1rem;
  display: block;
}
.footer-link img {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  object-fit: contain;
  image-rendering: auto;
}
.footer-link.linkedin-link img {
  width: 1.3rem;
  height: 1.3rem;
}
.footer-link.sandlapper-link img {
  width: 1.55rem;
  height: 1.55rem;
}
.footer-link.email-link img {
  width: 1.25rem;
  height: 1.25rem;
}

/* ===== COMING SOON TEMPLATE ===== */
.page-shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
  min-height: calc(100vh - 210px);
}
.page-shell-icon { font-size: 1.5rem; color: var(--bg-4); margin-bottom: 1.5rem; }
.page-shell-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--blue-deep);
  margin-bottom: 0.85rem;
}
.page-shell-note { font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); }

/* ===== MOBILE NAV ===== */
@media (max-width: 680px) {
  .nav-hamburger { display: flex; }
  .site-nav { position: relative; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 23, 30, 0.98);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0 1rem;
    z-index: 300;
  }
  .nav-links.open { display: flex; }
  .nav-links li { display: block; }
  .nav-link {
    padding: 0.85rem 1.5rem;
    border-bottom: none;
    border-left: 2px solid transparent;
    font-size: 0.78rem;
  }
  .nav-link.active {
    border-left-color: var(--blue-mid);
    border-bottom: none;
    background: rgba(254, 185, 0, 0.12);
  }

  .community-page,
  .events-page,
  .gallery-page {
    margin-top: 1.25rem;
    margin-bottom: 2rem;
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .community-page::before,
  .events-page::before,
  .gallery-page::before,
  .page-shell::before {
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  .site-nav-inner {
    padding: 0 1.1rem;
  }
  .nav-logo {
    font-size: 0.94rem;
    padding: 0.95rem 0;
  }
  .site-footer {
    padding: 0.75rem 1.1rem;
  }
  .site-footer p {
    font-size: 1.4rem;
    line-height: 1.55;
  }
  .footer-links {
    gap: 0.5rem;
  }
  .footer-link {
    width: 2rem;
    height: 2rem;
  }
  .page-shell {
    padding: 4.25rem 1.1rem;
  }
}

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 3px; }
