/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --black: #000;
  --white: #fff;
  --gray: #555;
  --light-gray: #f7f7f7;
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --page-padding: 4vw;
  --max-width: 1200px;
  --content-width: 860px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem var(--page-padding);
  background: var(--white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 200;
  transition: background 0.25s, border-color 0.25s;
}

/* On pages with a hero overlay, nav stays sticky but turns transparent */
nav.nav-overlay {
  background: transparent;
  border-bottom-color: transparent;
}

nav.nav-overlay .nav-brand,
nav.nav-overlay .nav-icon,
nav.nav-overlay .hamburger {
  color: var(--white);
}

nav.nav-overlay .hamburger span {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--black);
  font-weight: 600;
  white-space: nowrap;
}

.nav-links {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 300;
  list-style: none;
}

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

.nav-links a {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.3rem 0.65rem;
  color: var(--black);
  transition: opacity 0.15s;
}

.nav-links a:hover { text-decoration: none; opacity: 0.6; }

.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.4rem;
}

.nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--black);
  padding: 0.5rem;
  line-height: 1;
}

.nav-close-item {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.nav-divider {
  width: 1px;
  height: 16px;
  background: #ccc;
  margin: 0 0.4rem;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  color: var(--black);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* ── HERO (full-bleed with overlay) ── */
.hero-full {
  position: relative;
  width: 100%;
  min-height: 65vh;
  background: var(--black);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -60px;
  padding-top: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

/* Dark scrim for text readability */
.hero-home::before,
.hero-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 1;
  pointer-events: none;
}


.hero-overlay-content {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: 55%;
  padding: 4rem var(--page-padding) 4rem 2rem;
  color: var(--white);
}

.hero-overlay-content .hero-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  text-transform: none;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.hero-overlay-content .hero-attribution {
  font-style: italic;
  font-size: 0.95rem;
  text-align: right;
  opacity: 0.9;
}

/* Homepage hero */
.hero-home {
  position: relative;
  width: 100%;
  min-height: 80vh;
  background-color: var(--black);
  display: flex;
  align-items: flex-end;
  padding-bottom: 6vw;
  padding-top: 60px;
  overflow: hidden;
  margin-top: -60px;
}

.hero-home-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--page-padding);
  color: var(--white);
}

.hero-home-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  text-transform: none;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-home-content .hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  opacity: 0.9;
  line-height: 1.55;
}

/* ── SECTIONS ── */
.section {
  padding: 5vw var(--page-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-full {
  padding: 5vw var(--page-padding);
}

.section-center {
  text-align: center;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 5vw var(--page-padding);
}

/* ── DISPLAY HEADINGS ── */
h1, h2, .display {
  font-family: var(--font-display);
  text-transform: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.section-heading.center { text-align: center; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5vw var(--page-padding);
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  color: var(--black);
}

.about-img-wrapper img {
  width: 100%;
  display: block;
}

.about-img-wrapper .caption {
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ── HIGHLIGHTS GRID ── */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e0e0e0;
}

.highlight-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.highlight-item:nth-child(3n) { border-right: none; }

.highlight-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.highlight-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray);
}

/* ── RESUME ── */
.resume-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3vw var(--page-padding) 6vw;
}

.resume-section {
  margin-bottom: 2.5rem;
}

.resume-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.75rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #e0e0e0;
}

.resume-list {
  list-style: none;
  padding: 0;
}

.resume-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.resume-list li::before {
  content: '•';
  flex-shrink: 0;
  color: var(--black);
  font-size: 0.7rem;
  position: relative;
  top: -1px;
  margin-left: 1rem;
  margin-right: 0.25rem;
}

.resume-list li em {
  font-style: italic;
}

/* ── PORTFOLIO ── */
.portfolio-hero {
  position: relative;
  width: 100%;
  min-height: 50vh;
  background: var(--black);
  display: flex;
  align-items: flex-end;
  padding: 60px var(--page-padding) 4vw;
  margin-top: -60px;
  overflow: hidden;
}

