
* { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Hero ── */
.hero {
      position: sticky;
      top: 0;
      width: 100%;
      height: 100vh;
      min-height: 500px;
      background: #1a1a1a;
      overflow: hidden;
      display: flex;
      align-items: center;
    }
 
    .hero-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 40% center;
      filter: brightness(0.72);
    }
 
    .hero-content {
      position: relative;
      z-index: 2;
      padding: 0 5vw;
      margin-left: 3vw;
    }
 
    .hero-name {
      font-family: Georgia, 'Times New Roman', serif;
      font-size: clamp(36px, 6vw, 64px);
      font-weight: 400;
      color: #fff;
      line-height: 1.15;
      letter-spacing: -0.01em;
    }
 
    .hero-name .subtitle {
      display: block;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      font-size: clamp(14px, 1.6vw, 20px);
      font-weight: 400;
      color: rgba(255, 255, 255, 0.65);
      letter-spacing: 0.01em;
      margin-top: 10px;
    }
 
    .btn-readmore {
      position: absolute;
      right: 5vw;
      top: 50%;
      transform: translateY(-50%);
      z-index: 2;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #111;
      border: 1px solid #111;
      color: #fff;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 13px 24px;
      cursor: pointer;
      transition: background 0.22s;
      border-radius: 999px;
    }
 
    .btn-readmore:hover { background: #333; border-color: #333; }
    .btn-readmore:hover .arrow-svg { transform: translateY(2px); }
 
    .arrow-svg {
      width: 14px;
      height: 14px;
      stroke: #fff;
      transition: transform 0.22s;
      flex-shrink: 0;
    }

/* ── Shared section styles ── */
section {
  position: relative;
  z-index: 3;
  padding: 90px 5vw;
}

.section-white  { background: #fff; }
.section-offwhite { background: #f5f5f3; }

.section-inner { max-width: 760px; }
.section-inner-wide { max-width: 1100px; }

.section-label {
  font-family: -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 20px;
}

.section-heading {
  font-family: Georgia, serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 400;
  color: #111;
  line-height: 1.2;
  margin-bottom: 32px;
}

.section-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── Timeline ── */
.timeline { list-style: none; margin-top: 8px; }

.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0 28px;
  padding: 28px 0;
  border-top: 1px solid #e5e5e5;
}

.timeline-item:last-child { border-bottom: 1px solid #e5e5e5; }

.timeline-date {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: #999;
  padding-top: 3px;
}

.timeline-title {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: #111;
  margin-bottom: 4px;
}

.timeline-subtitle {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.timeline-desc {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* ── Projects grid ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

@media (max-width: 900px) {
      .projects-grid { grid-template-columns: repeat(2, 1fr); }
    }
 
    @media (max-width: 580px) {
      .projects-grid { grid-template-columns: 1fr; }
      .nav-links { display: none; }
      .timeline-item { grid-template-columns: 1fr; gap: 4px 0; }
      .timeline-date { padding-top: 0; margin-bottom: 4px; }
 
      .hero {
        flex-direction: column;
        justify-content: center;    /* now centres content vertically */
        align-items: flex-start;
        padding-bottom: 0;          /* removed bottom padding */
        padding-top: 56px;          /* offset for the navbar height */
      }
 
      .hero-img {
        object-position: 50% 20%;
      }
 
      .hero-content {
        margin-left: 0;
        padding: 0 6vw;
      }
 
      .btn-readmore {
        position: static;
        transform: none;
        margin-top: 24px;
        margin-left: 6vw;
      }
    }

.project-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s;
}

.project-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); }

.project-tag {
  font-family: -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
}

.project-title {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: #111;
}

.project-desc {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  flex: 1;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  letter-spacing: 0.05em;
  margin-top: 6px;
  align-self: flex-start;
}

.project-link:hover { opacity: 0.6; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-type {
  font-family: -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
}

.contact-value {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  color: #111;
  text-decoration: none;
}

.contact-value:hover { opacity: 0.6; }

footer {
  position: relative;
  z-index: 3;
  background: #111;
  padding: 28px 5vw;
  font-family: -apple-system, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  letter-spacing: 0.05em;
}