/* Scandimom Home — A editorial · B shoppable · C atelier 통합 */
.scandi-home {
  --sm-bg: #f6f3ee;
  --sm-paper: #fffdf9;
  --sm-ink: #2b2723;
  --sm-mute: #7a7268;
  --sm-line: #e4ddd4;
  --sm-accent: #8a7355;
}

/* —— util bar —— */
.h-util {
  background: #2b2723;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  letter-spacing: -0.01em;
}

.h-util__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  gap: 16px;
}

.h-util a {
  color: #efe8de !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.scandi-home .scandi-header {
  position: absolute;
  top: 36px;
}

.scandi-home .scandi-header.is-fixed { top: 0; }

/* —— hero —— */
.h-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.h-hero__image {
  position: absolute;
  inset: 0;
  background: #cfc8be center / cover no-repeat;
  transform: scale(1.04);
}

.h-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,12,0.10) 0%, rgba(20,16,12,0.34) 48%, rgba(20,16,12,0.86) 100%),
    linear-gradient(90deg, rgba(20,16,12,0.58) 0%, rgba(20,16,12,0.22) 42%, rgba(20,16,12,0) 70%);
}

.h-hero__copy {
  position: relative;
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto 88px;
  text-shadow: 0 6px 26px rgba(20, 16, 12, 0.4);
}

.h-hero h1 {
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  max-width: 12em;
}

.h-hero p {
  max-width: 34em;
  margin: 20px 0 32px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
}

/* —— manifesto —— */
.h-manifesto {
  padding: 120px 0 100px;
  text-align: center;
}

.h-manifesto h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.03em;
  max-width: 14em;
  margin: 0 auto 24px;
}

.h-manifesto p {
  max-width: 42em;
  margin: 0 auto;
  color: var(--sm-mute);
  line-height: 1.9;
  font-size: 15px;
}

/* —— categories —— */
.h-cats { padding: 0 0 20px; }

.h-cats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.h-cat {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 22px;
  color: #fff !important;
  text-decoration: none !important;
  overflow: hidden;
}

.h-cat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.h-cat:hover img { transform: scale(1.05); }

.h-cat:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20,16,12,0.7));
}

.h-cat span,
.h-cat strong {
  position: relative;
  z-index: 1;
  display: block;
}

.h-cat span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.85;
}

.h-cat strong {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* —— editorial splits —— */
.h-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  background: var(--sm-paper);
}

.h-split--reverse .h-split__media { order: 2; }

.h-split__media {
  background: #ddd6cb center / cover no-repeat;
  min-height: 420px;
}

.h-split__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 8vw;
}

.h-split__copy h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.h-split__copy p {
  color: var(--sm-mute);
  line-height: 1.85;
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 36em;
}

/* —— product pick —— */
.h-pick { padding: 100px 0 80px; }

.h-pick__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 20px;
}

.h-pick h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
}

.h-pick__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 18px;
}

/* —— quote —— */
.h-quote {
  min-height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: #2b2723 center / cover no-repeat;
  position: relative;
}

.h-quote:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,16,12,0.48);
}

.h-quote__inner {
  position: relative;
  max-width: 640px;
  padding: 0 24px;
}

.h-quote h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

/* —— service —— */
.h-service {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #2b2723;
  color: #f4efe6;
}

.h-service a {
  display: block;
  padding: 48px 32px;
  text-decoration: none !important;
  color: inherit !important;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s ease;
}

.h-service a:last-child { border-right: 0; }
.h-service a:hover { background: rgba(255,255,255,0.04); }

.h-service em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 14px;
}

.h-service strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.h-service p {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.72;
  margin: 0;
}

/* —— campaign —— */
.h-promo {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 520px;
}

.h-promo__media {
  background: #d9d2c8 center / cover no-repeat;
  min-height: 360px;
}

.h-promo__copy {
  background: #3f5a4a;
  color: #f4efe6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}

.h-promo__copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 10px 0 16px;
}

.h-promo__copy p {
  margin-bottom: 28px;
  line-height: 1.8;
  opacity: 0.88;
  font-size: 15px;
  max-width: 32em;
}

/* —— reviews —— */
.h-reviews { padding: 100px 0 80px; }

.h-reviews h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 36px;
}

.h-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.h-review {
  background: var(--sm-paper);
  border: 1px solid var(--sm-line);
  padding: 32px 28px;
}

.h-review__stars {
  color: var(--sm-accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.h-review p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--sm-ink);
  margin: 0 0 20px;
}

.h-review b {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--sm-mute);
}

/* —— ugc —— */
.h-ugc { padding: 40px 0 100px; }

.h-ugc h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}

.h-ugc__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.h-ugc__grid a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  background: #ece7df;
}

.h-ugc__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.h-ugc__grid a:hover img { transform: scale(1.06); }

/* —— responsive —— */
@media (max-width: 991px) {
  .h-util__bar {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
    gap: 4px;
  }

  .scandi-home .scandi-header { top: 64px; }

  .h-hero__copy {
    width: calc(100% - 40px);
    margin-bottom: 56px;
  }

  .h-cats__grid { grid-template-columns: 1fr 1fr; }
  .h-split { grid-template-columns: 1fr; min-height: 0; }
  .h-split--reverse .h-split__media { order: 0; }
  .h-split__media { min-height: 360px; }
  .h-split__copy { padding: 48px 28px; }
  .h-pick__grid { grid-template-columns: 1fr 1fr; }
  .h-service { grid-template-columns: 1fr 1fr; }
  .h-service a { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .h-promo { grid-template-columns: 1fr; }
  .h-promo__copy { padding: 48px 28px; }
  .h-reviews__grid { grid-template-columns: 1fr; }
  .h-ugc__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .h-cats__grid { grid-template-columns: 1fr; }
  .h-cat { min-height: 220px; }
  .h-pick__head { flex-direction: column; align-items: flex-start; }
  .h-service { grid-template-columns: 1fr; }
  .h-ugc__grid { grid-template-columns: repeat(2, 1fr); }
}