.portfolio-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4rem);
  text-transform: none;
  color: var(--white);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.portfolio-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.project-block {
  padding: 3.5rem 0;
  border-bottom: 1px solid #e0e0e0;
  max-width: var(--content-width);
}

.project-block:first-child { padding-top: 0; }
.project-block:last-child { border-bottom: none; }

.project-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin-bottom: 0.2rem;
  line-height: 1.15;
}

.project-block .project-org {
  font-size: 0.88rem;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.project-block p {
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  color: var(--black);
}

.project-block p:last-child { margin-bottom: 0; }

.project-outcome {
  border-left: 3px solid var(--black);
  padding-left: 1rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.project-sub-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin: 1.25rem 0 0.5rem;
}

.pub-list {
  list-style: none;
  padding: 0;
}

.pub-list li {
  font-size: 0.88rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #eee;
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.pub-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gray);
  font-size: 0.8rem;
}

.pub-list li:last-child { border-bottom: none; }

.pub-list a { color: var(--black); text-decoration: underline; }
.pub-list a:hover { opacity: 0.6; }

.recognition-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid #e0e0e0;
}

.recognition-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ── GIVING BACK ── */
.giving-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 5vw var(--page-padding) 8vw;
  text-align: center;
}

.giving-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: var(--black);
}

/* ── CONTACT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 70px);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6vw var(--page-padding) 8vw;
  gap: 4vw;
  align-items: center;
}

.contact-heading-col {
  display: flex;
  align-items: center;
}

.contact-cta {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.1;
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.contact-form-col {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 500;
}

.form-sublabel {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--black);
}

.req {
  color: var(--gray);
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--black);
  outline: none;
  transition: border-color 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--black);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  align-self: flex-start;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.15s;
}

.form-submit:hover {
  opacity: 0.75;
}

@media (max-width: 700px) {
  .contact-layout {
    grid-template-columns: 1fr;
    min-height: unset;
    padding-top: 3rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── PAGE TITLE SECTION ── */
.page-title-section {
  padding: 5vw var(--page-padding) 3vw;
  border-bottom: 1px solid #e0e0e0;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid #e0e0e0;
  padding: 2.5rem var(--page-padding);
  text-align: center;
}

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0.6rem;
}

.footer-nav li { display: flex; align-items: center; }

.footer-nav a {
  font-size: 0.9rem;
  color: var(--black);
  padding: 0 0.5rem;
}

.footer-nav a:hover { text-decoration: underline; }

.footer-nav .sep {
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--gray);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-icons a {
  color: var(--black);
  opacity: 0.7;
  transition: opacity 0.15s;
}

.footer-icons a:hover { opacity: 1; }

.footer-icons svg { width: 18px; height: 18px; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  border: 1px solid var(--black);
  padding: 0.65rem 1.5rem;
  font-size: 0.88rem;
  font-family: var(--font-display);
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--black);
  background: transparent;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}

.btn-white {
  border-color: var(--white);
  color: var(--white);
}

.btn-white:hover {
  background: var(--white);
  color: var(--black);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-divider { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }

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

  .highlight-item:nth-child(3n) { border-right: 1px solid #e0e0e0; }
  .highlight-item:nth-child(2n) { border-right: none; }

  .hero-overlay-content {
    width: 100%;
    padding: 2rem var(--page-padding);
  }

  .portfolio-hero { min-height: 35vh; }
}

@media (max-width: 480px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight-item { border-right: none !important; }
}

/* ── HERO ENTRANCE ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-home-content h1 {
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.2s;
}

.hero-home-content .hero-sub {
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.5s;
}

/* ── ROCKET ANIMATION ── */
#rocket-launch {
  position: fixed;
  bottom: -80px;
  left: -80px;
  font-size: 3rem;
  z-index: 9999;
  pointer-events: none;
  animation: rocketFly 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes rocketFly {
  0%   { transform: translate(0, 0) rotate(-45deg); opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translate(calc(100vw + 160px), calc(-100vh - 160px)) rotate(-45deg); opacity: 0; }
}
