/* ⑦ 브랜드파워 — 흰 배경 (시안 y 6507~7548, 높이 1041)
   장갑 낀 손 고기 그림은 위 구역(⑥ 사진 띠) 아래쪽으로 135px 걸쳐 올라간다 → 세로는 열어 두고 z-index로 위에 그린다.
   어두운 사진 판 안의 위치·글자 크기는 판 폭(1441px) 기준 비율(--u)로 잡는다. */
.s07 {
  --s07-green: #00562f;
  --s07-gold-hi: #efe0a2;
  --s07-gold: #d9c67a;
  --s07-gold-lo: #bf9f52;
  --s07-sub: #b2afaa;
  background: var(--c-white);
  color: #000;
  padding: 119px 0 15px;
  overflow: clip visible;
  z-index: 2;
}

/* 장갑 손 고기(오른쪽 위) + 연기 */
.s07-glove { position: absolute; z-index: 3; top: -135px; left: max(calc(50% + 340px), calc(100% - 620px)); width: 620px; pointer-events: none; }
.s07-glove img { width: 100%; height: auto; }
.s07-smoke { position: absolute; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.62) 0%, rgba(255,255,255,.22) 42%, rgba(255,255,255,0) 70%); filter: blur(10px); opacity: 0; animation: s07-smoke 6.5s ease-in-out infinite; }
.s07-smoke--1 { left: 330px; top: 130px; }
.s07-smoke--2 { left: 450px; top: 70px; animation-delay: 1.6s; width: 120px; height: 120px; }
.s07-smoke--3 { left: 250px; top: 40px; animation-delay: 3.2s; width: 110px; height: 110px; }
.s07-smoke--4 { left: 520px; top: 190px; animation-delay: 4.6s; }
@keyframes s07-smoke {
  0% { opacity: 0; transform: translate(0, 30px) scale(.7); }
  30% { opacity: .75; }
  100% { opacity: 0; transform: translate(-30px, -120px) scale(1.7); }
}

/* 제목 */
.s07-head { position: relative; z-index: 2; text-align: center; }
.s07-brand {
  display: flex; justify-content: space-between; align-items: center;
  width: 321px; height: 61px; margin: 0 auto; padding: 0 1px 0 0;
  border-top: 1px solid var(--s07-green); border-bottom: 1px solid var(--s07-green);
  color: var(--s07-green); font-size: 21px; line-height: 1;
}
.s07-title { margin-top: 24px; font-size: 62px; line-height: 72px; letter-spacing: -0.035em; }
.s07-t1 { color: #000; }
.s07-t2 { color: var(--s07-green); }

/* 어두운 사진 판 */
.s07-panel {
  --u: calc(100cqw / 1441);
  position: relative; z-index: 1;
  container-type: inline-size;
  width: min(1441px, calc(100% - 40px));
  aspect-ratio: 1441 / 613;
  margin: 65px auto 0;
  border-radius: 40px;
  overflow: hidden;
  background: #1d150e url(../assets/s07/panel.jpg) center / cover no-repeat;
  color: var(--c-white);
}
.s07-txt { position: absolute; left: 0; right: 0; top: calc(81 * var(--u)); text-align: center; letter-spacing: -0.045em; }
.s07-sub { font-size: max(13px, calc(18 * var(--u))); line-height: calc(26 * var(--u)); color: var(--s07-sub); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: calc(4 * var(--u)); }
.s07-name { margin-top: calc(36 * var(--u)); font-size: max(15px, calc(23 * var(--u))); line-height: calc(30 * var(--u)); font-weight: 900; }
.s07-full {
  margin-top: calc(5 * var(--u));
  font-size: calc(73 * var(--u)); line-height: calc(80 * var(--u)); letter-spacing: -0.05em;
  background: linear-gradient(180deg, var(--s07-gold-hi) 0%, var(--s07-gold) 48%, var(--s07-gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.45));
}
.s07-desc { margin-top: calc(12 * var(--u)); font-size: max(13px, calc(18 * var(--u))); line-height: calc(26 * var(--u)); }

/* 아침·점심·저녁·새벽 원형 — 화면에 들어오면 하나씩 톡톡 */
.s07-times { list-style: none; margin: 0; padding: 0; }
.s07-panel .s07-circ {
  position: absolute; top: calc(305 * var(--u));
  width: calc(154 * var(--u)); height: calc(154 * var(--u));
  display: grid; place-items: center;
  border-radius: 50%; background: var(--c-white); color: #000;
  font-size: calc(46 * var(--u)); line-height: 1; letter-spacing: -0.05em;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.s07-circ:nth-child(1) { left: calc(99 * var(--u)); }
.s07-circ:nth-child(2) { left: calc(274 * var(--u)); }
.s07-circ:nth-child(3) { left: calc(1014 * var(--u)); }
.s07-circ:nth-child(4) { left: calc(1187 * var(--u)); }
.s07-panel .s07-circ--on { background: #005633; color: var(--s07-gold); }
.js .s07-circ.in { animation: s07-pop .55s cubic-bezier(.3,1.6,.5,1) both; }
.js .s07-circ.in:nth-child(2) { animation-delay: .22s; }
.js .s07-circ.in:nth-child(3) { animation-delay: .44s; }
.js .s07-circ.in:nth-child(4) { animation-delay: .66s; }
@keyframes s07-pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }

/* 휴대폰: 한 줄로 쌓기 */
@media (max-width: 768px) {
  .s07 { padding: 150px 0 36px; }
  .s07-glove { width: 132px; top: -50px; left: auto; right: -6px; }
  .s07-smoke { width: 48px !important; height: 48px !important; filter: blur(5px); }
  .s07-smoke--1 { left: 70px; top: 28px; }
  .s07-smoke--2 { left: 96px; top: 14px; }
  .s07-smoke--3 { left: 52px; top: 8px; }
  .s07-smoke--4 { left: 110px; top: 40px; }
  .s07-brand { width: 236px; height: 46px; font-size: 16px; }
  .s07-title { margin-top: 18px; font-size: clamp(28px, 8.4vw, 62px); line-height: 1.22; }
  .s07-panel {
    aspect-ratio: auto; width: calc(100% - 32px); margin-top: 30px; border-radius: 24px;
    padding: 30px 12px 80%;
    /* 사진은 아래쪽에 뚝배기만 보이게(원형 지운 자리 피해서 가운데 40%만), 위는 어둡게 이어 붙임 */
    background:
      linear-gradient(180deg, #1d150e 0, #1d150e calc(100% - 105.5vw + 20px), rgba(29,21,14,0) calc(100% - 105.5vw + 140px)),
      url(../assets/s07/panel.jpg) 50% 100% / 248% auto no-repeat,
      #1d150e;
  }
  .s07-txt { position: static; }
  .s07-sub { font-size: 14px; line-height: 22px; text-underline-offset: 3px; }
  .s07-name { margin-top: 14px; font-size: 18px; line-height: 26px; }
  .s07-full { margin-top: 2px; font-size: clamp(40px, 12vw, 64px); line-height: 1.15; }
  .s07-desc { margin-top: 8px; font-size: 15px; line-height: 23px; }
  .s07-times { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
  .s07-panel .s07-circ { position: static; width: 72px; height: 72px; font-size: 21px; }
}
