/* Global reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1.6;
  font-weight: 400;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  background-color: #e8ebee;
}

/* Links */
a {
  color: #2a5caa;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus {
  outline: 2px dotted #2a5caa;
  outline-offset: 2px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 300;
  color: #222;
}
h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.6rem;
  font-weight: 500;
  letter-spacing: .05rem;
}
h2 { font-size: 2.6rem; }
h3 { font-size: 2rem; margin-top: 3rem; }
h4 { font-size: 1.7rem; font-weight: 500; margin-bottom: .5rem; }

p {
  margin-bottom: 1.5rem;
  color: #555;
}

/* Sticky navbar */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  margin: 0;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e0e0e0;
  z-index: 1000;
}




.nav-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  gap: 40px;
}

.main-menu {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-name {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 500;
  font-family: "Raleway", sans-serif;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
}
.nav-name:hover {
  color: #2a5caa;
  text-decoration: none;
}

.main-menu a {
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  color: #666;
  text-decoration: none;
  font-size: 1.5rem;
}
.main-menu a:hover { color: #222; }
.main-menu a.active {
  color: #222;
  border-bottom: 2px solid #2a5caa;
}

/* Header — full viewport height */
#header {
    
  min-height: calc(100vh - 50px);
  margin-top: 20px;
  padding: 80px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
    margin-left: 0;
  margin-right: 0;
  width: 100%;
}

#header::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, #dce6f9 0%, transparent 70%);
  z-index: 0;
}

#header::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 200px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, #e8edf7 0%, transparent 70%);
  z-index: 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1000px;
  position: relative;
  z-index: 1;
}

.header-left {
  display: flex;
  flex-direction: column;
}

.header-left h1 {
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  letter-spacing: .2rem;
  font-size: 5.5rem;
  margin-bottom: 12px;
  padding-left: 20px;
  border-left: 4px solid #2a5caa;
  line-height: 1.1;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  padding-left: 24px;
}

.badge {
  background: #eef2fa;
  color: #2a5caa;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 1.3rem;
  font-weight: 500;
}

.subtitle {
  margin: 4px 0;
  line-height: 1.3;
  padding-left: 24px;
  color: #666;
  font-size: 1.5rem;
}

.header-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-left: 24px;
}

.header-links a {
  font-size: 1.4rem;
  color: #2a5caa;
  border: 1px solid #2a5caa;
  padding: 6px 18px;
  border-radius: 20px;
  transition: all .2s;
}

.header-links a:hover {
  background: #2a5caa;
  color: white;
  text-decoration: none;
}

.headshot {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 4px solid white;
  box-shadow: 0 4px 20px rgba(42, 92, 170, 0.15);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Main container */
#container { width: 100%; }

.inner {
  max-width: 860px;
  margin: auto;
  padding: 0 20px;
}

#content {
  padding: 0;
  background: transparent;
  border: none;
}

/* Strip in header add later
.project-strip {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  margin-top: 30px;
  padding: 10px 0;
}

.project-strip img {
  height: 180px;
  width: auto;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  flex-shrink: 0;
}
*/

/* Sections */
.content-region {
  padding: 80px 40px;
  position: relative;
  scroll-margin-top: 60px;
  border-bottom: 1px solid #e6e6e6;
}

.content-region:last-child {
  border-bottom: none;
}

#home {
  background-color: white;
  border-bottom: none;
  padding: 80px 40px;
  position: relative;
}

#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: white;
  z-index: -1;
}

.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
  opacity: 0.7;
  transition: opacity .2s;
}

.scroll-arrow:hover {
  opacity: 1;
  text-decoration: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


#projects {
  background-color: #f0f4ff;
  border-bottom: none;
  padding: 80px 40px;
  position: relative;
}

#projects::before  {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: #f0f4ff;
  z-index: -1;
}

#posters {
  border-bottom: none;
}

#posters::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: white;
  z-index: -1;
}
.poster {
  width: 100%;
  max-width: 100%;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  margin-top: 15px;
  margin-bottom: 10px;
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}

.poster:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.85);
  z-index: 2000;
  cursor: zoom-out;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
/* Project cards */
.project-card {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 20px 25px;
  margin-bottom: 16px;
  transition: box-shadow .2s ease;
}

.project-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.project-card h4 { margin-bottom: 6px; }

.project-card p,
.project-card a { font-size: 1.4rem; }

/* Skills */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  padding: 5px 14px;
  border-radius: 20px;
  background: #eef2fa;
  color: #2a5caa;
  font-size: 1.3rem;
}

/* Posters */
.poster {
  width: 100%;
  max-width: 100%;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  margin-top: 15px;
  margin-bottom: 10px;
}

hr {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 30px 0;
}

/* Contact */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item strong {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .05rem;
  color: #999;
}

/* Footer */
footer {
  background: white;
  border-top: 1px solid #e0e0e0;
  padding: 20px;
  text-align: center;
}

footer p {
  margin: 0;
  color: #999;
  font-size: 1.3rem;
}

/* Utility */
.hide { display: none; }
.show { display: block; }

/* Contact */
#contact {
  position: relative;
  border-bottom: none;
}

#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: #f0f2f7;
  z-index: -1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

/* Mobile */
@media (max-width: 768px) {
  #header {
    padding: 80px 20px 60px 20px;
    min-height: 80vh;
  }
  .header-inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 25px;
  }
  .header-left h1 {
    font-size: 3.6rem;
    border-left: none;
    padding-left: 0;
    text-align: center;
  }
  .badges {
    justify-content: center;
    padding-left: 0;
  }
  .subtitle {
    padding-left: 0;
    text-align: center;
  }
  .header-links {
    justify-content: center;
    padding-left: 0;
    flex-wrap: wrap;
  }
  .headshot {
    width: 160px;
    height: 160px;
  }
  .main-menu {
    gap: 15px;
    flex-wrap: wrap;
  }
  .content-region {
    padding: 60px 20px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

