/* =========================================
   Protocol Institute — Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300;1,9..40,400&display=swap');

/* ---- Reset & Base ---- */

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

html {
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #FAFAF7;
  color: #1A1A1A;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

/* ---- Typography ---- */

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

p {
  margin-bottom: 1.4rem;
  max-width: 68ch;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: #2A6B6B;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1d4f4f;
  text-decoration: underline;
}

/* ---- Layout ---- */

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ---- Navigation ---- */

.site-nav {
  padding: 1.5rem 2.5rem 0;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav .nav-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1A1A1A;
  text-decoration: none;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
}

.site-nav .nav-brand:hover {
  color: #2A6B6B;
  text-decoration: none;
}

.site-nav .nav-brand:hover .nav-logo {
  opacity: 0.7;
}

.nav-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.nav-links {
  display: flex;
  flex-basis: 100%;
  gap: 1.6rem;
  list-style: none;
  justify-content: flex-start;
  flex-wrap: wrap;
  border-top: 1px solid #E0DDD8;
  margin-top: 0.75rem;
  padding: 0.55rem 0 1.1rem;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5A5A5A;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #1A1A1A;
  text-decoration: none;
}

.nav-links a.active {
  color: #2A6B6B;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.25rem;
  color: #1A1A1A;
  line-height: 1;
}

/* ---- Page Header (interior pages) ---- */

.page-header {
  padding: 1.75rem 0 1.5rem;
  border-bottom: 1px solid #E0DDD8;
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* ---- Footer ---- */

.site-footer {
  margin-top: 6rem;
  padding: 2rem 2.5rem;
  border-top: 1px solid #E0DDD8;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer p {
  font-size: 0.82rem;
  color: #8A8A8A;
  letter-spacing: 0.03em;
  margin-bottom: 0;
  max-width: none;
}

/* ---- Landing Page ---- */

.landing-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.landing-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2.5rem;
}

.landing-mark {
  display: block;
  width: clamp(44px, 7vw, 68px);
  height: clamp(44px, 7vw, 68px);
  margin: 0 auto 2rem;
}

.landing-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  color: #1A1A1A;
}

.landing-content .descriptor {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: #5A5A5A;
  font-style: italic;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}


/* ---- Interior Page Wrapper ---- */

.interior-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.interior-main {
  flex: 1;
  padding-bottom: 2rem;
}

/* ---- Projects Page ---- */

.initiative-category {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8A8A;
  margin-top: 3rem;
  margin-bottom: 0;
}

.initiative-category:first-of-type {
  margin-top: 0;
}

.project-item--empty {
  padding: 1.5rem 0;
}

.project-item--empty .project-description {
  color: #ABABAB;
  font-style: italic;
}

.projects-intro {
  color: #5A5A5A;
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.project-list {
  list-style: none;
}

.project-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid #E0DDD8;
}

.project-item:first-child {
  border-top: 1px solid #E0DDD8;
}

.project-meta {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.project-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 0;
}

.project-name-link {
  text-decoration: none;
  color: inherit;
}
.project-name-link:hover .project-name {
  text-decoration: underline;
}

.project-status {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8A8A;
  border: 1px solid #E0DDD8;
  padding: 0.15em 0.55em;
  white-space: nowrap;
}

.project-status.status-active {
  color: #2A6B6B;
  border-color: #2A6B6B;
}

.project-category {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ABABAB;
  border: 1px solid #E8E5E0;
  padding: 0.15em 0.55em;
  white-space: nowrap;
}

.project-description {
  color: #3A3A3A;
  margin-bottom: 1rem;
}

.project-link {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #2A6B6B;
}

.project-link:hover {
  text-decoration: underline;
}

