@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Nunito:wght@200;300;400&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #201a16;
  font-family: 'Nunito', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.03em;
  line-height: 1.6em;
  color: #1f1f1f;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── SITE WRAPPER ──────────────────────────── */

#siteWrapper {
  background-color: #fff;
  position: relative;
}

/* ─── HEADER ────────────────────────────────── */

#header {
  padding: 0 30px;
  z-index: 1000;
  width: 100%;
  top: 0;
  position: sticky;
  background-color: #201a16;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
}

#siteTitle {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

#siteTitle a { color: inherit; }

#mainNavWrapper nav {
  display: flex;
  align-items: center;
}

#mainNavWrapper nav > div {
  margin-left: 2rem;
}

#mainNavWrapper nav a {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.2s;
}

#mainNavWrapper nav a:hover,
#mainNavWrapper nav .active a {
  color: #9c9999;
}

/* Contact = last nav item as outlined button */
#mainNavWrapper nav > div:last-child a {
  border: 2px solid #fff;
  padding: 7px 14px;
  color: #fff;
  transition: background-color 0.2s, color 0.2s;
}

#mainNavWrapper nav > div:last-child a:hover {
  background-color: #fff;
  color: #181818;
}

/* ─── BANNER (full-bleed hero for about/contact) ── */

.banner-thumbnail-wrapper {
  position: relative;
  width: 100%;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 180px 80px 155px;
  background-color: #201a16;
}

.banner-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.color-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.desc-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

/* "Thoughtful Design" — banner heading */
.desc-wrapper .banner-heading {
  font-family: 'Jost', sans-serif;
  font-size: clamp(3rem, 8vw, 86px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.1em;
  display: block;
}

/* "is our passion" — banner subtext */
.desc-wrapper .banner-subtext {
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 28px);
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.3em;
  display: block;
  margin-top: 0.5rem;
}

/* ─── INDEX SECTION CONTENT (below banner) ─── */

.index-section-content {
  padding: 130px 80px;
  background-color: #fff;
  text-align: center;
}

.index-section-content h1 {
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 32px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.2em;
  color: #1f1f1f;
  max-width: 820px;
  margin: 0 auto;
}

/* section label (e.g. "Partners") */
.index-section-content .section-label {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.3em;
  color: #1f1f1f;
  margin-bottom: 60px;
  display: block;
  text-align: center;
}

/* ─── TEAM CARDS (50/50 side-by-side) ─────── */

.team-card {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  margin-bottom: 2px;
}

.team-card-image {
  width: calc(50% - 1%);
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.team-card-caption {
  width: calc(50% - 1%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10%;
  background-color: #fff;
}

.team-card-caption-inner {
  text-align: left;
}

.team-card-caption h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 50px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.2em;
  color: #1f1f1f;
  margin-bottom: 0.4rem;
}

.team-card-caption p {
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.8em;
  color: #6e6e6e;
}

/* image-right = image on right, text on left → flex-direction: row-reverse */
.team-card.image-right {
  flex-direction: row-reverse;
}

/* ─── HOME HERO (full-bleed banner) ────────── */

.hero-banner {
  min-height: 100vh;
  padding: 120px 80px;
}

.hero-banner .banner-heading {
  font-size: clamp(2.5rem, 7vw, 86px);
  max-width: 860px;
}

.banner-cta {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid #fff;
  padding: 14px 32px;
  transition: background-color 0.2s, color 0.2s;
}

.banner-cta:hover {
  background-color: #fff;
  color: #1f1f1f;
}

/* ─── SERVICES (image above heading + text) ─ */

.service-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  margin-bottom: 1.5rem;
}

/* ─── PROJECT SECTIONS ──────────────────────── */

.project-banner {
  min-height: 55vh;
  padding: 80px;
}

.project-content {
  padding: 80px;
  text-align: center;
  background-color: #fff;
}

.project-content .project-title {
  max-width: 700px;
  margin: 0 auto 1rem;
}

.project-content .project-desc {
  max-width: 680px;
  margin: 0 auto 2rem;
}

.project-content .project-gallery {
  text-align: left;
}

/* ─── SERVICES ──────────────────────────────── */

.section {
  padding: 130px 80px;
  background-color: #fff;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.services-intro {
  text-align: center;
  margin-bottom: 60px;
}

