/* Brand story: long scrolling page (sections 1-7 of the brand deck) */
.bs,
.bs * {
  font-family: 'Roboto', 'Noto Sans KR', sans-serif;
}

.bs {
  word-break: keep-all; /* 한글은 띄어쓰기에서만 줄이 바뀌게 (글자 중간에서 끊기지 않게) */
  /* 구역과 구역 사이의 여백: 스크롤할 때 한 구역씩 천천히 지나가도록 넉넉하게 */
  --bs-gap: clamp(120px, 14vw, 220px);
  color: #111;
  overflow-x: clip;
}

.bs :where(p, h1, h2) {
  margin: 0;
}

/* Korean lines: a little heavier than the English so thin strokes stay readable */
.bs-ko {
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* 1. hero */
.bs-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--bs-gap) var(--gutter);
  text-align: center;
}

.bs-hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(1rem, 2.3vw, 1.7rem);
  font-weight: 200;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.bs-hero__photo {
  width: min(178px, 50vw);
  height: auto;
  margin: 0.6rem 0 0.7rem;
}

.bs-hero__ko {
  margin-top: 1.4rem;
  font-size: 0.85rem;
}

/* 2. full-width photo */
.bs-full {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 3. every color tells of a day */
.bs-color {
  /* 3번째 구역과 4번째(사진 두 장) 사이는 다른 곳보다 더 넓게 */
  padding: var(--bs-gap) var(--gutter) calc(var(--bs-gap) * 1.7);
  text-align: center;
}

.bs-heading {
  font-size: clamp(1.25rem, 2.6vw, 2.1rem);
  font-weight: 300;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bs-heading--wide {
  font-weight: 200;
  letter-spacing: 0.3em;
}

.bs-sub {
  margin-top: 0.7rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.bs-lines {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 720px;
  margin: 110px auto 100px;
}

.bs-line--right {
  text-align: right;
}

.bs-line--left {
  text-align: left;
}

.bs-line__label {
  padding-bottom: 6px;
  border-bottom: 1px solid #bdbdbd;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bs-line__en {
  margin-top: 12px;
  font-size: clamp(0.95rem, 1.7vw, 1.3rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.bs-line__ko {
  margin-top: 6px;
  font-size: 0.82rem;
}

.bs-btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border: 1px solid #555;
  color: #111;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.bs-btn:hover {
  background: #111;
  color: #fff;
}

/* 4. two photos + line (left aligned, photos about 55% wide) */
.bs-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 55vw;
  margin-left: 0;
}

.bs-duo img {
  display: block;
  width: 100%;
  aspect-ratio: 670 / 532;
  object-fit: cover;
}

.bs-inspired {
  padding: 30px var(--gutter) var(--bs-gap);
  text-align: left;
}

.bs-inspired__en {
  margin-bottom: 0.5rem;
  font-size: clamp(0.95rem, 1.45vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.03em;
}

.bs-inspired .bs-ko {
  font-size: 1.05rem;
}

/* 5. slowly, by hand (text on the right, photos flush to the right edge with no gaps) */
.bs-slowly {
  padding: var(--bs-gap) 0;
  text-align: right;
}

.bs-slowly .bs-heading,
.bs-slowly__en,
.bs-slowly__ko {
  padding-right: var(--gutter);
}

.bs-slowly .bs-heading--wide {
  margin-top: 2.2rem;
  font-size: clamp(1.2rem, 2.1vw, 1.8rem);
}

.bs-slowly__en {
  margin-top: 3.4rem;
  font-size: clamp(0.9rem, 1.35vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.bs-slowly__ko {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.bs-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 82.6vw;
  margin: 0 0 0 auto;
}

.bs-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* 6. no two alike (smaller photo on the left, text next to it, bottoms aligned) */
.bs-alike {
  display: grid;
  grid-template-columns: 36.8vw minmax(0, 1fr);
  align-items: end;
  column-gap: 26px;
  padding: calc(var(--bs-gap) * 0.4) var(--gutter) var(--bs-gap) 4.7vw;
}

.bs-alike__photo {
  display: block;
  width: 100%;
  aspect-ratio: 611 / 670;
  object-fit: cover;
}

.bs-alike__title {
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bs-alike__en {
  margin-top: 2rem;
  max-width: 28em;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.bs-alike__ko {
  margin-top: 1.4rem;
  max-width: 42em;
  font-size: 0.85rem;
  line-height: 1.8;
}

.bs-tag {
  display: inline-block;
  min-width: 175px;
  margin-top: 2rem;
  padding: 14px 20px;
  border: 1px solid #777;
}

.bs-tag p {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.9;
  text-transform: uppercase;
}

/* 7. closing: the line sits in the middle of the screen, the logo a bit below it */
.bs-end {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 0 var(--gutter);
  text-align: center;
}

.bs-end__text {
  font-size: 1.05rem;
}

.bs-end__logo {
  position: absolute;
  left: 50%;
  top: calc(50% + 181px);
  width: 140px;
  height: auto;
  transform: translate(-50%, -50%);
}

/* phones: the same layout as the web, scaled down.
   Edges: text and photos start at the left gutter; right-aligned text ends at the right gutter. */
@media (max-width: 768px) {
  .bs {
    --bs-gap: 72px;
  }

  .bs-ko {
    letter-spacing: 0.02em;
  }

  /* 1 */
  .bs-hero__title {
    font-size: clamp(0.9rem, 3.8vw, 1.2rem);
    letter-spacing: 0.1em;
  }

  .bs-hero__photo {
    width: 32vw;
    margin: 0.5rem 0 0.6rem;
  }

  .bs-hero__ko {
    margin-top: 0.9rem;
    font-size: 0.7rem;
  }

  /* 3 */
  .bs-heading {
    font-size: 0.86rem;
    letter-spacing: 0.1em;
  }

  .bs-sub {
    font-size: 0.54rem;
  }

  .bs-lines {
    gap: 36px;
    margin: 52px auto 48px;
  }

  .bs-line__label {
    font-size: 0.54rem;
  }

  .bs-line__en {
    font-size: 0.74rem;
    letter-spacing: 0.04em;
  }

  .bs-line__ko {
    font-size: 0.66rem;
  }

  .bs-btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.64rem;
  }

  /* 줄이 바뀔 때 마지막 줄에 단어 하나만 남지 않게 고르게 나눈다 */
  .bs-inspired__en,
  .bs-slowly__en,
  .bs-line__en,
  .bs-alike__en,
  .bs-ko {
    text-wrap: balance;
  }

  /* 4 */
  .bs-duo {
    width: 66vw;
  }

  .bs-inspired {
    padding-top: 18px;
  }

  .bs-inspired__en {
    font-size: 0.72rem;
  }

  .bs-inspired .bs-ko {
    font-size: 0.68rem;
  }

  /* 5 */
  .bs-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 90vw;
  }

  .bs-slowly .bs-heading--wide {
    margin-top: 1.2rem;
    font-size: 0.86rem;
    letter-spacing: 0.2em;
  }

  .bs-slowly__en {
    margin-top: 2rem;
    font-size: 0.68rem;
  }

  .bs-slowly__ko {
    margin-top: 0.6rem;
    font-size: 0.68rem;
  }

  /* 6: photo on the left (same left edge as the other text), text next to it; both columns end at the same line */
  .bs-alike {
    grid-template-columns: 38vw minmax(0, 1fr);
    align-items: stretch;
    column-gap: 14px;
    padding: calc(var(--bs-gap) * 0.4) var(--gutter) var(--bs-gap);
  }

  .bs-alike__photo {
    height: 100%;
    aspect-ratio: auto;
  }

  .bs-alike__copy {
    align-self: end;
  }

  .bs-alike__title {
    font-size: 0.95rem;
  }

  .bs-alike__en {
    margin-top: 0.9rem;
    font-size: 0.64rem;
    line-height: 1.6;
  }

  .bs-alike__ko {
    margin-top: 0.7rem;
    font-size: 0.58rem;
    line-height: 1.7;
  }

  .bs-tag {
    min-width: 0;
    margin-top: 0.9rem;
    padding: 7px 10px;
  }

  .bs-tag p {
    font-size: 0.52rem;
  }

  /* 7 */
  .bs-end__text {
    font-size: 0.82rem;
  }

  .bs-end__logo {
    top: calc(50% + 90px);
    width: 90px;
  }
}