.program-tracks {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.program-tracks li {
  font-size: 0.9rem;
  padding: 0.15rem 0;
  color: #3A3A3A;
}

.program-tracks a {
  color: #2A6B6B;
}

.program-tracks a:hover {
  text-decoration: underline;
}

.track-name {
  color: #3A3A3A;
}

.track-soon {
  font-size: 0.75rem;
  color: #8A8A8A;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.track-sep {
  color: #8A8A8A;
}

/* ---- SIGs Page ---- */

.sig-meta {
  font-size: 0.85rem;
  color: #8A8A8A;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.sig-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E0DDD8;
}

.sig-cta p {
  font-size: 1rem;
  color: #5A5A5A;
}

/* ---- About Page ---- */

.about-body p {
  font-size: 1.05rem;
  color: #2C2C2C;
  margin-bottom: 1.6rem;
}

/* ---- Contact Page ---- */

.contact-body {
  padding-top: 1rem;
}

.contact-intro {
  color: #5A5A5A;
  font-style: italic;
  margin-bottom: 2rem;
}

.contact-email {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 500;
  color: #2A6B6B;
  letter-spacing: -0.01em;
}

.contact-email:hover {
  color: #1d4f4f;
  text-decoration: underline;
}

.contact-note {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #E0DDD8;
  font-size: 0.9rem;
  color: #8A8A8A;
}

/* ---- Team Page ---- */

.team-intro {
  font-size: 0.95rem;
  color: #5A5A5A;
  padding: 1rem 1.4rem;
  border-left: 3px solid #E0DDD8;
  margin-bottom: 3.5rem;
  max-width: none;
}

.team-member {
  display: flex;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid #E0DDD8;
}

.team-member:first-of-type {
  border-top: 1px solid #E0DDD8;
}

/*
 * Photo box: 240px wide × 300px tall (4:5 portrait ratio)
 * To add a photo: replace the .team-photo-placeholder div with:
 *   <img src="path/to/photo.jpg" alt="Name">
 * Image will be cropped to fill the box, anchored to top-center.
 */
.team-photo {
  width: 240px;
  height: 300px;
  flex-shrink: 0;
  background-color: #F0EDE8;
  border: 1px solid #E0DDD8;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #C0BCBA;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

.team-photo-placeholder span {
  font-size: 0.68rem;
  color: #D0CDC9;
  text-transform: none;
  letter-spacing: 0.02em;
}

.team-bio {
  flex: 1;
  padding-top: 0.25rem;
}

.team-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin-bottom: 0.2rem;
  color: #1A1A1A;
  line-height: 1.2;
}

.team-role {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8A8A;
  margin-bottom: 1.4rem;
}

.team-bio p {
  font-size: 1rem;
  color: #2C2C2C;
  margin-bottom: 1rem;
}

.team-email {
  display: inline-block;
  font-size: 0.88rem;
  color: #2A6B6B;
  margin-top: 0.25rem;
}

.team-email:hover {
  color: #1d4f4f;
  text-decoration: underline;
}

.team-photo-ai {
  object-fit: contain;
  padding: 2rem;
  background: #F0EDEA;
  opacity: 0.6;
}

.team-link {
  display: inline-block;
  font-size: 0.88rem;
  color: #2A6B6B;
  margin-top: 0.25rem;
}

.team-link:hover {
  color: #1d4f4f;
  text-decoration: underline;
}

/* ---- Footer Nav ---- */

.footer-nav {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.6rem;
}

.footer-nav a {
  font-size: 0.82rem;
  color: #8A8A8A;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #2A6B6B;
  text-decoration: none;
}


/* ---- Draft Banner ---- */

.draft-banner {
  background-color: #FFF8E7;
  border: 1px solid #E8D48A;
  color: #7A5C00;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.55em 1em;
  margin-bottom: 2.5rem;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  html {
    font-size: 17px;
  }

  .site-nav {
    padding: 1.1rem 1.5rem 0;
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    flex-basis: auto;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FAFAF7;
    border-top: none;
    border-bottom: 1px solid #E0DDD8;
    margin-top: 0;
    padding: 0.5rem 1.5rem 1rem;
    z-index: 100;
  }

  .site-nav .nav-links.open {
    display: flex;
  }


  .site-nav .nav-links li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #F0EDE8;
  }

  .site-nav .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .landing-center {
    padding: 3rem 1.5rem;
  }

  .page-header {
    padding: 2.5rem 0 1.5rem;
    margin-bottom: 2rem;
  }

  .project-meta {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .site-footer {
    margin-top: 4rem;
    padding: 1.5rem;
  }

  .team-member {
    flex-direction: column;
    gap: 1.5rem;
  }

  .team-photo {
    width: 160px;
    height: 200px;
  }
}

/* ---- Network Page ---- */

.network-intro {
  margin-bottom: 3rem;
}

.network-intro p {
  font-size: 1.05rem;
  color: #2C2C2C;
  margin-bottom: 1.6rem;
}

.network-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.network-card {
  border: 1px solid #E0DDD8;
  padding: 1.5rem;
}

.network-logo {
  margin-bottom: 1rem;
}

.network-logo img {
  display: block;
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
}

.network-org {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.network-parent {
  font-size: 0.85rem;
  color: #5A5A5A;
  margin-bottom: 0.9rem;
}

.network-desc {
  font-size: 0.9rem;
  color: #2C2C2C;
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.network-contact {
  font-size: 0.82rem;
  color: #5A5A5A;
  letter-spacing: 0.01em;
}

.network-org a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #2A6B6B;
}

.network-org a:hover {
  color: #2A6B6B;
}

/* ---- Consulting Page ---- */

.consulting-intro {
  margin-bottom: 3rem;
}

.consulting-intro p {
  font-size: 1.05rem;
  color: #2C2C2C;
  margin-bottom: 1.6rem;
}

.consulting-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.consulting-card {
  border: 1px solid #E0DDD8;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.consulting-photo {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  background-color: #F0EDE8;
  border: 1px solid #E0DDD8;
  overflow: hidden;
}

.consulting-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.consulting-photo--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.consulting-photo--placeholder span {
  font-size: 0.7rem;
  color: #C0BCBA;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

.consulting-photo-hint {
  font-size: 0.62rem !important;
  color: #D0CDC9 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
}

.consulting-details {
  flex: 1;
  min-width: 0;
}

.consulting-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.consulting-role {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8A8A;
  margin-bottom: 0.75rem;
}

.consulting-expertise {
  font-size: 0.92rem;
  color: #3A3A3A;
  line-height: 1.6;
  margin-bottom: 0.65rem;
}

.consulting-contact {
  font-size: 0.82rem;
  color: #5A5A5A;
}

@media (max-width: 768px) {
  .consulting-card {
    flex-direction: column;
    gap: 1rem;
  }

  .consulting-photo {
    width: 88px;
    height: 88px;
  }
}

/* ---- Symposium Page ---- */

.symposium-kicker {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8A8A;
  margin-bottom: 0.6rem;
  max-width: none;
}

.symposium-intro {
  margin-bottom: 2.5rem;
}

.symposium-intro p {
  font-size: 1.05rem;
  color: #2C2C2C;
  margin-bottom: 1.4rem;
}


.symposium-cta {
  border: 1px solid #E0DDD8;
  border-left: 3px solid #2A6B6B;
  padding: 1.1rem 1.4rem;
  margin-bottom: 3rem;
}

.symposium-cta p {
  font-size: 1rem;
  color: #2C2C2C;
  margin-bottom: 0;
}

.symposium-deadline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2A6B6B;
  margin-bottom: 0.5rem;
}

.symposium-banner-wrap {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

.symposium-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid #E0DDD8;
  border-left: 3px solid #2A6B6B;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.symposium-banner:hover {
  background: #F3F3F0;
}

.symposium-banner-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.symposium-banner-text {
  flex: 1;
}

.symposium-banner-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 0.15rem;
}

.symposium-banner-sub {
  font-size: 0.85rem;
  color: #5A5A5A;
}

.symposium-banner-arrow {
  color: #2A6B6B;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.symposium-submissions {
  padding-top: 2rem;
  border-top: 1px solid #E0DDD8;
}

.symposium-submissions h2 {
  margin-bottom: 1.25rem;
}

.symposium-submissions-empty {
  color: #8A8A8A;
  font-style: italic;
  font-size: 0.95rem;
}

.submission-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #E0DDD8;
}

.submission-item:first-of-type {
  border-top: 1px solid #E0DDD8;
}

.submission-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 0.25rem;
}

.submission-meta {
  font-size: 0.82rem;
  color: #5A5A5A;
  margin-bottom: 0.6rem;
}

.submission-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2A6B6B;
  border: 1px solid #2A6B6B;
  padding: 0.1em 0.5em;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.submission-abstract {
  font-size: 0.92rem;
  color: #3A3A3A;
}


@media (max-width: 480px) {
  .landing-content h1 {
    font-size: 2.2rem;
  }
}
