/* marecompany.com 홈 전용 스타일 — base.css(그룹 토큰 v2) 위에 얹는다.
   시안 "CompanyWeb"(디자인 리프레시 2026-11-06) · 3라운드 C 값: 세이지 바탕 · 넓은 여백 · 제품 패밀리 격자 · 마린은 CTA·링크에만.
   그룹 화면이라 브랜드는 마린(brand-company). 각 제품 타일만 자기 액센트 타일을 쓴다. 라이트·다크 둘 다.
   테두리 상자는 제품 패밀리 격자 하나만. 마레픽 카테고리는 상자 없이 여백과 채움 판으로 나눈다.
   R7(2026-11-08, taste 리뷰 B): 공지 띠·프로모·체크 줄·회사 소개 사진 제거, 히어로 앱 화면 한 장, 버튼 두 종류(primary·secondary)만. */

/* 헤더 — 메뉴는 워드마크 바로 옆, 버튼은 오른쪽 */
.home header.site { position: sticky; top: 0; z-index: 5; }

/* 히어로 — 첫 화면을 혼자 채운다(다음 섹션이 비치지 않게). dark-surface 판 위 앱 화면 한 장을 읽히는 크기로 */
.home .hero { padding: 72px 0; min-height: calc(100svh - 65px); display: flex; align-items: center; }
.home .hero > .wrap { width: 100%; }
.home .hero h1 { font-size: 56px; line-height: 64px; letter-spacing: -0.025em; }   /* display-xl — 사이트 중 여기만 */
.phone { display: flex; justify-content: center; height: 520px; padding: 48px 24px 0; }
.phone img { width: 260px; height: auto; align-self: flex-start; border-radius: var(--radius-xl) var(--radius-xl) 0 0; border: 6px solid var(--border-strong); border-bottom: 0; }   /* dark-surface 위에서 보이는 기기 테두리 */

/* 제품 패밀리 — 머리선 격자(바다 제품 6칸 3×2, 900 이하 2×3, 640 이하 1열 + termspace 한 줄), 각 칸 자기 액센트 타일 */
.family { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fam { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 28px; color: var(--ink); text-decoration: none; min-height: 176px; }
.fam .wm { font-size: 17px; }
.fam .wm-tile { width: 24px; height: 24px; }
.fam-ko { font-size: 13px; line-height: 20px; color: var(--ink-muted); font-weight: 600; margin-top: 4px; }
.fam-desc { color: var(--ink-muted); flex: 1; }
a.fam { transition: background-color .15s ease-out; }
a.fam:hover { background: var(--bg-subtle); }
a.fam:hover .wm { text-decoration: underline; text-underline-offset: 4px; }
/* 일곱째 칸(termspace) — 바다 제품 밖이라 격자 한 줄을 다 쓴다. 3열·2열 모두 빈 칸이 남지 않게 */
.fam-wide { grid-column: 1 / -1; min-height: 0; }
.fam-wide .fam-desc { max-width: 40em; }

.more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }

/* 일하는 방식 3열 — 상자 없이 여백으로 */
.trio { display: grid; gap: 32px var(--gutter); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trio .ic { width: 28px; height: 28px; color: var(--brand); }
.trio h3 { margin-top: 16px; }
.trio p { margin: 0; color: var(--ink-muted); }

/* 마레픽 — 띠 · 카테고리 격자 */
.home section.lineup { background: var(--bg-subtle); }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; border-radius: var(--radius-lg); background: var(--dark-surface); border: 1px solid var(--dark-surface-edge); color: var(--on-dark); margin-bottom: 24px; }
.band-date { margin: 0 0 4px; font-size: 13px; line-height: 20px; font-weight: 600; color: var(--on-dark-muted); }
.band h3 { margin: 0 0 4px; font-size: 22px; line-height: 30px; }
.band p { margin: 0; color: var(--on-dark-muted); }

.grid6 { display: grid; gap: 32px var(--gutter); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
.tile { display: flex; flex-direction: column; gap: 4px; }
.tile .ic { color: var(--ink); margin-bottom: 12px; }
.tile .overline { margin: 0; }
.tile h3 { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tile p:last-child { margin: 4px 0 0; color: var(--ink-muted); }

/* 연락 */
.home section.closing { border-top: 0; }
.cta-band { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 8px; }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; }
.cta-band .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cta-band .addr { color: var(--ink-muted); }

/* 푸터 열 */
.cols { display: grid; gap: 32px; grid-template-columns: repeat(3, minmax(0, 180px)); margin: 8px 0 40px; }
.cols h2 { margin: 0 0 12px; font: 600 13px/20px var(--font-sans); letter-spacing: 0; color: var(--on-dark-muted); }
.cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; line-height: 24px; }
.home footer.site a { text-decoration: none; }
.home footer.site a:hover { text-decoration: underline; }
.legal { border-top: 1px solid #3E423C; padding-top: 24px; font-size: 13px; line-height: 20px; }

@media (max-width: 900px) {
  .family, .grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .home .hero { padding: 48px 0 40px; min-height: 0; }
  .home .hero h1 { font-size: 32px; line-height: 40px; letter-spacing: -0.02em; }
  .phone { height: 340px; padding: 32px 16px 0; }
  .phone img { width: 200px; border-width: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .family { grid-template-columns: 1fr; }
  .fam { min-height: 0; padding: 24px 20px; }
  .grid6 { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .band { padding: 24px 20px; }
  .band h3 { font-size: 19px; line-height: 26px; }   /* 휴대폰 h2(22)보다 작게 */
  .cta-band .acts { width: 100%; }
  .cols { grid-template-columns: 1fr 1fr; gap: 28px var(--gutter); margin-bottom: 28px; }
}
