/* =========================
   SECTION
========================= */

.section {
  align-items: center;
  background-position: 50%;
  box-sizing: border-box;
  display: flex;
  height: calc(100vh - 100px);
  overflow: hidden;
  padding: 1em;
  position: relative;
  scroll-snap-align: end;
}


/* =========================
   INTRO
========================= */

.intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 20px;
}

.intro h1 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.intro p {
  max-width: 600px;
}


/* =========================
   PORTFOLIO
========================= */

.portfolio {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 20px;
}

.portfolio figure {
  margin-bottom: 40px;
}

.portfolio img {
  width: 100%;
  display: block;
}


/* =========================
   SERVICES
========================= */

.services {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 20px;
}

.services h4 {
  margin-bottom: 10px;
}

.services p {
  margin-bottom: 40px;
}


/* =========================
   PROJECT
========================= */

.project {
  padding: 180px 60px;
}

.project .wp-block-columns {
  align-items: center;
  gap: 100px;
}

.project figure {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.project img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: bottom;

  display: block;
}

/* TEXT COLUMN */

.project .wp-block-column:last-child {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* SUBTITLE */

.project h4 {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);

  margin: 0 0 8px 0;
}

/* TITLE */

.project h2 {
  font-size: clamp(36px, 3vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.04em;

  margin: 0 0 32px 0;
}

/* TEXT */

.project p {
  max-width: 32ch;
  line-height: 1.8;

  margin: 0;
}