.services-intro h2 {
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.4rem, 3vw, 32px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.2em;
  color: #1f1f1f;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 5rem;
}

.service-item h3 {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.3em;
  margin-bottom: 1rem;
  color: #1f1f1f;
}

.service-item p {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6em;
  letter-spacing: 0.03em;
  color: #1f1f1f;
}

/* ─── DIVIDER ───────────────────────────────── */

.divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 0 80px;
}

/* ─── PROJECTS ──────────────────────────────── */

#work {
  padding: 130px 80px;
  background-color: #fff;
}

.projects-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.project {
  margin-bottom: 7rem;
}

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

.project-meta {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #9c9999;
  margin-bottom: 0.5rem;
}

.project-title {
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 32px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.2em;
  margin-bottom: 1rem;
  color: #1f1f1f;
}

.project-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6em;
  letter-spacing: 0.03em;
  color: #1f1f1f;
  max-width: 680px;
  margin-bottom: 1.8rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.project-gallery .gallery-lead {
  grid-column: 1 / -1;
}

.project-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-gallery .gallery-lead img {
  height: 560px;
}

.coming-soon {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #bbb;
  border: 1px solid #ddd;
  padding: 0.75rem 1.5rem;
}

/* ─── CONTACT PAGE ──────────────────────────── */

.contact-body {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 130px 80px;
  background-color: #fff;
}

.contact-body h1 {
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.6rem, 3vw, 42px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.2em;
  margin-bottom: 1.5rem;
  color: #1f1f1f;
}

.contact-body p {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6em;
  letter-spacing: 0.03em;
  color: #1f1f1f;
  margin-bottom: 2.2rem;
}

.contact-email {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1f1f1f;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: opacity 0.2s;
}

.contact-email:hover { opacity: 0.5; }

/* ─── FOOTER ────────────────────────────────── */

#footer {
  background-color: #201a16;
  padding: 40px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#siteInfo {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

#siteInfo a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

#siteInfo a:hover { color: #9c9999; }

.back-to-top-nav {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.back-to-top a {
  color: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.back-to-top a:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

/* ─── RESPONSIVE ────────────────────────────── */

@media (max-width: 1000px) {
  .section, #work, .index-section-content, .contact-body, .project-content, #footer {
    padding-left: 40px;
    padding-right: 40px;
  }

  .banner-thumbnail-wrapper {
    padding: 140px 40px 120px;
  }

  .hero-banner {
    padding: 100px 40px;
  }

  .project-banner {
    padding: 60px 40px;
  }

  .team-card-image img {
    max-height: 480px;
  }

  .service-image {
    height: 300px;
  }
}

@media (max-width: 720px) {
  .section, #work, .project-content {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .index-section-content, .contact-body {
    padding: 60px 24px;
  }

  #footer {
    padding: 40px 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #siteInfo { align-items: center; }

  .banner-thumbnail-wrapper {
    padding: 100px 24px 80px;
    min-height: 60vh;
  }

  .hero-banner {
    min-height: 80vh;
    padding: 80px 24px;
  }

  .project-banner {
    min-height: 45vh;
    padding: 60px 24px;
  }

  .desc-wrapper .banner-heading {
    font-size: clamp(2.2rem, 10vw, 60px);
  }

  .hero-banner .banner-heading {
    font-size: clamp(2rem, 9vw, 60px);
  }

  .desc-wrapper .banner-subtext {
    font-size: clamp(0.9rem, 4vw, 20px);
    letter-spacing: 3px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-image {
    height: 260px;
  }

  .project-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .project-gallery .gallery-lead img {
    height: 300px;
  }

  /* Stack team cards vertically on mobile */
  .team-card,
  .team-card.image-right {
    flex-direction: column;
  }

  .team-card-image,
  .team-card-caption {
    width: 100%;
  }

  .team-card-image img {
    max-height: 420px;
  }

  .team-card-caption {
    padding: 2rem 1.5rem;
  }

  .team-card-caption h2 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .team-card-caption p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery .gallery-lead img,
  .project-gallery img {
    height: 240px;
  }

  #header { padding: 0 20px; }

  #mainNavWrapper nav > div { margin-left: 1.2rem; }

  #mainNavWrapper nav > div:last-child a { padding: 5px 10px; }
}
